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

Disassembly:
push 0xffffffffffffffff
push 0x44a388
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x462e60]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462e60]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x78]
mov ebp, 0xf
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401f30
mov ecx, dword [esp + 0x38]
push ebx
push 0x44d690
push ecx
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 1
call fcn.00401500
test eax, eax
jne 0x405983
mov esi, dword [esi + 0x20]
mov edi, 0x10
cmp dword [esp + 0x3c], edi
jb 0x405959
mov edx, dword [esp + 0x28]
push edx
call fcn.00415b52
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
jb 0x40597c
mov eax, dword [esp + 0x74]
push eax
call fcn.00415b52
add esp, 4
mov eax, esi
jmp 0x405c3b
mov ecx, dword [esi + 0x20]
push 1
push ebx
mov dword [esp + 0x1c], ecx
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
push 1
push ebx
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
test eax, eax
jne 0x405bfc
cmp dword [esp + 0x14], ebx
je 0x405bfc
push 1
push ebx
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
add eax, 1
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.004017f0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00401f30
push ebx
push 0x44d690
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
call fcn.00402080
push 1
push ebx
push 0x44d69c
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.004042f0
cmp eax, ebx
jge 0x405a45
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401f30
push ebx
push 0x44d690
lea ecx, [esp + 0x2c]
call fcn.00402080
jmp 0x405bb5
push 1
push ebx
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
mov edi, dword [esp + 0x28]
mov ebp, eax
jb 0x405c5c
cmp edi, ebx
mov esi, edi
je 0x405a93
cmp edx, 0x10
mov eax, edi
jae 0x405a7a
lea eax, [esp + 0x28]
cmp eax, esi
ja 0x405a93
cmp edx, 0x10
mov eax, edi
jae 0x405a89
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp esi, eax
jbe 0x405aa0
call fcn.00431767
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x24]
cmp eax, 0xfffffffe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
je 0x405ae5
cmp edx, 0x10
mov ecx, edi
jae 0x405abc
lea ecx, [esp + 0x28]
mov ebx, dword [esp + 0x38]
lea eax, [esi + ebp]
add ecx, ebx
cmp eax, ecx
ja 0x405ad8
cmp edx, 0x10
mov ecx, edi
jae 0x405ad4
lea ecx, [esp + 0x28]
cmp eax, ecx
jae 0x405ae5
call fcn.00431767
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
cmp edx, 0x10
lea ebx, [esi + ebp]
jb 0x405c65
test edi, edi
mov ebp, edi
je 0x405b1b
cmp edx, 0x10
mov eax, edi
jae 0x405b02
lea eax, [esp + 0x28]
cmp eax, ebp
ja 0x405b1b
cmp edx, 0x10
mov eax, edi
jae 0x405b11
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp ebp, eax
jbe 0x405b20
call fcn.00431767
mov edx, dword [esp + 0x58]
cmp edx, 0x10
mov eax, dword [esp + 0x44]
lea edi, [esp + 0x24]
jb 0x405c6e
test eax, eax
mov esi, eax
je 0x405b5d
cmp edx, 0x10
mov ecx, eax
jae 0x405b46
lea ecx, [esp + 0x44]
cmp ecx, esi
ja 0x405b5d
cmp edx, 0x10
jae 0x405b53
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x54]
add eax, edx
cmp esi, eax
jbe 0x405b62
call fcn.00431767
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push ebx
push edx
push ebp
push edi
lea eax, [esp + 0x54]
push esi
push eax
push esi
push eax
mov ecx, eax
call fcn.00405210
push 1
push 0
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
push eax
push 0
lea ecx, [esp + 0x2c]
call fcn.004017f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00401f30
mov esi, dword [esp + 0x18]
mov ebp, 0xf
xor ebx, ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call fcn.004052e0
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x68], 1
jb 0x405be3
mov edx, dword [esp + 0x44]
push edx
call fcn.00415b52
add esp, 4
push 1
push ebx
push 0x44d69c
lea ecx, [esp + 0x30]
call fcn.004042f0
test eax, eax
je 0x4059b4
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x405c14
mov eax, dword [esp + 0x28]
push eax
call fcn.00415b52
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
jb 0x405c37
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00415b52
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431e6f
add esp, 0x58
ret 0x1c
lea esi, [esp + 0x28]
jmp 0x405a6f
lea ebp, [esp + 0x28]
jmp 0x405af7
lea esi, [esp + 0x44]
jmp 0x405b3b