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

Disassembly:
push 0xffffffffffffffff
push 0x456c22
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x472cc0]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cc0]
xor eax, esp
push eax
lea eax, [esp + 0x1d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ec]
mov ebp, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x1f0]
mov edi, dword [esp + 0x1e8]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4039d6
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x60]
call fcn.00401f50
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x1dc], ebx
je 0x403a31
lea esi, [eax - 1]
cmp eax, esi
ja 0x403a07
call fcn.00438bfa
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x403a16
lea eax, [esp + 0x5c]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403a31
cmp al, 0x5c
je 0x403a31
push 1
push 0x45b7d4
lea ecx, [esp + 0x60]
call fcn.00402150
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403a36
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x60]
call fcn.00402150
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp dword [esp + 0x70], edi
jae 0x403a5f
lea eax, [esp + 0x5c]
lea edx, [esp + 0x90]
push edx
push eax
call dword [0x45b318]
mov dword [esp + 0x14], eax
mov esi, 0xf
mov eax, ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403a88
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.00401f50
cmp dword [esp + 0x14], 0xffffffff
mov byte [esp + 0x1dc], 1
jne 0x403ae7
cmp dword [esp + 0x54], edi
jb 0x403ac0
mov eax, dword [esp + 0x40]
push eax
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x403adf
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041d7e6
add esp, 4
or eax, 0xffffffff
jmp 0x403e0f
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x403b25
lea esi, [eax - 1]
cmp eax, esi
ja 0x403afb
call fcn.00438bfa
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x403b0a
lea eax, [esp + 0x40]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403b25
cmp al, 0x5c
je 0x403b25
push 1
push 0x45b7d4
lea ecx, [esp + 0x44]
call fcn.00402150
lea eax, [esp + 0xbc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403b30
sub eax, edx
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x44]
call fcn.00402150
lea eax, [esp + 0xbc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403b57
sub eax, edx
cmp eax, 4
jbe 0x403c14
test byte [esp + 0x90], 0x10
jne 0x403c14
cmp byte [esp + 0x1f4], bl
je 0x403b8f
lea eax, [esp + 0x3c]
push eax
call fcn.00402050
add esp, 4
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x403c04
push edi
lea ecx, [esp + 0x78]
call fcn.004023c0
cmp byte [esp + 0x1f4], bl
mov byte [esp + 0x1dc], 2
je 0x403bbf
lea ecx, [esp + 0x74]
push ecx
call fcn.00402050
add esp, 4
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004028c0
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x1e0], 3
call fcn.004038b0
lea ecx, [esp + 0x20]
call fcn.0041ab70
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 1
call fcn.0041ab70
jmp 0x403c18
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
call fcn.004038b0
jmp 0x403c18
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
push ecx
call dword [0x45b31c]
test eax, eax
je 0x403dbe
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403c38
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.00401f50
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x403c8c
lea esi, [eax - 1]
cmp eax, esi
ja 0x403c62
call fcn.00438bfa
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x403c71
lea eax, [esp + 0x40]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403c8c
cmp al, 0x5c
je 0x403c8c
push 1
push 0x45b7d4
lea ecx, [esp + 0x44]
call fcn.00402150
lea eax, [esp + 0xbc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403c96
sub eax, edx
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x44]
call fcn.00402150
test byte [esp + 0x90], 0x10
jne 0x403da3
cmp byte [esp + 0x1f4], bl
je 0x403cd7
lea eax, [esp + 0x3c]
push eax
call fcn.00402050
add esp, 4
cmp edi, ebx
je 0x403d95
mov eax, edi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403d00
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x7c]
call fcn.00401f50
cmp byte [esp + 0x1f4], bl
mov byte [esp + 0x1dc], 4
je 0x403d34
lea ecx, [esp + 0x74]
push ecx
call fcn.00402050
add esp, 4
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004028c0
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x1e0], 5
call fcn.004038b0
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x403d75
mov edx, dword [esp + 0x24]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x8c], esi
mov byte [esp + 0x1dc], 1
jb 0x403da3
mov eax, dword [esp + 0x78]
push eax
call fcn.0041d7e6
add esp, 4
jmp 0x403da3
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004038b0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x90]
push edx
push eax
call dword [0x45b31c]
test eax, eax
jne 0x403c33
call dword [0x45b34c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x45b320]
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x403de7
mov edx, dword [esp + 0x40]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x403e0a
mov eax, dword [esp + 0x5c]
push eax
call fcn.0041d7e6
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.00439913
add esp, 0x1cc
ret