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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b45a
push eax
mov eax, dword [0x490744]
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebp, ecx
je 0x40906f
push 0x490728
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.00460131
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], esi
call fcn.00433dc5
mov eax, dword [0x48b574]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x490728
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
call fcn.0046024c
push 0x490728
lea ecx, [esp + 0x4c]
call fcn.0046024c
push 0x490728
lea ecx, [esp + 0x50]
call fcn.0046024c
push 0x490728
lea ecx, [esp + 0x54]
call fcn.0046024c
mov ecx, dword [0x49073c]
mov bl, 9
mov byte [esp + 0x74], bl
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x408fee
jmp 0x408d96
xor esi, esi
cmp edi, 0xa
jge 0x408f50
lea esi, [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0x48], edx
call fcn.004601fc
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x50]
call fcn.004601fc
lea edx, [esi + 0x14]
lea ecx, [esp + 0x50]
push edx
call fcn.004601fc
lea eax, [esi + 0x18]
lea ecx, [esp + 0x54]
push eax
call fcn.004601fc
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004601fc
lea edx, [esi + 0x20]
lea ecx, [esp + 0x5c]
push edx
call fcn.004601fc
lea eax, [esi + 0x24]
lea ecx, [esp + 0x60]
push eax
call fcn.004601fc
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov edx, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x68], edx
jne 0x408f33
mov eax, dword [esp + 0x3c]
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x4c], esp
mov dword [esp + 0x4c], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x78]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.0045fe38
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0xa
push ecx
lea ecx, [esi + 0x10]
call fcn.0045fe38
lea edx, [esp + 0x80]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0xa8], 0xb
call fcn.0045fe38
lea eax, [esp + 0x84]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0xa8], 0xc
call fcn.0045fe38
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0xd
push ecx
lea ecx, [esi + 0x1c]
call fcn.0045fe38
lea edx, [esp + 0x8c]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0xa8], 0xe
call fcn.0045fe38
lea eax, [esp + 0x90]
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xa8], 0xf
call fcn.0045fe38
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x48]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x98]
push eax
mov ecx, ebp
mov dword [esi + 0x2c], edx
mov byte [esp + 0xa8], bl
call fcn.0040aea0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x10
call fcn.004604db
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004600c3
inc edi
lea ecx, [esp + 0x14]
call fcn.0040c0b0
mov ecx, dword [0x49073c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x408d94
xor esi, esi
cmp edi, esi
jle 0x408fee
mov ecx, dword [0x4907d4]
cmp dword [ecx - 8], esi
jle 0x408fee
lea edx, [esp + 0x10]
push 0x489588
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00460358
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x11
call fcn.004601fc
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004600c3
lea ecx, [esp + 0x10]
push 0x4907d4
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004602f2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x12
call fcn.004601fc
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004600c3
push edi
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045fe38
mov ecx, ebp
call fcn.00409d90
push 0x490728
lea ecx, [esp + 0x14]
call fcn.0046024c
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 0x18
call fcn.004600c3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0x17
call fcn.004600c3
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0x16
call fcn.004600c3
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0x15
call fcn.004600c3
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0x14
call fcn.004600c3
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0x13
call fcn.004600c3
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.004600c3
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.00433e02
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call fcn.004600c3
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret