Function at 0x422330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x9664
call fcn.00561be0
push ebp
push 0
push str.Avatar.xfs
lea eax, [esp + 0x30]
push 0x890f60
push eax
call fcn.0044f840
mov ebp, dword [esp + 0x967c]
mov eax, dword [ebp + 0xf7a8]
lea ecx, [ebp + 0xf768]
add esp, 0x10
lea edx, [ecx + 0x44]
push edx
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [ecx + 0x52], 1
call fcn.00408a40
test al, al
jne 0x42238e
mov eax, 7
pop ebp
add esp, 0x9664
ret 4
push esi
push 0
push str.graphics.xfs
lea eax, [esp + 0x34]
push 0x890f60
push eax
call fcn.0044f840
mov edx, dword [ebp + 0xf818]
lea esi, [ebp + 0xf7d8]
add esp, 0x10
lea ecx, [esi + 0x44]
push ecx
push esi
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esi + 0x52], 1
call fcn.00408a40
test al, al
jne 0x4223de
pop esi
mov eax, 2
pop ebp
add esp, 0x9664
ret 4
push 0
push 1
push str.characterdata.dat
mov ecx, esi
call fcn.00401dc0
mov esi, eax
test esi, esi
je 0x4223ce
mov ecx, dword [esi + 8]
push ebx
mov ebx, dword [ecx + 0x78]
push edi
push ebx
call fcn.0055e5a4
add esp, 4
dec ebx
mov edi, eax
push ebx
push edi
mov ecx, esi
call fcn.004019e0
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004019e0
push 0x19f0
push ebx
push edi
lea eax, [esp + 0x440]
push eax
mov ecx, ebp
call fcn.00543020
mov cl, 0x4d
xor eax, eax
lea esp, [esp]
add cl, byte [esp + eax + 0x434]
inc eax
cmp eax, 0x19f0
jb 0x422440
cmp cl, byte [esp + 0x14]
je 0x422467
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x9664
ret 4
push esi
lea ecx, [ebp + 0xf7d8]
call fcn.00401ee0
test edi, edi
je 0x422480
push edi
call fcn.0055f7dd
add esp, 4
lea edi, [esp + 0x438]
lea ebx, [ebp + 0x2946c]
mov dword [esp + 0x1c], 0x14
mov eax, dword [ebx - 8]
mov ecx, dword [edi - 4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx]
mov ecx, dword [edi]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x10]
mov ecx, dword [edi + 8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x18]
mov ecx, dword [edi + 0xc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x20]
mov ecx, dword [edi + 0x10]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x28]
mov ecx, dword [edi + 0x14]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x30]
mov ecx, dword [edi + 0x18]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ebx + 0x38]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x40]
mov ecx, dword [edi + 0x20]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x48]
mov ecx, dword [edi + 0x24]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x50]
mov ecx, dword [edi + 0x28]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x58]
mov ecx, dword [edi + 0x2c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x60]
mov ecx, dword [edi + 0x30]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x68]
mov ecx, dword [edi + 0x34]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x70]
mov ecx, dword [edi + 0x38]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x78]
push 1
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x80]
mov ecx, dword [edi + 0x40]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x88]
mov ecx, dword [edi + 0x44]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x90]
mov ecx, dword [edi + 0x48]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x98]
mov ecx, dword [edi + 0x4c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [edi + 0x50]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xa8]
mov ecx, dword [edi + 0x54]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xb0]
mov ecx, dword [edi + 0x58]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x10], ecx
push 1
mov eax, dword [ebx + 0xb8]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xc0]
mov ecx, dword [edi + 0x60]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xc8]
mov ecx, dword [edi + 0x64]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xd0]
mov ecx, dword [edi + 0x68]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xd8]
mov ecx, dword [edi + 0x6c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xe0]
mov ecx, dword [edi + 0x70]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xe8]
mov ecx, dword [edi + 0x74]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0xf0]
mov ecx, dword [edi + 0x78]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x10], ecx
push 1
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0xf8]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x100]
mov ecx, dword [edi + 0x80]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x108]
mov ecx, dword [edi + 0x84]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x110]
mov ecx, dword [edi + 0x88]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x118]
mov ecx, dword [edi + 0x8c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x120]
mov ecx, dword [edi + 0x90]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x128]
mov ecx, dword [edi + 0x94]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x130]
mov ecx, dword [edi + 0x98]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x9c]
push 1
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
mov eax, dword [ebx + 0x138]
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x140]
mov ecx, dword [edi + 0xa0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x148]
mov ecx, dword [edi + 0xa4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x150]
mov ecx, dword [edi + 0xa8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x158]
mov ecx, dword [edi + 0xac]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x160]
mov ecx, dword [edi + 0xb0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x168]
mov ecx, dword [edi + 0xb4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x170]
mov ecx, dword [edi + 0xb8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0xbc]
mov eax, dword [ebx + 0x178]
push 1
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x180]
mov ecx, dword [edi + 0xc0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x188]
mov ecx, dword [edi + 0xc4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x190]
mov ecx, dword [edi + 0xc8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x198]
mov ecx, dword [edi + 0xcc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1a0]
mov ecx, dword [edi + 0xd0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [edi + 0xd4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1b0]
mov ecx, dword [edi + 0xd8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0xdc]
mov eax, dword [ebx + 0x1b8]
push 1
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1c0]
mov ecx, dword [edi + 0xe0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1c8]
mov ecx, dword [edi + 0xe4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [edi + 0xe8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [edi + 0xec]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1e0]
mov ecx, dword [edi + 0xf0]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1e8]
mov ecx, dword [edi + 0xf4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [edi + 0xf8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x1f8]
mov ecx, dword [edi + 0xfc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x200]
mov ecx, dword [edi + 0x100]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x208]
mov ecx, dword [edi + 0x104]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x210]
mov ecx, dword [edi + 0x108]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x218]
mov ecx, dword [edi + 0x10c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x220]
mov ecx, dword [edi + 0x110]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x228]
mov ecx, dword [edi + 0x114]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x230]
mov ecx, dword [edi + 0x118]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x238]
mov ecx, dword [edi + 0x11c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x240]
mov ecx, dword [edi + 0x120]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x248]
mov ecx, dword [edi + 0x124]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x250]
mov ecx, dword [edi + 0x128]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x258]
mov ecx, dword [edi + 0x12c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x260]
mov ecx, dword [edi + 0x130]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x268]
mov ecx, dword [edi + 0x134]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x270]
mov ecx, dword [edi + 0x138]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x278]
mov ecx, dword [edi + 0x13c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x280]
mov ecx, dword [edi + 0x140]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebx + 0x288]
mov ecx, dword [edi + 0x144]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [esp + 0x1c]
add edi, 0x14c
add ebx, 0x298
dec eax
mov dword [esp + 0x1c], eax
jne 0x422495
push 0
push 1
push str.stage.dat
lea ecx, [ebp + 0xf7d8]
call fcn.00401dc0
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x422ff4
pop edi
pop ebx
pop esi
mov eax, 4
pop ebp
add esp, 0x9664
ret 4
mov ecx, dword [esi + 8]
mov ebx, dword [ecx + 0x78]
push ebx
mov dword [esp + 0x14], ebx
call fcn.0055e5a4
add esp, 4
mov edi, eax
push ebx
push edi
mov ecx, esi
call fcn.004019e0
mov ecx, dword [edi]
sub ecx, 0x3ae53
mov eax, 0x811159b
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xe
lea edx, [esp + 0x24]
mov dword [ebp + 0x2c840], ecx
mov eax, dword [0x5f07b0]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [ebp + 0x2c840]
cmp ecx, dword [esp + 0x24]
je 0x42306a
pop edi
pop ebx
pop esi
mov eax, 3
pop ebp
add esp, 0x9664
ret 4
mov edx, dword [esp + 0x10]
push 0x4e00
add edx, 0xfffffffc
push edx
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x1e30]
push eax
mov ecx, ebp
call fcn.00543020
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [ebp + 0xf7d8]
call fcn.00401ee0
push edi
call fcn.0055f7dd
lea edi, [esp + 0x1ea8]
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
add ebp, 0x2c8c4
jmp 0x4230c2
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add edx, 0xf4df8
push edx
push 0x897640
call fcn.0044dea0
lea edx, [ebp - 0x80]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4230e0
mov edx, ebp
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4230f0
movzx eax, word [edi + 0x80]
mov edx, dword [ebp + 0x84]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
movzx eax, word [edi + 0x82]
mov edx, dword [ebp + 0x8c]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0x94]
mov eax, dword [edi + 0x84]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0x9c]
mov eax, dword [edi + 0x88]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xa4]
mov eax, dword [edi + 0x8c]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xac]
mov eax, dword [edi + 0x90]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xb4]
mov eax, dword [edi + 0x94]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xbc]
mov eax, dword [edi + 0x98]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x9c]
mov edx, dword [ebp + 0xc4]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xcc]
mov eax, dword [edi + 0xa0]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xd4]
mov eax, dword [edi + 0xa4]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xdc]
mov eax, dword [edi + 0xa8]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebp + 0xe4]
mov eax, dword [edi + 0xac]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
lea ebx, [ebp + 0x12c]
add edi, 0xd0
mov dword [esp + 0x10], 8
mov edx, dword [ebx - 0x40]
mov eax, dword [edi - 0x20]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx]
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x40]
mov eax, dword [edi + 0x20]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x80]
mov eax, dword [edi + 0x40]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0xc0]
mov eax, dword [edi + 0x60]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x100]
mov eax, dword [edi + 0x80]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x140]
mov eax, dword [edi + 0xa0]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x180]
mov eax, dword [edi + 0xc0]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0xe0]
mov edx, dword [ebx + 0x1c0]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [ebx + 0x200]
mov eax, dword [edi + 0x100]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [esp + 0x10]
add edi, 4
add ebx, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x4232e4
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 0x270
add ebp, 0x3e8
cmp eax, 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jl 0x4230be
mov ebp, dword [esp + 0x9678]
push 0
push 1
add ebp, 0xf7d8
push str.itemdata.dat
mov ecx, ebp
call fcn.00401dc0
mov esi, eax
test esi, esi
jne 0x4234a2
pop edi
pop ebx
pop esi
mov eax, 5
pop ebp
add esp, 0x9664
ret 4
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x78]
push edi
call fcn.0055e5a4
add esp, 4
mov ebx, eax
push edi
push ebx
mov ecx, esi
call fcn.004019e0
push 0x7850
push edi
mov edi, dword [esp + 0x9680]
push ebx
lea ecx, [esp + 0x1e30]
push ecx
mov ecx, edi
call fcn.00543020
test ebx, ebx
je 0x4234e6
push ebx
call fcn.0055f7dd
add esp, 4
mov al, byte [esi + 0x1c]
test al, al
jne 0x423520
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4234fe
mov edx, dword [esi]
push edx
mov ecx, esi
call fcn.00401780
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x423514
mov eax, dword [eax + 0x78]
add dword [ebp + 0x10], eax
mov byte [ebp + 0x50], 0
jmp 0x423523
mov eax, dword [eax + 0x7c]
add dword [ebp + 0x10], eax
mov byte [ebp + 0x50], 0
jmp 0x423523
dec dword [ebp + 0x54]
mov ecx, esi
call fcn.004095c0
push esi
call fcn.0055f7e2
add esp, 4
mov ebp, 0xf4a10
lea ebx, [esp + 0x1e48]
add edi, 0x4bc68
mov dword [esp + 0x10], 0x64
lea ecx, [ecx]
lea eax, [ebp - 0x3e8]
push eax
push 0x897640
call fcn.0044dea0
lea edx, [edi - 0x24]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x423564
mov eax, dword [edi]
mov ecx, dword [ebx - 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 8]
mov ecx, dword [ebx]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x18]
mov cl, byte [ebx + 8]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], cl
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x20]
mov cl, byte [ebx + 9]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], cl
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x28]
mov cl, byte [ebx + 0xa]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], cl
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
movzx ecx, word [ebx + 0xc]
mov eax, dword [edi + 0x30]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
push ebp
push 0x897640
call fcn.0044dea0
lea edx, [edi + 0x34]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x423650
mov eax, dword [esp + 0x10]
add ebx, 0x134
inc ebp
add edi, 0x158
dec eax
mov dword [esp + 0x10], eax
jne 0x423550
mov edx, dword [0x5f07b0]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov esi, dword [esp + 0x9678]
push 0x63
push esi
call fcn.004261b0
cmp eax, dword [esp + 0x24]
je 0x4236ba
pop edi
pop ebx
pop esi
mov eax, 6
pop ebp
add esp, 0x9664
ret 4
push esi
call fcn.0042cb80
push esi
call fcn.0042d8c0
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x9664
ret 4