Function at 0x1003cf00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100457e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x10050040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100508f0]
test eax, eax
je 0x1003cf4f
mov ecx, dword [eax + 0x78]
jmp 0x1003cf51
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x1003cf6c
test eax, eax
je 0x1003cf6c
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1003cf6c
cmp dword [eax], 0
je 0x1003cf6c
call fcn.100278b0
call fcn.10028290
call fcn.10007730
push 0x20
mov edx, 0x10050929
mov ecx, 0x1004cce8
call fcn.1000d560
mov eax, dword [0x100508f0]
add esp, 4
cmp dword [0x10050934], 1
movaps xmm0, xmmword [0x1004db10]
mov word [eax + 0x94], 0x101
movups xmmword [eax + 0x39c0], xmm0
mov dword [eax + 0x37dc], 0x40a9999a
movaps xmm0, xmmword [0x1004dc80]
movups xmmword [eax + 0x3a80], xmm0
mov dword [eax + 0x37a8], 0x40133333
mov dword [eax + 0x37b8], 0x3f000000
mov dword [eax + 0x37bc], 0x3f000000
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [ebp - 0x2bc], eax
jne 0x1003d0b4
push 0x24
call eax
mov esi, dword [0x100508f0]
test al, 1
je 0x1003d056
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
push 0
mov dword [ebp - 0x2a0], 0x42480000
mov dword [ebp - 0x29c], 0x42480000
call fcn.10010340
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
add esp, 4
mov dword [ebp - 0x2a0], 0x43960000
mov dword [ebp - 0x29c], 0x43960000
push 0
call fcn.100104a0
add esp, 4
call fcn.100102d0
mov cl, byte [0x10050929]
test al, al
je 0x1003d06a
cmp cl, 1
je 0x1003d081
cmp dword [esi + 0x3e3c], 0
jne 0x1003d07c
cmp dword [esi + 0x3e40], 0
je 0x1003d08f
cmp cl, 1
jne 0x1003d08f
mov byte [0x10050930], 1
mov byte [0x10050928], 1
cmp dword [esi + 0x3e3c], 0
jne 0x1003d0b4
cmp dword [esi + 0x3e40], 0
jne 0x1003d0b4
test al, al
jne 0x1003d0b4
cmp cl, 1
jne 0x1003d0b4
mov byte [0x10050930], al
mov byte [0x10050928], al
push 0
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
mov ecx, str.Macro
mov dword [ebp - 0x29c], 0
call fcn.1002b8b0
mov dl, byte [0x10050964]
add esp, 4
test al, al
je 0x1003d10f
cmp dword [0x100509cc], 0
je 0x1003d10f
mov eax, dword [0x10050ab8]
test dl, dl
jne 0x1003d105
mov byte [0x10050a4c], 1
mov byte [eax], 1
jmp 0x1003d10f
mov byte [0x10050a4c], 0
mov byte [eax], 0
mov esi, dword [0x100508f0]
mov edi, dword [esi + 0x3e18]
cmp byte [edi + 0x93], 0
jne 0x1003d177
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edi + 0xdc]
movss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x108]
mov dword [edi + 0xfc], eax
mov eax, dword [edi + 0x110]
mov dword [edi + 0x100], ecx
mov dword [edi + 0x10c], eax
mov byte [edi + 0x114], 1
cmp dl, 1
jne 0x1003d230
mov al, byte [0x1004ccfc]
movq xmm0, qword [str.ON]
push 0x77
mov byte [ebp - 0x110], al
lea eax, [ebp - 0x10f]
push 0
push eax
movq qword [ebp - 0x118], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esi + 0x3e18]
add esp, 0xc
cmp byte [edx + 0x93], 0
jne 0x1003d210
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
lea eax, [ebp - 0x118]
push eax
push 0x10047f5c
call fcn.1002af10
mov dl, byte [0x10050964]
add esp, 8
mov esi, dword [0x100508f0]
test dl, dl
jne 0x1003d2e8
mov al, byte [0x1004cd08]
movq xmm0, qword [str.OFF]
push 0x77
mov byte [ebp - 0x190], al
lea eax, [ebp - 0x18f]
push 0
push eax
movq qword [ebp - 0x198], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esi + 0x3e18]
add esp, 0xc
cmp byte [edx + 0x93], 0
jne 0x1003d2c8
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
lea eax, [ebp - 0x198]
push eax
push 0x10047f5c
call fcn.1002af10
mov dl, byte [0x10050964]
add esp, 8
mov esi, dword [0x100508f0]
cmp dl, 3
jne 0x1003d3a1
mov al, byte [0x1004cd14]
movq xmm0, qword [str.MovingON]
push 0x77
mov byte [ebp - 0x210], al
lea eax, [ebp - 0x20f]
push 0
push eax
movq qword [ebp - 0x218], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esi + 0x3e18]
add esp, 0xc
cmp byte [edx + 0x93], 0
jne 0x1003d381
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
lea eax, [ebp - 0x218]
push eax
push 0x10047f5c
call fcn.1002af10
mov dl, byte [0x10050964]
add esp, 8
mov esi, dword [0x100508f0]
cmp dl, 2
jne 0x1003d454
mov al, byte [0x1004cd20]
movq xmm0, qword [0x1004cd18]
push 0x77
mov byte [ebp - 0x290], al
lea eax, [ebp - 0x28f]
push 0
push eax
movq qword [ebp - 0x298], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esi + 0x3e18]
add esp, 0xc
cmp byte [edx + 0x93], 0
jne 0x1003d43a
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
lea eax, [ebp - 0x298]
push eax
push 0x10047f5c
call fcn.1002af10
mov esi, dword [0x100508f0]
add esp, 8
mov edx, dword [esi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003d4b6
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100509bc
mov ecx, 0x1004cd24
call fcn.1002ce90
mov edi, dword [0x100508f0]
mov edx, dword [edi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003d52d
movss xmm1, dword [edi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0xa
push 6
push 0x10050418
push ecx
mov dword [esi], 0x42c80000
mov edx, 0x100503b0
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, 0x1004c72c
call fcn.1002e0e0
mov ecx, dword [0x100508f0]
add esp, 0x10
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov ecx, str.AutoResu
mov edx, 0x100503ab
call fcn.1002ce90
mov edi, dword [0x100508f0]
mov edx, dword [edi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003d61d
movss xmm1, dword [edi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0x20000
push str._.0f
push 0
push 0
mov dword [esi], 0x41f00000
mov edx, 9
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.ResetResuTimer
push 0x10050398
call fcn.1002f6c0
movsd xmm0, qword [0x10050398]
add esp, 0x14
addsd xmm0, qword [0x1004d918]
mov ecx, dword [0x100508f0]
push 0
push 9
movsd qword [0x10050d58], xmm0
mov eax, dword [ecx + 0x3e18]
push 0x100503cc
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
push ecx
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov ecx, str.PetSkill_A_
mov edx, 0x100503f0
call fcn.1002e0e0
add esp, 0x10
test al, al
je 0x1003d85e
mov eax, dword [0x100503f0]
test eax, eax
jne 0x1003d6ee
mov byte [0x10050a70], al
jmp 0x1003d82d
cmp eax, 1
jne 0x1003d704
mov byte [0x100509c4], al
mov byte [0x10050a70], 0
jmp 0x1003d834
cmp eax, 2
jne 0x1003d723
mov byte [0x100509c4], 0
mov byte [0x10050998], 1
mov byte [0x10050a70], 0
jmp 0x1003d83b
cmp eax, 3
jne 0x1003d749
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 1
mov byte [0x10050a70], 0
jmp 0x1003d842
cmp eax, 4
jne 0x1003d776
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 0
mov byte [0x10050980], 1
mov byte [0x10050a70], 0
jmp 0x1003d849
cmp eax, 5
jne 0x1003d7aa
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 0
mov byte [0x10050980], 0
mov byte [0x10050a08], 1
mov byte [0x10050a70], 0
jmp 0x1003d850
cmp eax, 6
jne 0x1003d7e2
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 0
mov byte [0x10050980], 0
mov byte [0x10050a08], 0
mov byte [0x10050974], 1
mov byte [0x10050a70], 0
jmp 0x1003d857
cmp eax, 7
jne 0x1003d821
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 0
mov byte [0x10050980], 0
mov byte [0x10050a08], 0
mov byte [0x10050974], 0
mov byte [0x100503ac], 1
mov byte [0x10050a70], 0
jmp 0x1003d85e
cmp eax, 8
jne 0x1003d85e
mov byte [0x10050a70], 1
mov byte [0x100509c4], 0
mov byte [0x10050998], 0
mov byte [0x100509f8], 0
mov byte [0x10050980], 0
mov byte [0x10050a08], 0
mov byte [0x10050974], 0
mov byte [0x100503ac], 0
mov eax, dword [0x10050ab0]
cmp eax, 0xff
jne 0x1003d8aa
push 0x78
lea eax, [ebp - 0x90]
mov dword [ebp - 0x98], 0x68746f4e
push 0
push eax
mov dword [ebp - 0x94], 0x676e69
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
test eax, eax
jne 0x1003d8f5
mov eax, dword [0x1004cd70]
movq xmm0, qword [str.Hp_Recovery]
push 0x74
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 1
jne 0x1003d94c
mov eax, dword [0x1004cd7c]
movq xmm0, qword [str.Rejuvenation]
mov dword [ebp - 0x90], eax
mov al, byte [0x1004cd80]
push 0x73
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x8b]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 2
jne 0x1003d9a5
mov ax, word [0x1004cd8c]
movq xmm0, qword [str.Attack_Aid]
mov word [ebp - 0x90], ax
mov al, byte [0x1004cd8e]
push 0x75
mov byte [ebp - 0x8e], al
lea eax, [ebp - 0x8d]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 3
jne 0x1003d9f1
mov eax, dword [0x1004cd98]
movq xmm0, qword [str.Defense_Aid]
push 0x74
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 4
jne 0x1003da3d
mov eax, dword [0x1004cda4]
movq xmm0, qword [str.Take_Potion]
push 0x74
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 5
jne 0x1003da7c
movups xmm0, xmmword [str.Item_Protection]
push 0x70
lea eax, [ebp - 0x88]
push 0
push eax
movups xmmword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 6
jne 0x1003dac8
mov eax, dword [0x1004cdc0]
movq xmm0, qword [str.Collect_All]
push 0x74
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 7
jne 0x1003db1f
mov eax, dword [0x1004cdcc]
movq xmm0, qword [str.Collect_Rare]
mov dword [ebp - 0x90], eax
mov al, byte [0x1004cdd0]
push 0x73
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x8b]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 8
jne 0x1003db83
mov eax, dword [0x1004cddc]
movq xmm0, qword [str.Collect_Potion]
mov dword [ebp - 0x90], eax
mov ax, word [0x1004cde0]
mov word [ebp - 0x8c], ax
mov al, byte [0x1004cde2]
push 0x71
mov byte [ebp - 0x8a], al
lea eax, [ebp - 0x89]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 9
jne 0x1003dbda
mov eax, dword [0x1004cdec]
movq xmm0, qword [str.Collect_Gold]
mov dword [ebp - 0x90], eax
mov al, byte [0x1004cdf0]
push 0x73
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x8b]
push 0
push eax
movq qword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
mov eax, dword [0x10050ab0]
add esp, 8
cmp eax, 0xa
jne 0x1003dc1f
mov al, byte [0x1004ce04]
movups xmm0, xmmword [str.Collect_Enhancer]
push 0x6f
mov byte [ebp - 0x88], al
lea eax, [ebp - 0x87]
push 0
push eax
movups xmmword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push str.Current_Pet_Skill___s
call fcn.1002af10
add esp, 8
mov edx, 0x100509b9
mov ecx, str.AutoFollow
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003dc95
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push dword [0x10050990]
push str.TargetPID:__d
call fcn.1002af10
push dword [0x10050a50]
push dword [0x100509fc]
push str.HP_:__d____d
call fcn.1002af10
add esp, 0x14
push dword [0x10050968]
push dword [0x100509d8]
push str.MP_:__d____d
call fcn.1002af10
add esp, 0xc
push dword [0x10050a80]
push dword [0x10050ac0]
push str.SP_:__d____d
call fcn.1002af10
add esp, 0xc
push str.Auto_Pots
call fcn.1002af10
push ecx
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0x64
push eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 1
push eax
push 0x100503c4
mov ecx, str.HP__
call fcn.1002ece0
mov eax, dword [0x100508f0]
add esp, 0x14
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003dd96
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100503b4
mov ecx, 0x1004ce68
call fcn.1002ce90
sub esp, 8
mov dword [ebp - 0x29c], 0x64
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a4], 1
mov ecx, str.MP__
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x100503c0
call fcn.1002ece0
mov eax, dword [0x100508f0]
add esp, 0x14
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003de43
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100503a8
mov ecx, 0x1004ce74
call fcn.1002ce90
sub esp, 8
mov dword [ebp - 0x29c], 0x64
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a4], 1
mov ecx, str.SP__
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x100503bc
call fcn.1002ece0
mov eax, dword [0x100508f0]
add esp, 0x14
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003def0
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100503b5
mov ecx, 0x1004ce80
call fcn.1002ce90
mov al, byte [0x100509bf]
cmp al, 1
jne 0x1003df4b
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2d8]
push eax
mov dword [ebp - 0x2d8], 0x15
movups xmm0, xmmword [esi + 0x39b0]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2d4], xmm0
call fcn.10017e20
movaps xmm0, xmmword [0x1004db70]
mov al, byte [0x100509bf]
movups xmmword [esi + 0x39b0], xmm0
movaps xmm0, xmmword [0x1004dc00]
movups xmmword [ebp - 0x2d8], xmm0
test al, al
jne 0x1003df9b
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0x15
movups xmm0, xmmword [esi + 0x39b0]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
movups xmmword [esi + 0x39b0], xmm0
push 0
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x428c0000
mov ecx, str.AutoPress
mov dword [ebp - 0x29c], 0x41a00000
call fcn.1002b8b0
add esp, 4
test al, al
je 0x1003dfd6
cmp byte [0x100509bf], 0
sete byte [0x100509bf]
mov edi, dword [0x100508f0]
mov eax, dword [edi + 0x3f5c]
cmp eax, 1
jl 0x1003e00a
mov ecx, dword [edi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [edi + eax*8], xmm0
dec dword [edi + 0x3f5c]
mov edx, dword [edi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e06c
movss xmm1, dword [edi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 6
push 9
push 0x100503f4
push ecx
mov dword [esi], 0x42480000
mov edx, 0x10050a98
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, 0x1004ce90
call fcn.1002e0e0
mov esi, dword [0x100508f0]
add esp, 0x10
mov eax, dword [esi + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [esi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov edx, dword [esi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e147
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100503a9
mov ecx, str.ReSummonPet_
call fcn.1002ce90
mov edx, 0x100509be
mov ecx, str.LockLocation
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e1cc
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x100509bd
mov ecx, str.GoToNPC
call fcn.1002ce90
push 0
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
mov ecx, str.GetMyLoc
mov dword [ebp - 0x29c], 0
call fcn.1002b8b0
add esp, 4
test al, al
je 0x1003e20d
call fcn.10039a90
mov edi, dword [0x100508f0]
mov edx, dword [edi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e275
movss xmm1, dword [edi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0x20000
push str._.3f
push 0
lea eax, [ebp - 0x29c]
mov dword [esi], 0x43160000
and dword [edi + 0x3eac], 0xfffffffe
mov edx, 8
push eax
push 0x100503a4
mov ecx, str.LockRange
mov dword [ebp - 0x29c], 0x3f800000
call fcn.1002f6c0
mov edi, dword [0x100508f0]
add esp, 0x14
mov eax, dword [edi + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [edi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0
push 0x10047f58
push 0
push 0
mov dword [esi], 0x42480000
mov edx, 4
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.SocketID
push 0x10050abc
call fcn.1002f6c0
mov esi, dword [0x100508f0]
add esp, 0x14
mov eax, dword [esi + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [esi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov edx, dword [esi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e3e7
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x10050b5b
mov ecx, str.Show_Other_Script
call fcn.1002ce90
mov edx, 0x100503aa
mov ecx, str.__PetSpeedBoost_
call fcn.1002ce90
cmp byte [0x10050b5b], 0
je 0x1003eccf
push 0
xor edx, edx
mov ecx, 0x1004c72c
call fcn.1000d560
add esp, 4
cmp dword [0x10050934], 1
jne 0x1003e4d5
call fcn.100102d0
mov cl, byte [0x10050929]
test al, al
je 0x1003e444
cmp cl, 1
je 0x1003e460
mov eax, dword [0x100508f0]
cmp dword [eax + 0x3e3c], 0
jne 0x1003e45b
cmp dword [eax + 0x3e40], 0
je 0x1003e46e
cmp cl, 1
jne 0x1003e46e
mov byte [0x10050930], 1
mov byte [0x10050928], 1
push 0x24
call dword [ebp - 0x2bc]
test ax, ax
je 0x1003e4d5
mov esi, dword [0x100508f0]
lea edx, [ebp - 0x2a0]
push 0
mov dword [ebp - 0x2a0], 0x43af0000
mov dword [ebp - 0x29c], 0x42480000
mov ecx, dword [esi + 0x3e18]
call fcn.10010340
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
add esp, 4
mov dword [ebp - 0x2a0], 0x43960000
mov dword [ebp - 0x29c], 0x43960000
push 0
call fcn.100104a0
add esp, 4
mov edx, 0x100509be
mov ecx, str.LockLocation
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e54b
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x1004c72c
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e5bf
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x1004c72c
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edi, dword [eax + 0x3e18]
cmp byte [edi + 0x93], 0
jne 0x1003e633
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edi + 0xdc]
movss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
mov eax, dword [edi + 0x104]
mov esi, dword [edi + 0x108]
mov dword [edi + 0xfc], eax
mov eax, dword [edi + 0x110]
mov dword [edi + 0x100], esi
mov dword [edi + 0x10c], eax
mov byte [edi + 0x114], 1
mov edx, 0x100509bd
mov ecx, str.GoToNPC
call fcn.1002ce90
push 0x100474d6
call fcn.1002add0
add esp, 4
mov dword [ebp - 0x2a0], 0
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x29c], 0
mov ecx, str.GetMyCoords
push 0
call fcn.1002b8b0
add esp, 4
test al, al
je 0x1003e681
call fcn.10039a90
mov edi, dword [0x100508f0]
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
mov dword [esi], 0x43160000
and dword [edi + 0x3eac], 0xfffffffe
push str.LockLoc:_X
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e720
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x10050a6c
mov edx, 8
mov ecx, 0x1004cf20
call fcn.1002f6c0
add esp, 0x14
push str.LockLoc:_Z
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e7b9
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509d0
mov edx, 8
mov ecx, 0x1004cf30
call fcn.1002f6c0
add esp, 0x14
push str.LockLoc:_Y
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e852
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509e8
mov edx, 8
mov ecx, 0x1004cf40
call fcn.1002f6c0
mov ecx, dword [0x100508f0]
add esp, 0x14
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov eax, dword [ecx + 0x3e18]
push 0
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov ecx, str.GetNpcCoords
lea edx, [ebp - 0x2a0]
call fcn.1002b8b0
add esp, 4
test al, al
je 0x1003e8e1
call fcn.10039b60
mov edi, dword [0x100508f0]
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
mov dword [esi], 0x43160000
and dword [edi + 0x3eac], 0xfffffffe
push str.NPC:_____X
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003e980
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100503c8
mov edx, 8
mov ecx, 0x1004c72c
call fcn.1002f6c0
add esp, 0x14
push str.NPC:_____Z
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003ea19
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100503b8
mov edx, 8
mov ecx, 0x1004cf70
call fcn.1002f6c0
add esp, 0x14
push str.NPC:_____Y
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003eab2
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100503a0
mov edx, 8
mov ecx, 0x1004ce90
call fcn.1002f6c0
mov ecx, dword [0x100508f0]
add esp, 0x14
mov eax, dword [ecx + 0x3e18]
push 0x1004c72c
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
call fcn.1002add0
add esp, 4
mov edx, 0x10050b58
mov ecx, str.Auto_Sell_to_NPC
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003eb92
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x10050b5a
mov ecx, 0x1004cf94
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003ec08
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x10050b59
mov ecx, 0x1004cf98
call fcn.1002ce90
mov edi, dword [0x100508f0]
mov eax, dword [edi + 0x3f5c]
cmp eax, 1
jl 0x1003ec4b
mov ecx, dword [edi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [edi + eax*8], xmm0
dec dword [edi + 0x3f5c]
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0
push 0x10047f58
push 0
push 0
mov dword [esi], 0x42480000
mov edx, 4
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.SocketID
push 0x10050abc
call fcn.1002f6c0
mov ecx, dword [0x100508f0]
add esp, 0x14
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
call fcn.1000fc40
mov di, word [0x10050aa0]
cmp di, 1
jne 0x1003eda0
cmp byte [0x10050af5], 0
je 0x1003ed4c
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movaps xmm0, xmmword [0x1004dc30]
mov edx, 0x10050981
mov ecx, str.Reform_Helper
movups xmmword [esi + 0x3860], xmm0
call fcn.1002ce90
mov di, word [0x10050aa0]
cmp di, 1
jne 0x1003eda0
cmp byte [0x10050af5], 0
jne 0x1003eda0
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
mov edx, 0x10050981
mov ecx, str.Reform_Helper
movups xmmword [esi + 0x3860], xmm0
call fcn.1002ce90
mov di, word [0x10050aa0]
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f5c]
cmp eax, 1
jl 0x1003edd4
mov ecx, dword [esi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x3f5c]
cmp di, 1
je 0x1003edf8
cmp byte [0x10050af5], 0
jne 0x1003edf8
mov edx, 0x10050981
mov ecx, str.Reform_Helper
call fcn.1002ce90
mov esi, dword [0x100508f0]
mov edx, dword [esi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003ee5a
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
mov edx, 0x10050a8c
mov ecx, str.Debug
call fcn.1002ce90
cmp byte [0x10050981], 0
je 0x1004042a
push 0
xor edx, edx
mov ecx, str.Reform
call fcn.1000d560
add esp, 4
cmp dword [0x10050934], 1
jne 0x1003ef33
push 0x24
call dword [ebp - 0x2bc]
mov esi, dword [0x100508f0]
test ax, ax
je 0x1003eefb
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
push 0
mov dword [ebp - 0x2a0], 0x43af0000
mov dword [ebp - 0x29c], 0x42480000
call fcn.10010340
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
add esp, 4
mov dword [ebp - 0x2a0], 0x43960000
mov dword [ebp - 0x29c], 0x43960000
push 0
call fcn.100104a0
add esp, 4
call fcn.100102d0
test al, al
mov al, byte [0x10050929]
je 0x1003ef0d
cmp al, 1
je 0x1003ef23
cmp dword [esi + 0x3e3c], 0
jne 0x1003ef1f
cmp dword [esi + 0x3e40], 0
je 0x1003ef39
cmp al, 1
jne 0x1003ef39
mov byte [0x10050930], 1
mov byte [0x10050928], 1
jmp 0x1003ef39
mov esi, dword [0x100508f0]
cmp word [0x10050aa0], 1
lea eax, [ebp - 0x2b8]
movups xmm0, xmmword [esi + 0x3860]
mov dword [ebp - 0x2b8], 0
lea ecx, [esi + 0x3f5c]
push eax
movups xmmword [ebp - 0x2b4], xmm0
jne 0x1003ef97
call fcn.10017e20
movaps xmm0, xmmword [0x1004dc30]
push str.Same_As_Before_Checked
movups xmmword [esi + 0x3860], xmm0
call fcn.1002af10
add esp, 4
push str.You_Can_Start_The_Script
call fcn.1002af10
add esp, 4
jmp 0x1003efd4
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
push str.Same_As_Before_Uncheck
movups xmmword [esi + 0x3860], xmm0
call fcn.1002af10
add esp, 4
push str.You_Can_NOT_Start_The_Script
call fcn.1002af10
add esp, 4
cmp byte [0x10050af5], 0
je 0x1003efd4
mov byte [0x10050af5], 0
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f5c]
cmp eax, 1
jl 0x1003f008
mov ecx, dword [esi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x3f5c]
push str._________________________________
call fcn.1002af10
add esp, 4
push 0x100474d6
call fcn.1002add0
add esp, 4
push str.Choose_Type_to_Find
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f096
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x1004d060
call fcn.1002add0
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f10a
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push str.Minimum_Value_to_Find
call fcn.1002af10
mov edi, dword [0x100508f0]
add esp, 4
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
mov dword [esi], 0x42c80000
mov edx, 0x10050af4
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, 0x1004d080
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f1b8
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050ae8
mov edx, 4
mov ecx, str.Attack
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050aff
mov ecx, 0x1004d0a4
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f26e
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050938
mov edx, 4
mov ecx, str.Melee
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050afc
mov ecx, 0x1004d0c8
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f324
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050ae0
mov edx, 4
mov ecx, str.Shoot
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af3
mov ecx, 0x1004d0ec
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f3da
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050aec
mov edx, 4
mov ecx, str.Energy
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af8
mov ecx, str.Hit_Rate
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f490
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050ad8
mov edx, 4
mov ecx, str.HitRate
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af9
mov ecx, str.Vit
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f546
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050ad4
mov edx, 4
mov ecx, 0x1004d150
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050b00
mov ecx, str.Deff
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f5fc
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050a00
mov edx, 4
mov ecx, 0x1004d170
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af0
mov ecx, 0x1004d174
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f6b2
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050b04
mov edx, 4
mov ecx, str.Avoid
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af7
mov ecx, 0x1004d198
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f768
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0
push 0x10047f58
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x64
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
push 0x10050a58
mov edx, 4
mov ecx, str.Resist
call fcn.1002f6c0
mov edi, dword [0x100508f0]
add esp, 0x14
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
mov dword [esi], 0x42c80000
mov edx, 0x10050af1
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.Critical_Damage
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f849
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x10050a1c
mov edx, 8
mov ecx, str.CritDamage
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af2
mov ecx, str.Strike_Hit_Damage
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f8e4
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x10050b0c
mov edx, 8
mov ecx, str.StrikeHitDamage
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050b01
mov ecx, str.AtkIncFromMP
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003f97f
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509b0
mov edx, 8
mov ecx, str.AtkIncInPropToTheTotMP
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050afb
mov ecx, str.MeleeIncFromAccu
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003fa1a
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509f4
mov edx, 8
mov ecx, str.MeleeIncInPropToTheTotAccu
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050afe
mov ecx, str.ShootIncFromAccu
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003fab5
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x1005098c
mov edx, 8
mov ecx, str.ShootingIncInPropToTheTotAccu
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050af6
mov ecx, str.EnergyIncFromAccu
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003fb50
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509b4
mov edx, 8
mov ecx, str.EnergyIncInPropToTheTotAccu
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050afd
mov ecx, str.Attack_Percentage
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003fbeb
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x100509a0
mov edx, 8
mov ecx, str.AttackPercentage
call fcn.1002f6c0
add esp, 0x14
mov edx, 0x10050afa
mov ecx, str.HPIncFromSP
call fcn.1002ce90
mov eax, dword [0x100508f0]
mov esi, dword [eax + 0x3e18]
cmp byte [esi + 0x93], 0
jne 0x1003fc86
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [esi + 0xdc]
movss xmm0, dword [esi + 0xe0]
movss dword [esi + 0xd4], xmm1
movss dword [esi + 0xd8], xmm0
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x108]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x110]
mov dword [esi + 0x100], ecx
mov dword [esi + 0x10c], eax
mov byte [esi + 0x114], 1
push 0x20000
push str._.3f
push 0
push 0
push 0x10050aac
mov edx, 8
mov ecx, str.HPIncPropToTheTotSP
call fcn.1002f6c0
mov esi, dword [0x100508f0]
add esp, 0x14
mov eax, dword [esi + 0x3e18]
push 0
push 9
push 0x10050430
mov byte [eax + 0x90], 1
mov edx, dword [esi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov eax, dword [esi + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [esi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
push ecx
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov ecx, str.Delay
mov edx, 0x10050a68
call fcn.1002e0e0
push str._________________________________
call fcn.1002af10
mov al, byte [0x10050af5]
add esp, 0x14
cmp al, 1
jne 0x1003fd87
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movaps xmm0, xmmword [0x1004dc30]
movups xmmword [esi + 0x3860], xmm0
mov al, byte [0x10050af5]
test al, al
jne 0x1003fdc9
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
movups xmmword [esi + 0x3860], xmm0
mov edx, 0x10050af5
mov ecx, str.Start_Finding
call fcn.1002ce90
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f5c]
cmp eax, 1
jl 0x1003fe0c
mov ecx, dword [esi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x3f5c]
push str._________________________________
call fcn.1002af10
mov al, byte [0x10050af5]
add esp, 4
cmp al, 1
jne 0x1004010a
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movaps xmm0, xmmword [0x1004dc30]
push 0x1004d368
movups xmmword [esi + 0x3860], xmm0
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003fed8
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a90]
push eax
push str.1st_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003ff5e
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x100509f0]
push eax
push str.2nd_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1003ffe4
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a38]
push eax
push str.3rd_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1004006a
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x1005099c]
push eax
push str.4rt_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100400f0
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a3c]
push eax
push str.5ft_Stats:__d
call fcn.1002af10
mov al, byte [0x10050af5]
add esp, 8
test al, al
jne 0x100403f1
mov esi, dword [0x100508f0]
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x2b8], 0
movups xmm0, xmmword [esi + 0x3860]
lea ecx, [esi + 0x3f5c]
movups xmmword [ebp - 0x2b4], xmm0
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
push 0x1004d368
movups xmmword [esi + 0x3860], xmm0
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 4
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100401c4
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a90]
push eax
push str.1st_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1004024a
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x100509f0]
push eax
push str.2nd_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100402d0
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a38]
push eax
push str.3rd_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040356
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x1005099c]
push eax
push str.4rt_Stats:__d
call fcn.1002af10
push 0x1004d368
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100403dc
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movsx eax, word [0x10050a3c]
push eax
push str.5ft_Stats:__d
call fcn.1002af10
add esp, 8
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f5c]
cmp eax, 1
jl 0x10040425
mov ecx, dword [esi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x3f5c]
call fcn.1000fc40
cmp byte [0x10050a8c], 0
je 0x10040a43
push 0
xor edx, edx
mov ecx, str.Debug
call fcn.1000d560
add esp, 4
cmp dword [0x10050934], 1
jne 0x100404f2
push 0x24
call dword [ebp - 0x2bc]
mov esi, dword [0x100508f0]
test ax, ax
je 0x100404bc
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
push 0
mov dword [ebp - 0x2a0], 0x43af0000
mov dword [ebp - 0x29c], 0x42480000
call fcn.10010340
mov ecx, dword [esi + 0x3e18]
lea edx, [ebp - 0x2a0]
add esp, 4
mov dword [ebp - 0x2a0], 0x43960000
mov dword [ebp - 0x29c], 0x43960000
push 0
call fcn.100104a0
add esp, 4
call fcn.100102d0
test al, al
mov al, byte [0x10050929]
je 0x100404ce
cmp al, 1
je 0x100404e4
cmp dword [esi + 0x3e3c], 0
jne 0x100404e0
cmp dword [esi + 0x3e40], 0
je 0x100404f2
cmp al, 1
jne 0x100404f2
mov byte [0x10050930], 1
mov byte [0x10050928], 1
push dword [0x10050ab8]
push str.MacroPtrAddr:__X
call fcn.1002af10
push dword [0x10050a60]
push str.MacroValue:__d
call fcn.1002af10
push dword [0x10050ac4]
push str.charBaseRegister:__X
call fcn.1002af10
push dword [0x10050ab4]
push str.CurrentPtrAddr:__X
call fcn.1002af10
push dword [0x100509fc]
push str.CurrentHPValue:__d
call fcn.1002af10
push dword [0x10050948]
push str.PetSkillAPtrAddr:__X
call fcn.1002af10
push dword [0x1005093c]
push str.PetSkillABaseRegister:__X
call fcn.1002af10
push dword [0x10050988]
push str.PetSkillAValue:__d
call fcn.1002af10
add esp, 0x40
push dword [0x10050acc]
push str.AutoReformSameAsBeforePtrAddr:__X
call fcn.1002af10
push dword [0x10050a24]
push str.AutoReformSameAsBeforeValue:__d
call fcn.1002af10
push dword [0x10050a84]
push str.PlayerStatePtrAddr:__X
call fcn.1002af10
push dword [0x10050a40]
push str.PlayerState:__d
call fcn.1002af10
push dword [0x100509a8]
push str.IsWIndowActivePtr:__X
call fcn.1002af10
push dword [0x10050934]
push str.IsWIndowActiveValue:__d
call fcn.1002af10
push dword [0x10050a14]
push str.boxPtr:__X
call fcn.1002af10
movzx eax, byte [0x10050e08]
push eax
push str.boxValue:__d
call fcn.1002af10
add esp, 0x40
push 0
push str.charTimerBaseRegister:__X
call fcn.1002af10
push dword [0x10050e0c]
push str.teleTimerPtr:__X
call fcn.1002af10
movsd xmm0, qword [0x10050e00]
add esp, 8
movsd qword [esp], xmm0
push str.teleTimer:__d
call fcn.1002af10
add esp, 0xc
push dword [0x10050a20]
push str.reformValue1Ptr:__X
call fcn.1002af10
push dword [0x100509e0]
push str.reformValue1Value:__d
call fcn.1002af10
movzx eax, byte [0x10050a5c]
push eax
push str.SpaceKey:__d
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0x18
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100406cf
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movzx eax, byte [0x100509ac]
push eax
push str.EnterKey:__d
call fcn.1002af10
movzx eax, byte [0x10050a10]
push eax
push str.QKey:__d
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0x10
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x1004075d
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movzx eax, byte [0x1005096c]
push eax
push str.WKey:__d
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 8
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100407d9
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movzx eax, byte [0x10050b10]
push eax
push str.EKey:__d
call fcn.1002af10
movzx eax, byte [0x10050945]
push eax
push str.AKey:__d
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0x10
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040867
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movzx eax, byte [0x100509dc]
push eax
push str.SKey:__d
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 8
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x100408e3
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movzx eax, byte [0x10050a44]
push eax
push str.DKey:__d
call fcn.1002af10
push dword [0x10050a54]
push str.pMapPtrAddrX__X
call fcn.1002af10
push dword [0x10050a2c]
push str.pMapPtrAddrZ__X
call fcn.1002af10
push dword [0x10050978]
push str.pMapPtrAddrY__X
call fcn.1002af10
push dword [0x10050970]
push str.pMapActivatorPtrAddr__X
call fcn.1002af10
push dword [0x10050aa8]
push str.pMapActivatorTimerPtrAddr__X
call fcn.1002af10
push dword [0x10050940]
push str.ptargetEntityPtrAddr__X
call fcn.1002af10
push dword [0x10050994]
push str.pRealTimeClienLocXPtrAddr__X
call fcn.1002af10
add esp, 0x40
push dword [0x10050a74]
push str.pRealTimeClienLocZPtrAddr__X
call fcn.1002af10
push dword [0x10050958]
push str.pRealTimeClienLocYPtrAddr__X
call fcn.1002af10
push dword [0x10050abc]
push str.SocketID:__X
call fcn.1002af10
push dword [0x10050a88]
push str.1:__X
call fcn.1002af10
push dword [0x10050b08]
push str.2:__X
call fcn.1002af10
push dword [0x10050a04]
push str.3:__X
call fcn.1002af10
push dword [0x10050ad0]
push str.4:__X
call fcn.1002af10
push dword [0x1005095c]
push str.5:__X
call fcn.1002af10
add esp, 0x40
push dword [0x10050a64]
push str.1_:__X
call fcn.1002af10
push dword [0x10050a78]
push str.2_:__X
call fcn.1002af10
push dword [0x10050984]
push str.3_:__X
call fcn.1002af10
push dword [0x10050adc]
push str.4_:__X
call fcn.1002af10
push dword [0x100509c8]
push str.5_:__X
call fcn.1002af10
add esp, 0x28
call fcn.1000fc40
push dword [0x10050d84]
push str.PID:__d
call fcn.1002af10
mov edi, dword [0x100508f0]
add esp, 8
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0
push 0x10047f58
push 0
push 0
mov dword [esi], 0x42b40000
mov edx, 4
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.TargetPID
push 0x10050990
call fcn.1002f6c0
mov ecx, dword [0x100508f0]
add esp, 0xc
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [ecx + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
movss xmm0, dword [0x10050a18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.x:__.0f
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040b5f
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movss xmm0, dword [0x10050ac8]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.z:__.0f
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0xc
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040be6
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
movss xmm0, dword [0x10050a9c]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.y:__.0f
call fcn.1002af10
movsx ecx, word [0x10050a34]
add esp, 0xc
cmp dword [0x10050a48], 0
mov eax, str.CurrentPetHunger:__d
jne 0x10040c20
mov eax, str.NoPetActive:__d
push ecx
push eax
call fcn.1002af10
mov edi, dword [0x100508f0]
add esp, 8
mov ecx, dword [edi + 0x3e18]
lea esi, [ecx + 0x188]
add ecx, 0x190
push esi
call fcn.10017cb0
push 0
push 0x10047f58
push 0
push 0
mov dword [esi], 0x42340000
mov edx, 4
and dword [edi + 0x3eac], 0xfffffffe
mov ecx, str.TargetEXP
push 0x10050a30
call fcn.1002f6c0
mov esi, dword [0x100508f0]
add esp, 0x14
mov eax, dword [esi + 0x3e18]
mov byte [eax + 0x90], 1
mov edx, dword [esi + 0x3e18]
mov ecx, dword [edx + 0x190]
mov eax, dword [edx + 0x198]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x188], eax
lea eax, [ecx - 1]
mov dword [edx + 0x190], eax
mov edx, dword [esi + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040d11
movss xmm1, dword [esi + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
cmp byte [0x100509bb], 0
lea eax, [ebp - 0x2b8]
movups xmm0, xmmword [esi + 0x39b0]
mov dword [ebp - 0x2b8], 0x15
lea ecx, [esi + 0x3f5c]
push eax
movups xmmword [ebp - 0x2b4], xmm0
je 0x10040d4d
call fcn.10017e20
movaps xmm0, xmmword [0x1004db70]
jmp 0x10040d59
call fcn.10017e20
movups xmm0, xmmword [ebp - 0x2d8]
push 0
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
mov ecx, str.Consume
mov dword [ebp - 0x29c], 0
movups xmmword [esi + 0x39b0], xmm0
call fcn.1002b8b0
add esp, 4
test al, al
je 0x10040d9b
cmp byte [0x100509bb], 0
sete byte [0x100509bb]
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f5c]
cmp eax, 1
jl 0x10040dcf
mov ecx, dword [esi + 0x3f64]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x3f5c]
push dword [0x100509ec]
push str.Active_EXP_Random_Lunch_Box:__d
call fcn.1002af10
push dword [0x10050a94]
push str.Read_ID_Ptr:__0X
call fcn.1002af10
mov eax, dword [0x100508f0]
add esp, 0x10
mov edx, dword [eax + 0x3e18]
cmp byte [edx + 0x93], 0
jne 0x10040e59
movss xmm1, dword [eax + 0x37e4]
addss xmm1, dword [edx + 0xdc]
movss xmm0, dword [edx + 0xe0]
movss dword [edx + 0xd4], xmm1
movss dword [edx + 0xd8], xmm0
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov eax, dword [edx + 0x110]
mov dword [edx + 0x100], ecx
mov dword [edx + 0x10c], eax
mov byte [edx + 0x114], 1
cmp byte [0x100509ba], 0
je 0x10040e6f
push str.Scanning
call fcn.1002af10
add esp, 4
call fcn.1000fc40
call fcn.10009830
call fcn.10009b00
mov eax, dword [0x100508f0]
mov eax, dword [eax + 0x3fc8]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x38
cmp byte [ecx], al
cmove ecx, eax
call fcn.100273e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10043d30
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret