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

Disassembly:
push 0xffffffffffffffff
push 0x452a9d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4646fc]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4646fc]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
xor edi, edi
xor eax, eax
mov word [esp + 0xa8], ax
mov eax, ecx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x405ce5
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.00405180
mov dword [esp + 0xcc], edi
lea edi, [esp + 0x14]
lea ebx, [esp + 0xa4]
mov dword [esp + 0x14], 0x2e
call fcn.00408350
mov esi, eax
cmp esi, 0xffffffff
jne 0x405d49
cmp dword [esp + 0xbc], 8
jb 0x405d42
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0043a44b
add esp, 4
xor eax, eax
jmp 0x4062a0
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xb0]
call fcn.004081e0
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
mov bl, 2
mov byte [esp + 0xcc], bl
mov eax, dword [esp + 0x54]
mov edi, 8
cmp dword [esp + 0x68], edi
jae 0x405d96
lea eax, [esp + 0x54]
push str..exe
push eax
call fcn.0044e597
add esp, 8
test eax, eax
jne 0x405dfc
push 3
push 0x456a70
lea ecx, [ebp + 0x38]
call fcn.00405180
push esi
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xb0]
call fcn.004081e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 3
call fcn.00405600
mov byte [esp + 0xcc], bl
cmp dword [esp + 0x30], edi
jb 0x405e84
mov edx, dword [esp + 0x1c]
push edx
jmp 0x405e7c
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x405e0a
lea eax, [esp + 0x54]
push str..part
push eax
call fcn.0044e597
add esp, 8
push 0xffffffffffffffff
push 0
test eax, eax
jne 0x405e33
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x78]
call fcn.00405600
jmp 0x405e84
lea ecx, [esp + 0x58]
push ecx
lea ecx, [ebp + 0x38]
call fcn.00405600
push esi
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xb0]
call fcn.004081e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 4
call fcn.00405600
mov byte [esp + 0xcc], bl
cmp dword [esp + 0x30], edi
jb 0x405e84
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043a44b
add esp, 4
lea edi, [esp + 0x14]
lea ebx, [esp + 0x6c]
mov dword [esp + 0x14], 0x2e
call fcn.00408350
mov esi, eax
cmp esi, 0xffffffff
jne 0x405f1d
mov esi, 8
cmp dword [esp + 0x84], esi
jb 0x405ebb
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043a44b
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0x68], esi
jb 0x405eea
mov eax, dword [esp + 0x54]
push eax
call fcn.0043a44b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
cmp dword [esp + 0xbc], esi
jb 0x405d42
mov edx, dword [esp + 0xa8]
push edx
call fcn.0043a44b
add esp, 4
xor eax, eax
jmp 0x4062a0
push 4
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x78]
call fcn.004081e0
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 5
call fcn.00405600
mov ebx, 8
mov byte [esp + 0xcc], 2
cmp dword [esp + 0x30], ebx
jb 0x405f68
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043a44b
add esp, 4
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x405f76
lea eax, [esp + 0x54]
push str.part
push eax
call fcn.0044e597
add esp, 8
test eax, eax
je 0x405fe6
cmp dword [esp + 0x84], ebx
jb 0x405f9e
mov eax, dword [esp + 0x70]
push eax
call fcn.0043a44b
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x70], cx
cmp dword [esp + 0x68], ebx
jb 0x405fcb
mov edx, dword [esp + 0x54]
push edx
call fcn.0043a44b
add esp, 4
xor eax, eax
cmp dword [esp + 0xbc], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x54], ax
jmp 0x405d30
add esi, 5
push esi
push edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x78]
call fcn.004081e0
push 0xffffffffffffffff
push edi
push eax
mov ecx, ebp
mov byte [esp + 0xd8], 6
call fcn.00405600
mov byte [esp + 0xcc], 2
cmp dword [esp + 0x30], ebx
jb 0x406027
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043a44b
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x78]
call fcn.004081e0
mov byte [esp + 0xcc], 7
mov ecx, dword [esp + 0x9c]
xor esi, esi
cmp ecx, edi
jbe 0x406091
cmp ecx, esi
ja 0x406060
call 0x43a408
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], ebx
jae 0x406077
lea eax, [esp + 0x8c]
movzx eax, word [eax + esi*2]
add eax, 0xffffffd0
cmp ax, 9
ja 0x406089
inc esi
cmp ecx, esi
ja 0x406060
cmp esi, edi
jne 0x406138
cmp dword [esp + 0xa0], ebx
jb 0x4060aa
mov edx, dword [esp + 0x8c]
push edx
call fcn.0043a44b
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], ax
cmp dword [esp + 0x84], ebx
jb 0x4060dd
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043a44b
add esp, 4
xor edx, edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
cmp dword [esp + 0x68], ebx
jb 0x406105
mov eax, dword [esp + 0x54]
push eax
call fcn.0043a44b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x54], cx
cmp dword [esp + 0xbc], ebx
jb 0x405d42
mov edx, dword [esp + 0xa8]
push edx
call fcn.0043a44b
add esp, 4
xor eax, eax
jmp 0x4062a0
push esi
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x94]
call fcn.004081e0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xd8], bl
call fcn.00405600
mov byte [esp + 0xcc], 7
cmp dword [esp + 0x30], ebx
jb 0x406179
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043a44b
add esp, 4
cmp esi, dword [esp + 0x9c]
jae 0x4061ff
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x94]
call fcn.004081e0
lea esi, [ebp + 0x38]
push esi
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xd8], 9
call fcn.00408710
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov byte [esp + 0xd8], 0xa
call fcn.00405600
cmp dword [esp + 0x30], ebx
jb 0x4061d6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043a44b
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
cmp dword [esp + 0x4c], ebx
jb 0x406204
mov eax, dword [esp + 0x38]
push eax
call fcn.0043a44b
add esp, 4
jmp 0x406204
mov esi, 7
cmp dword [esp + 0xa0], ebx
jb 0x40621d
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0043a44b
add esp, 4
xor edx, edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], dx
cmp dword [esp + 0x84], ebx
jb 0x40624b
mov eax, dword [esp + 0x70]
push eax
call fcn.0043a44b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x70], cx
cmp dword [esp + 0x68], ebx
jb 0x406273
mov edx, dword [esp + 0x54]
push edx
call fcn.0043a44b
add esp, 4
xor eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x54], ax
cmp dword [esp + 0xbc], ebx
jb 0x40629b
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0043a44b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0043a83c
add esp, 0xbc
ret 4