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

Disassembly:
push 0xffffffffffffffff
push 0x457ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x472cc0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cc0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0x98]
push eax
call fcn.00409f70
mov esi, eax
mov eax, dword [esi]
mov ebp, 0x10
xor ebx, ebx
sub eax, ebp
cmp dword [eax + 0xc], 1
mov dword [esp + 0x98], ebx
jle 0x40d49e
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00409810
mov esi, dword [esi]
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d4c0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x78]
call fcn.00401f50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x98], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d4fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x70]
push ebx
push ecx
call fcn.00402840
mov edx, dword [0x471568]
mov eax, edx
add esp, 8
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d523
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00401f50
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xa4], 3
call fcn.00402610
add esp, 0xc
cmp dword [esp + 0x50], ebp
mov byte [esp + 0x98], 5
jb 0x40d573
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jae 0x40d58d
lea eax, [esp + 0x58]
push eax
call fcn.004010d0
add esp, 4
test al, al
je 0x40d77d
push 0x45b7d0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040d1e0
add esp, 0xc
mov edx, dword [esp + 0x34]
cmp edx, ebp
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x98], 6
mov eax, ecx
jae 0x40d5cf
lea eax, [esp + 0x20]
mov ebp, dword [esp + 0x30]
lea edi, [eax + ebp]
cmp edi, ebx
je 0x40d5fa
cmp edx, 0x10
mov eax, ecx
jae 0x40d5e5
lea eax, [esp + 0x20]
cmp eax, edi
ja 0x40d5fa
cmp edx, 0x10
mov eax, ecx
jae 0x40d5f4
lea eax, [esp + 0x20]
add eax, ebp
cmp edi, eax
jbe 0x40d60b
call fcn.00439eae
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x40d75a
cmp ecx, ebx
mov esi, ecx
je 0x40d63a
cmp edx, 0x10
mov eax, ecx
jae 0x40d625
lea eax, [esp + 0x20]
cmp eax, esi
ja 0x40d63a
cmp edx, 0x10
mov eax, ecx
jae 0x40d634
lea eax, [esp + 0x20]
add eax, ebp
cmp esi, eax
jbe 0x40d647
call fcn.00439eae
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp esi, edi
mov eax, esi
je 0x40d667
lea ecx, [ecx]
cmp byte [eax], 0x5c
jne 0x40d658
mov byte [eax], 0x2f
add eax, 1
cmp eax, edi
jne 0x40d650
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edi, 0x10
cmp edx, edi
mov eax, ecx
jae 0x40d676
lea eax, [esp + 0x20]
push eax
call fcn.0041d760
add esp, 4
test eax, eax
je 0x40d763
push 0x1b
mov ebp, 0xf
push 0x45d8a8
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401f50
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x9c]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 7
call fcn.00401e50
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x40d6d5
lea eax, [esp + 0x3c]
push edi
push 0x45ba9c
push eax
mov ecx, esi
call fcn.004250d4
cmp dword [esp + 0x50], edi
jb 0x40d6f6
mov eax, dword [esp + 0x3c]
push eax
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x34], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x40d715
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x40d734
mov edx, dword [esp + 0x58]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x40d756
mov eax, dword [esp + 0x74]
push eax
call fcn.0041d7e6
add esp, 4
xor al, al
jmp 0x40d7b4
lea esi, [esp + 0x20]
jmp 0x40d61a
cmp dword [esp + 0x34], edi
jb 0x40d776
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041d7e6
add esp, 4
mov ebp, edi
mov edi, 0xf
cmp dword [esp + 0x6c], ebp
jb 0x40d790
mov edx, dword [esp + 0x58]
push edx
call fcn.0041d7e6
add esp, 4
cmp dword [esp + 0x88], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x40d7b2
mov eax, dword [esp + 0x74]
push eax
call fcn.0041d7e6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00439913
add esp, 0x88
ret