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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447061
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4621a4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4621a4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [ecx + 0x3c], esi
mov dword [esp + 0x18], ecx
je 0x403bc0
cmp byte [ecx + 0x41], 0
je 0x403bc0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x403ba8
lea eax, [esp + 0x60]
push eax
call fcn.00403380
mov dword [esp + 0x90], esi
lea esi, [esp + 0x3c]
lea ecx, [esp + 0x60]
call fcn.00403620
mov edi, eax
lea esi, [esp + 0x30]
lea ecx, [esp + 0x60]
mov byte [esp + 0x90], 1
call fcn.00403620
mov ebx, eax
mov esi, edi
mov byte [esp + 0x90], 2
call fcn.00404000
mov ecx, dword [esp + 0x78]
mov esi, ebx
mov edi, eax
mov dword [esp + 0x24], ecx
call fcn.00404000
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
add esi, edi
push esi
push eax
lea eax, [ebx + 0x44]
push eax
mov eax, dword [edx + 0x18]
call eax
push 3
lea ecx, [esp + 0x2c]
mov edi, eax
mov byte [esp + 0x94], 1
call fcn.0040c3d0
mov byte [esp + 0x90], 3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4039ed
cmp dword [eax], 0xfffffffd
je 0x4039ed
cmp dword [eax], 0
mov esi, eax
je 0x4039c3
mov eax, dword [esi]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x4039c3
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4039b0
cmp dword [esi], 0
jne 0x4039df
push 0xb2
push 0x45bd60
push 0x45bdc4
call fcn.0040c6b0
add esp, 0xc
mov edx, dword [esp + 0x34]
mov dword [esi], edx
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 1
call fcn.0040c410
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 0
call fcn.0040c3d0
mov byte [esp + 0x90], 4
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x403a6d
cmp dword [esi], 0xfffffffd
je 0x403a6d
cmp dword [esi], 0
je 0x403a48
jmp 0x403a30
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x403a43
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x403a30
cmp dword [esi], 0
jne 0x403a5f
push 0xb2
push 0x45bd60
push 0x45bdc4
call fcn.0040c6b0
add esp, 0xc
mov edx, dword [esp + 0x40]
mov dword [esi], edx
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 0
call fcn.0040c410
mov eax, edi
sub eax, 0
je 0x403aa7
sub eax, 1
je 0x403aab
sub eax, 2
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x60]
jne 0x403ba3
jmp 0x403bbb
mov byte [ebx + 0x41], 0
lea esi, [esp + 0x48]
lea ecx, [esp + 0x60]
call fcn.00403620
mov esi, eax
mov byte [esp + 0x90], 5
call fcn.00404000
mov ebx, dword [esp + 0x1c]
push 3
lea ecx, [esp + 0x30]
sub ebx, eax
mov byte [esp + 0x94], 0
call fcn.0040c3d0
lea edi, [esp + 0x48]
mov byte [esp + 0x90], 6
call fcn.00401150
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0
call fcn.0040c410
test ebx, ebx
jbe 0x403b44
lea esi, [esp + 0x54]
lea ecx, [esp + 0x60]
call fcn.00403620
mov byte [esp + 0x90], 7
or dword [esp + 0x14], 1
mov esi, eax
call fcn.00404000
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x4c]
push edx
push ebx
push 1
push eax
call fcn.0040d410
add esp, 0x10
cmp ebx, eax
mov byte [esp + 0x13], 1
jne 0x403b49
mov byte [esp + 0x13], 0
mov dword [esp + 0x90], 0
test byte [esp + 0x14], 1
je 0x403b69
and dword [esp + 0x14], 0xfffffffe
lea edi, [esp + 0x54]
call fcn.00401070
cmp byte [esp + 0x13], 0
jne 0x403b94
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x41], 0
je 0x403bac
test ebx, ebx
jne 0x40391a
push ebx
lea eax, [ebx + 8]
lea edi, [esp + 0x64]
call fcn.00403410
jmp 0x40391a
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00401ef0
xor al, al
jmp 0x403bc2
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00401ef0
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040d8f0
mov esp, ebp
pop ebp
ret