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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x378]
cmp eax, dword [ecx + 8]
jbe 0x471658
sub esp, 0x3f8
mov eax, dword [esp + 0x3fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x400]
mov dword [esp + 4], ecx
call fcn.0046f4a0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4715f8
mov eax, dword [esp + 0x3fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x400]
mov dword [esp + 4], ecx
call fcn.0046f910
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
test al, al
je 0x471504
movzx ebx, byte [esp + 0x16]
mov ebp, dword [esp + 0x10]
movzx esi, byte [esp + 0x14]
movzx eax, byte [esp + 0x15]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 8]
test bl, bl
je 0x47111f
mov ebx, dword [esp + 0x400]
cmp ebx, ecx
jb 0x471650
mov ebx, dword [esp + 0x3fc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ebx, [0x589420]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebp
xchg esi, eax
mov byte [esp + 0x18], al
xchg esi, eax
mov byte [esp + 0x19], al
call fcn.004709a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3f4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3f0], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0044d5a0
mov eax, dword [esp + 8]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x3f0]
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
movzx ebx, byte [0x589360]
test bl, bl
je 0x4712a0
mov dword [esp + 0x48], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov byte [esp + 0x2e], al
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], edi
test al, al
jne 0x47117c
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
call fcn.004707b0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x47126d
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
movzx esi, byte [esp + 0x2f]
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
call fcn.004746e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x471267
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x2e]
test cl, cl
je 0x471238
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
add eax, 1
mov ecx, dword [esp + 0x44]
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0xc], al
call fcn.004746e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x471267
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044e3d0
movzx eax, byte [esp + 8]
test al, al
je 0x471267
mov eax, dword [esp + 0x50]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov ecx, dword [esp + 0x54]
jmp 0x4712a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
lea edi, [esp + 0xb8]
xor eax, eax
mov edx, ecx
mov ecx, 0xcb
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x400]
cmp ebx, edx
jb 0x471647
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x3fc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046f6c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x471413
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x589420]
mov dword [esp + 4], eax
call fcn.004700f0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
test al, al
jne 0x47131b
xor eax, eax
xor edx, edx
jmp 0x4713ec
mov dword [esp + 0x4c], ecx
nop
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00452070
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e4], ecx
lea edx, [0x4d3980]
mov dword [esp], edx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x4e006c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
jne 0x4713ac
mov ecx, dword [esp + 0x3e4]
jmp 0x4713ba
call fcn.00466730
mov ecx, dword [esp + 0x3e4]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x590bf8]
mov edx, dword [0x590bfc]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
je 0x4713dd
call fcn.00466730
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov edx, eax
lea eax, [0x506440]
mov dword [esp + 0x404], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], edx
add esp, 0x3f8
ret
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00452070
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e8], ecx
lea edx, [0x4d3980]
mov dword [esp], edx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x4e006c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
jne 0x47149f
mov ecx, dword [esp + 0x3e8]
jmp 0x4714ad
call fcn.00466730
mov ecx, dword [esp + 0x3e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x590c00]
mov edx, dword [0x590c04]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
je 0x4714d0
call fcn.00466730
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0x404], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
lea ecx, [0x506440]
mov dword [esp + 0x40c], ecx
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00452070
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3ec], ecx
lea edx, [0x4d3980]
mov dword [esp], edx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x4e006c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
jne 0x471593
mov ecx, dword [esp + 0x3ec]
jmp 0x4715a1
call fcn.00466730
mov ecx, dword [esp + 0x3ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x590c00]
mov edx, dword [0x590c04]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
je 0x4715c4
call fcn.00466730
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0x404], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
lea ecx, [0x506440]
mov dword [esp + 0x40c], ecx
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0044d5a0
mov eax, dword [esp + 8]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov ecx, edx
mov edx, ebx
call fcn.004667b0
mov edx, ebx
call fcn.004667b0
nop
call fcn.00465370
jmp fcn.00470fe0