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

Disassembly:
push 0xffffffffffffffff
push 0x440480
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x44e170]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e170]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x78]
xor esi, esi
lea ebp, [edi + 4]
push ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], eax
call fcn.00407d00
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
call fcn.00408e20
mov dword [esp + 0x70], 1
cmp dword [ebx + 0x14], esi
jle 0x4093da
lea ebx, [ebx]
mov eax, dword [edi]
push dword [ebx + 0xc]
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.00407080
test al, al
je 0x409528
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi]
jne 0x4093d4
mov esi, dword [ebx + 0x14]
dec esi
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x4093b0
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], eax
call fcn.00407d00
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 2
call fcn.00408e20
xor al, al
mov byte [esp + 0x70], 3
mov ecx, dword [edi]
mov byte [esp + 0x1b], al
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
push dword [eax + 0xc]
mov ecx, edi
call fcn.00407080
test al, al
je 0x409489
cmp byte [esp + 0x7c], 0
je 0x409552
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.00406a50
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.004066c0
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
lea ecx, [ecx]
mov ecx, dword [ebx + 0x18]
cmp ecx, 0xffffffff
je 0x4094a7
mov eax, esi
inc esi
cmp eax, ecx
jge 0x409556
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00406a50
push dword [ebx + 0xc]
mov ecx, edi
call fcn.00407080
test al, al
je 0x409556
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov ecx, edi
push dword [eax + 0xc]
call fcn.00407080
test al, al
je 0x409515
cmp byte [esp + 0x7c], 0
je 0x409552
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.00406a50
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.004066c0
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x409556
mov dword [esp + 0x1c], eax
jmp 0x409490
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00406a50
lea eax, [esp + 0x58]
push eax
lea ecx, [edi + 0x14]
call fcn.004066c0
xor bl, bl
jmp 0x4095aa
mov bl, 1
jmp 0x409588
mov bl, byte [esp + 0x1b]
lea eax, [esp + 0x44]
lea esi, [esp + 0x24]
test bl, bl
cmove esi, eax
mov eax, dword [esi]
lea ecx, [esi + 4]
mov dword [edi], eax
mov eax, dword [ecx + 0xc]
push ecx
mov ecx, ebp
mov dword [ebp + 0xc], eax
call fcn.00406a50
lea eax, [esi + 0x14]
push eax
lea ecx, [edi + 0x14]
call fcn.004066c0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x409599
push eax
call fcn.0040ec3f
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4095aa
push eax
call fcn.0040ec3f
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4095bb
push eax
call fcn.0040ec3f
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4095cc
push eax
call fcn.0040ec3f
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040ec44
add esp, 0x60
ret 8