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

Disassembly:
mov eax, 0x9664
call fcn.00554980
push ebp
push 0
push str.Avatar.xfs
lea eax, [esp + 0x30]
push 0x882e80
push eax
call fcn.00447c30
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.00408a00
test al, al
jne 0x41ff82
mov ecx, dword [0x884634]
mov eax, dword [ebp + 0xf76c]
cmp eax, dword [ecx + 0x77d74]
je 0x41ff82
mov eax, 7
pop ebp
add esp, 0x9664
ret 4
push esi
push 0
push str.graphics.xfs
lea edx, [esp + 0x34]
push 0x882e80
push edx
call fcn.00447c30
mov ecx, dword [ebp + 0xf818]
lea esi, [ebp + 0xf7d8]
add esp, 0x10
lea eax, [esi + 0x44]
push eax
push esi
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esi + 0x52], 1
call fcn.00408a00
test al, al
jne 0x41ffe6
mov ecx, dword [0x884634]
mov eax, dword [ebp + 0xf7dc]
cmp eax, dword [ecx + 0x77d74]
je 0x41ffe6
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.00401d90
mov esi, eax
test esi, esi
je 0x41ffd6
mov edx, dword [esi + 8]
push ebx
mov ebx, dword [edx + 0x78]
push edi
push ebx
call fcn.005493e8
add esp, 4
dec ebx
mov edi, eax
push ebx
push edi
mov ecx, esi
call fcn.004019b0
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004019b0
push 0x19f0
push ebx
push edi
lea ecx, [esp + 0x440]
push ecx
mov ecx, ebp
call fcn.00532440
mov cl, 0x4d
xor eax, eax
add cl, byte [esp + eax + 0x434]
inc eax
cmp eax, 0x19f0
jb 0x420041
cmp cl, byte [esp + 0x14]
je 0x420068
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x9664
ret 4
push esi
lea ecx, [ebp + 0xf7d8]
call fcn.00401eb0
test edi, edi
je 0x420081
push edi
call fcn.0055187d
add esp, 4
lea edi, [esp + 0x438]
lea ebx, [ebp + 0x29128]
mov dword [esp + 0x1c], 0x14
mov ecx, dword [ebx - 8]
mov edx, dword [edi - 4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx]
mov edx, dword [edi]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x10]
mov edx, dword [edi + 8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x18]
mov edx, dword [edi + 0xc]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x20]
mov edx, dword [edi + 0x10]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x28]
mov edx, dword [edi + 0x14]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x30]
mov edx, dword [edi + 0x18]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x38]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x40]
mov edx, dword [edi + 0x20]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x48]
mov edx, dword [edi + 0x24]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x50]
mov edx, dword [edi + 0x28]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x58]
mov edx, dword [edi + 0x2c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x60]
mov edx, dword [edi + 0x30]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x68]
mov edx, dword [edi + 0x34]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x70]
mov edx, dword [edi + 0x38]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0x78]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x80]
mov edx, dword [edi + 0x40]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x88]
mov edx, dword [edi + 0x44]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x90]
mov edx, dword [edi + 0x48]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x98]
mov edx, dword [edi + 0x4c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xa0]
mov edx, dword [edi + 0x50]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xa8]
mov edx, dword [edi + 0x54]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xb0]
mov edx, dword [edi + 0x58]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x10], edx
push 1
mov ecx, dword [ebx + 0xb8]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xc0]
mov edx, dword [edi + 0x60]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xc8]
mov edx, dword [edi + 0x64]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xd0]
mov edx, dword [edi + 0x68]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xd8]
mov edx, dword [edi + 0x6c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xe0]
mov edx, dword [edi + 0x70]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xe8]
mov edx, dword [edi + 0x74]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xf0]
mov edx, dword [edi + 0x78]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x7c]
mov dword [esp + 0x10], edx
push 1
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0xf8]
push eax
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x100]
mov edx, dword [edi + 0x80]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x108]
mov edx, dword [edi + 0x84]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x110]
mov edx, dword [edi + 0x88]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x118]
mov edx, dword [edi + 0x8c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x120]
mov edx, dword [edi + 0x90]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x128]
mov edx, dword [edi + 0x94]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x130]
mov edx, dword [edi + 0x98]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x9c]
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
mov ecx, dword [ebx + 0x138]
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x140]
mov edx, dword [edi + 0xa0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x148]
mov edx, dword [edi + 0xa4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x150]
mov edx, dword [edi + 0xa8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x158]
mov edx, dword [edi + 0xac]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x160]
mov edx, dword [edi + 0xb0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x168]
mov edx, dword [edi + 0xb4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x170]
mov edx, dword [edi + 0xb8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0xbc]
mov ecx, dword [ebx + 0x178]
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x180]
mov edx, dword [edi + 0xc0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x188]
mov edx, dword [edi + 0xc4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x190]
mov edx, dword [edi + 0xc8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x198]
mov edx, dword [edi + 0xcc]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1a0]
mov edx, dword [edi + 0xd0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1a8]
mov edx, dword [edi + 0xd4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1b0]
mov edx, dword [edi + 0xd8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0xdc]
mov ecx, dword [ebx + 0x1b8]
push 1
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edx
push ecx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1c0]
mov edx, dword [edi + 0xe0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1c8]
mov edx, dword [edi + 0xe4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1d0]
mov edx, dword [edi + 0xe8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1d8]
mov edx, dword [edi + 0xec]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1e0]
mov edx, dword [edi + 0xf0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1e8]
mov edx, dword [edi + 0xf4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1f0]
mov edx, dword [edi + 0xf8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x1f8]
mov edx, dword [edi + 0xfc]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x200]
mov edx, dword [edi + 0x100]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x208]
mov edx, dword [edi + 0x104]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x210]
mov edx, dword [edi + 0x108]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x218]
mov edx, dword [edi + 0x10c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x220]
mov edx, dword [edi + 0x110]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x228]
mov edx, dword [edi + 0x114]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x230]
mov edx, dword [edi + 0x118]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x238]
mov edx, dword [edi + 0x11c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x240]
mov edx, dword [edi + 0x120]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x248]
mov edx, dword [edi + 0x124]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x250]
mov edx, dword [edi + 0x128]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x258]
mov edx, dword [edi + 0x12c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x260]
mov edx, dword [edi + 0x130]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x268]
mov edx, dword [edi + 0x134]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x270]
mov edx, dword [edi + 0x138]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x278]
mov edx, dword [edi + 0x13c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x280]
mov edx, dword [edi + 0x140]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x288]
mov edx, dword [edi + 0x144]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov eax, dword [esp + 0x1c]
add edi, 0x14c
add ebx, 0x298
dec eax
mov dword [esp + 0x1c], eax
jne 0x420096
push 0
push 1
push str.stage.dat
lea ecx, [ebp + 0xf7d8]
call fcn.00401d90
mov edi, eax
test edi, edi
jne 0x420bf1
pop edi
pop ebx
pop esi
mov eax, 4
pop ebp
add esp, 0x9664
ret 4
mov edx, dword [edi + 8]
mov esi, dword [edx + 0x78]
push esi
mov dword [esp + 0x20], esi
call fcn.005493e8
add esp, 4
mov ebx, eax
push esi
push ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004019b0
mov ecx, dword [ebx]
sub ecx, 0x3ae53
mov eax, 0x811159b
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xe
lea eax, [esp + 0x24]
mov dword [ebp + 0x2c4fc], ecx
mov ecx, dword [0x5e2760]
push eax
push ecx
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov edx, dword [ebp + 0x2c4fc]
cmp edx, dword [esp + 0x24]
je 0x420c6c
pop edi
pop ebx
pop esi
mov eax, 3
pop ebp
add esp, 0x9664
ret 4
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
push 0x3c80
add ecx, 0xfffffffc
push ecx
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x1e30]
push edx
mov ecx, ebp
call fcn.00532440
mov al, byte [edi + 0x1c]
test al, al
jne 0x420cc9
mov eax, dword [edi + 0xc]
test eax, eax
je 0x420ca8
mov eax, dword [edi]
push eax
mov ecx, edi
call fcn.00401750
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x420cb7
mov eax, dword [eax + 0x78]
jmp 0x420cba
mov eax, dword [eax + 0x7c]
add dword [ebp + 0xf7e8], eax
mov byte [ebp + 0xf828], 0
jmp 0x420ccf
dec dword [ebp + 0xf82c]
mov ecx, edi
call fcn.00409420
push edi
call fcn.00551882
push esi
call fcn.0055187d
lea edi, [esp + 0x1eac]
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
add ebp, 0x2c580
jmp 0x420d04
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ecx, 0xf4df8
push ecx
push 0x8872dc
call fcn.00447150
lea edx, [ebp - 0x80]
lea esp, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x420d20
mov edx, ebp
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x420d30
movzx edx, word [edi + 0x80]
mov ecx, dword [ebp + 0x84]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
movzx edx, word [edi + 0x82]
mov ecx, dword [ebp + 0x8c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0x94]
mov edx, dword [edi + 0x84]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0x9c]
mov edx, dword [edi + 0x88]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xa4]
mov edx, dword [edi + 0x8c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xac]
mov edx, dword [edi + 0x90]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xb4]
mov edx, dword [edi + 0x94]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xbc]
mov edx, dword [edi + 0x98]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x9c]
mov ecx, dword [ebp + 0xc4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xcc]
mov edx, dword [edi + 0xa0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
add edi, 0xc4
lea ebx, [ebp + 0x114]
mov dword [esp + 0x10], 8
mov ecx, dword [ebx - 0x40]
mov edx, dword [edi - 0x20]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx]
mov edx, dword [edi]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x40]
mov edx, dword [edi + 0x20]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x80]
mov edx, dword [edi + 0x40]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0xc0]
mov edx, dword [edi + 0x60]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebx + 0x100]
mov edx, dword [edi + 0x80]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov eax, dword [esp + 0x10]
add edi, 4
add ebx, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x420eb8
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esi, 0x1e4
add ebp, 0x2d0
cmp eax, 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
jl 0x420d00
mov ebp, dword [esp + 0x9678]
push 0
push 1
add ebp, 0xf7d8
push str.itemdata.dat
mov ecx, ebp
call fcn.00401d90
mov esi, eax
test esi, esi
jne 0x420fe6
pop edi
pop ebx
pop esi
mov eax, 5
pop ebp
add esp, 0x9664
ret 4
mov edx, dword [esi + 8]
mov edi, dword [edx + 0x78]
push edi
call fcn.005493e8
add esp, 4
mov ebx, eax
push edi
push ebx
mov ecx, esi
call fcn.004019b0
push 0x7850
push edi
mov edi, dword [esp + 0x9680]
push ebx
lea eax, [esp + 0x1e30]
push eax
mov ecx, edi
call fcn.00532440
test ebx, ebx
je 0x42102a
push ebx
call fcn.0055187d
add esp, 4
mov al, byte [esi + 0x1c]
test al, al
jne 0x421064
mov eax, dword [esi + 0xc]
test eax, eax
je 0x421042
mov ecx, dword [esi]
push ecx
mov ecx, esi
call fcn.00401750
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x421058
mov eax, dword [eax + 0x78]
add dword [ebp + 0x10], eax
mov byte [ebp + 0x50], 0
jmp 0x421067
mov eax, dword [eax + 0x7c]
add dword [ebp + 0x10], eax
mov byte [ebp + 0x50], 0
jmp 0x421067
dec dword [ebp + 0x54]
mov ecx, esi
call fcn.00409420
push esi
call fcn.00551882
add esp, 4
mov ebp, 0xf4a10
lea ebx, [esp + 0x1e48]
add edi, 0x42d24
mov dword [esp + 0x10], 0x64
lea edx, [ebp - 0x3e8]
push edx
push 0x8872dc
call fcn.00447150
lea edx, [edi - 0x24]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4210a5
mov edx, dword [edi]
mov eax, dword [ebx - 4]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 8]
mov eax, dword [ebx]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 4]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x18]
mov al, byte [ebx + 8]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x20]
mov al, byte [ebx + 9]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [edi + 0x28]
mov al, byte [ebx + 0xa]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
movzx eax, word [ebx + 0xc]
mov edx, dword [edi + 0x30]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
push ebp
push 0x8872dc
call fcn.00447150
lea edx, [edi + 0x34]
mov edi, edi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x421190
mov eax, dword [esp + 0x10]
add ebx, 0x134
inc ebp
add edi, 0x158
dec eax
mov dword [esp + 0x10], eax
jne 0x421091
mov ecx, dword [0x5e2760]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov edx, dword [esp + 0x9678]
push 0x63
push edx
call fcn.00423ca0
sub eax, dword [esp + 0x24]
pop edi
neg eax
pop ebx
sbb eax, eax
pop esi
and eax, 6
pop ebp
add esp, 0x9664
ret 4