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

Disassembly:
push 0xffffffffffffffff
push 0x421f73
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x428060]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428060]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], esi
call fcn.00401d00
lea edi, [esp + 0x28]
call fcn.0040d170
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp]
mov dword [esp + 0x18], ecx
mov ebx, eax
nop
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp]
cmp ecx, esi
je 0x40da3e
cmp ecx, eax
je 0x40da47
call fcn.0040f353
mov ecx, dword [esp + 0x18]
cmp ebx, edi
je 0x40db4b
cmp ecx, esi
jne 0x40dab9
call fcn.0040f353
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40da6c
call fcn.0040f353
mov ecx, dword [esp + 0x18]
cmp byte [ebx + 0x5c], 0
je 0x40dae0
cmp ecx, esi
jne 0x40dabd
call fcn.0040f353
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40da87
call fcn.0040f353
mov ecx, dword [esp + 0x2c]
mov edx, 0x10
cmp dword [esp + 0x40], edx
jae 0x40da9a
lea ecx, [esp + 0x2c]
mov esi, dword [ebx + 0x38]
mov eax, esi
cmp eax, esi
jae 0x40daa3
mov edi, dword [esp + 0x3c]
mov eax, esi
cmp esi, edi
jb 0x40daaf
mov eax, edi
cmp dword [ebx + 0x3c], edx
jb 0x40dac1
mov edx, dword [ebx + 0x28]
jmp 0x40dac4
mov eax, dword [ecx]
jmp 0x40da5e
mov eax, dword [ecx]
jmp 0x40da7d
lea edx, [ebx + 0x28]
call fcn.004038b0
test eax, eax
jne 0x40dada
cmp esi, edi
jb 0x40dada
cmp esi, edi
setne al
test eax, eax
je 0x40db08
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
jne 0x40db04
call fcn.0040f353
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40dafd
call fcn.0040f353
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebx]
jmp 0x40da30
mov eax, dword [ecx]
jmp 0x40daef
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x40db47
call fcn.0040f353
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40db21
call fcn.0040f353
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [ebx + 0x40]
call fcn.00401d00
cmp dword [esp + 0x40], 0x10
jb 0x40dc7d
mov eax, dword [esp + 0x2c]
push eax
jmp 0x40dc75
mov eax, dword [eax]
jmp 0x40db17
mov eax, 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], esi
mov byte [esp + 0x64], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push esi
mov ebx, 1
push ecx
mov byte [esp + 0xb4], bl
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], bl
call fcn.00401d00
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push esi
push edx
lea ecx, [esp + 0x88]
call fcn.00401d00
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x6c]
call fcn.00401d00
mov esi, dword [ebp + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x44]
push ecx
push edx
push esi
call fcn.0040e260
mov ecx, ebp
mov edi, eax
call fcn.0040ebc0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
add dword [ebp + 0x1c], ebx
mov esi, 0x10
cmp dword [esp + 0x94], esi
jb 0x40dc0d
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0040f38f
add esp, 4
xor edi, edi
mov ebx, 0xf
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
cmp dword [esp + 0x78], esi
jb 0x40dc3d
mov edx, dword [esp + 0x64]
push edx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
cmp dword [esp + 0x5c], esi
jb 0x40dc5d
mov eax, dword [esp + 0x48]
push eax
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x40], esi
jb 0x40dc7d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040f38f
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0040efdf
add esp, 0x98
ret 8