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

Disassembly:
push 0xffffffffffffffff
push 0x456c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x472cc0]
xor eax, esp
mov dword [esp + 0x1e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cc0]
xor eax, esp
push eax
lea eax, [esp + 0x1fc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x210]
mov esi, dword [esp + 0x20c]
mov edi, dword [esp + 0x214]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], bl
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403eb7
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.00401f50
mov eax, dword [esp + 0x78]
cmp eax, ebx
mov dword [esp + 0x204], ebx
je 0x403f12
lea esi, [eax - 1]
cmp eax, esi
ja 0x403ee8
call fcn.00438bfa
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x403ef7
lea eax, [esp + 0x68]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403f12
cmp al, 0x5c
je 0x403f12
push 1
push 0x45b7d4
lea ecx, [esp + 0x6c]
call fcn.00402150
cmp edi, ebx
je 0x404092
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x404092
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x404092
mov ecx, edi
xor ebp, ebp
call fcn.004011e0
test eax, eax
jbe 0x404092
mov byte [esp + 0x1c], 0x5c
mov esi, 0xf
mov edi, edi
mov edx, dword [esp + 0x78]
push 1
add edx, 0xfffffffe
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
call fcn.00401610
mov edi, eax
cmp edi, 0xffffffff
je 0x40407e
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00402a30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401d70
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov byte [esp + 0x204], 1
je 0x403fec
lea esi, [eax - 1]
cmp eax, esi
ja 0x403fc2
call fcn.00438bfa
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x403fd1
lea eax, [esp + 0x30]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403fec
cmp al, 0x5c
je 0x403fec
push 1
push 0x45b7d4
lea ecx, [esp + 0x34]
call fcn.00402150
mov ecx, dword [esp + 0x78]
sub ecx, edi
add ecx, 1
push ecx
add edi, 1
push edi
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x70]
call fcn.00402430
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp dword [esp + 0x44], edi
mov byte [esp + 0x204], 2
jae 0x404023
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x58]
call fcn.004016c0
test eax, eax
je 0x4043c9
cmp dword [esp + 0x60], edi
jb 0x404053
mov eax, dword [esp + 0x4c]
push eax
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x44], edi
mov esi, 0xf
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x204], bl
jb 0x40407e
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041d7e6
add esp, 4
mov ecx, dword [esp + 0x18]
add ebp, 1
call fcn.004011e0
cmp ebp, eax
jb 0x403f60
push 1
push 0x45b7fc
lea ecx, [esp + 0x6c]
call fcn.00402150
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.00401d70
cmp dword [esp + 0xb4], 0x10
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x204], 3
jae 0x4040ef
lea eax, [esp + 0xa0]
lea ecx, [esp + 0xb8]
push ecx
push eax
call dword [0x45b318]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4044ed
jmp 0x404110
test byte [esp + 0xb8], 0x10
je 0x4044d0
mov edi, 0x45b7f8
lea esi, [esp + 0xe4]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4044d0
mov edi, 0x45b7f4
lea esi, [esp + 0xe4]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4044d0
mov esi, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404170
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00401f50
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov byte [esp + 0x204], 4
je 0x4041cc
lea esi, [eax - 1]
cmp eax, esi
ja 0x4041a2
call fcn.00438bfa
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x4041b1
lea eax, [esp + 0x30]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x4041cc
cmp al, 0x5c
je 0x4041cc
push 1
push 0x45b7d4
lea ecx, [esp + 0x34]
call fcn.00402150
lea eax, [esp + 0xe4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4041d6
sub eax, edx
push eax
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402150
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x404231
lea esi, [eax - 1]
cmp eax, esi
ja 0x404207
call fcn.00438bfa
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x404216
lea eax, [esp + 0x30]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x404231
cmp al, 0x5c
je 0x404231
push 1
push 0x45b7d4
lea ecx, [esp + 0x34]
call fcn.00402150
cmp dword [esp + 0x18], ebx
je 0x40447b
mov ecx, dword [esp + 0x18]
call fcn.00401210
test al, al
jne 0x40447b
mov ecx, dword [esp + 0x18]
xor ebp, ebp
call fcn.004011e0
test eax, eax
jbe 0x4043af
mov edi, 0xf
mov edx, dword [esp + 0x40]
push 1
add edx, 0xffffffff
push edx
push 0x45b7d4
lea ecx, [esp + 0x70]
call fcn.00401610
mov esi, eax
cmp esi, 0xffffffff
je 0x40439b
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00402a30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00401d70
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov byte [esp + 0x204], 5
je 0x4042f0
lea edi, [eax - 1]
cmp eax, edi
ja 0x4042c6
call fcn.00438bfa
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x4042d5
lea eax, [esp + 0x4c]
mov al, byte [eax + edi]
cmp al, 0x2f
je 0x4042f0
cmp al, 0x5c
je 0x4042f0
push 1
push 0x45b7d4
lea ecx, [esp + 0x50]
call fcn.00402150
mov eax, dword [esp + 0x40]
sub eax, esi
add eax, 1
push eax
add esi, 1
push esi
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x38]
call fcn.00402430
mov eax, dword [esp + 0x4c]
mov esi, 0x10
cmp dword [esp + 0x60], esi
mov byte [esp + 0x204], 6
jae 0x40432a
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x9c]
push eax
push ebx
lea ecx, [esp + 0x90]
call fcn.004016c0
test eax, eax
je 0x404420
cmp dword [esp + 0x98], esi
jb 0x404366
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x60], esi
mov edi, 0xf
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov byte [esp + 0x204], 4
jb 0x40439b
mov edx, dword [esp + 0x4c]
push edx
call fcn.0041d7e6
add esp, 4
mov ecx, dword [esp + 0x18]
add ebp, 1
call fcn.004011e0
cmp ebp, eax
jb 0x404264
cmp byte [esp + 0x17], bl
je 0x40447b
cmp byte [esp + 0x17], bl
sete dl
mov byte [esp + 0x17], dl
jmp 0x4044b4
cmp dword [esp + 0x60], edi
jb 0x4043dc
mov edx, dword [esp + 0x4c]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x44], edi
mov esi, 0xf
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x404400
mov eax, dword [esp + 0x30]
push eax
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x404548
mov ecx, dword [esp + 0x68]
push ecx
jmp 0x404540
cmp dword [esp + 0x98], esi
mov byte [esp + 0x17], 1
jb 0x40443e
mov eax, dword [esp + 0x84]
push eax
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x4043b9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041d7e6
add esp, 4
cmp byte [esp + 0x17], bl
sete dl
mov byte [esp + 0x17], dl
jmp 0x4044b4
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004038b0
cmp byte [esp + 0x218], bl
je 0x4044b4
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x4044a3
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x18]
push 1
push edx
push esi
push eax
call fcn.00403e40
add esp, 0x10
cmp dword [esp + 0x44], 0x10
mov byte [esp + 0x204], 3
jb 0x4044d0
mov eax, dword [esp + 0x30]
push eax
call fcn.0041d7e6
add esp, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb8]
push ecx
push edx
call dword [0x45b31c]
test eax, eax
jne 0x404110
jmp 0x4044f3
call dword [0x45b34c]
mov eax, dword [esp + 0x20]
push eax
call dword [0x45b320]
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x40451c
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x7c], esi
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x404548
mov edx, dword [esp + 0x68]
push edx
call fcn.0041d7e6
add esp, 4
mov ecx, dword [esp + 0x1fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.00439913
add esp, 0x1f4
ret