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

Disassembly:
push 0xffffffffffffffff
push 0x458a03
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
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.00409e40
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 0x40d71e
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.004097e0
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 0x40d740
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x78]
call fcn.00401f40
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 0x40d77e
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.00402830
mov edx, dword [0x471584]
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 0x40d7a3
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00401f40
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.00402600
add esp, 0xc
cmp dword [esp + 0x50], ebp
mov byte [esp + 0x98], 5
jb 0x40d7f3
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041d9db
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 0x40d80d
lea eax, [esp + 0x58]
push eax
call fcn.004010d0
add esp, 4
test al, al
je 0x40d9fd
push 0x45b7c0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040d460
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 0x40d84f
lea eax, [esp + 0x20]
mov ebp, dword [esp + 0x30]
lea edi, [eax + ebp]
cmp edi, ebx
je 0x40d87a
cmp edx, 0x10
mov eax, ecx
jae 0x40d865
lea eax, [esp + 0x20]
cmp eax, edi
ja 0x40d87a
cmp edx, 0x10
mov eax, ecx
jae 0x40d874
lea eax, [esp + 0x20]
add eax, ebp
cmp edi, eax
jbe 0x40d88b
call fcn.0043a87e
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x40d9da
cmp ecx, ebx
mov esi, ecx
je 0x40d8ba
cmp edx, 0x10
mov eax, ecx
jae 0x40d8a5
lea eax, [esp + 0x20]
cmp eax, esi
ja 0x40d8ba
cmp edx, 0x10
mov eax, ecx
jae 0x40d8b4
lea eax, [esp + 0x20]
add eax, ebp
cmp esi, eax
jbe 0x40d8c7
call fcn.0043a87e
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp esi, edi
mov eax, esi
je 0x40d8e7
lea ecx, [ecx]
cmp byte [eax], 0x5c
jne 0x40d8d8
mov byte [eax], 0x2f
add eax, 1
cmp eax, edi
jne 0x40d8d0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edi, 0x10
cmp edx, edi
mov eax, ecx
jae 0x40d8f6
lea eax, [esp + 0x20]
push eax
call fcn.0041d950
add esp, 4
test eax, eax
je 0x40d9e3
push 0x1b
mov ebp, 0xf
push 0x45d8b0
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401f40
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.00401e40
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x40d955
lea eax, [esp + 0x3c]
push edi
push 0x45ba8c
push eax
mov ecx, esi
call fcn.004252f5
cmp dword [esp + 0x50], edi
jb 0x40d976
mov eax, dword [esp + 0x3c]
push eax
call fcn.0041d9db
add esp, 4
cmp dword [esp + 0x34], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x40d995
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041d9db
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x40d9b4
mov edx, dword [esp + 0x58]
push edx
call fcn.0041d9db
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x40d9d6
mov eax, dword [esp + 0x74]
push eax
call fcn.0041d9db
add esp, 4
xor al, al
jmp 0x40da34
lea esi, [esp + 0x20]
jmp 0x40d89a
cmp dword [esp + 0x34], edi
jb 0x40d9f6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041d9db
add esp, 4
mov ebp, edi
mov edi, 0xf
cmp dword [esp + 0x6c], ebp
jb 0x40da10
mov edx, dword [esp + 0x58]
push edx
call fcn.0041d9db
add esp, 4
cmp dword [esp + 0x88], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x40da32
mov eax, dword [esp + 0x74]
push eax
call fcn.0041d9db
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.0043a2e3
add esp, 0x88
ret