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

Disassembly:
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
dec ebx
push ebx
push eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x34], ebx
call eax
cmp dword [esp + 0x2c], 0
jne 0x409c9a
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x409d7d
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jne 0x409d60
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00406ac0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4099d3
mov edx, dword [esi + 8]
mov dword [edx + 8], eax
jmp 0x409a0e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4099d6
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x4099f3
mov eax, esi
call fcn.00429560
mov edx, dword [esp + 0x20]
mov ebx, dword [esi + 8]
push edi
push edx
push esi
call fcn.0042f120
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 8], 4
mov eax, dword [esp + 0x14]
add dword [esi + 8], 0x10
push eax
call dword [0x47927c]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x409a2f
mov eax, esi
call fcn.00429560
mov ebx, dword [esi + 8]
push 0x20
push 0
push 0
push esi
call fcn.0044a040
mov edi, eax
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x1c]
mov dword [edi], edx
mov dword [eax + 0x1c], edi
mov al, byte [eax + 0x14]
and al, 3
mov byte [edi + 5], al
xor eax, eax
push 0x10
push eax
push eax
push esi
mov byte [edi + 4], 5
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
mov word [edi + 6], 0xff
mov dword [edi + 0x10], 0x47d998
call fcn.0044a040
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x1c]
add esp, 0x20
cmp eax, 1
jge 0x409aa3
shl eax, 4
lea ebx, [ebx]
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx + 8], 0
add eax, 0x10
cmp eax, 0x10
jl 0x409a90
push esi
mov eax, 1
mov dword [edi + 0x1c], 1
call fcn.00427010
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 8], 5
add dword [esi + 8], 0x10
push 8
call fcn.0045571d
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
xor ebx, ebx
mov byte [esp + 0x78], 1
cmp edi, ebx
je 0x409aff
mov eax, dword [esp + 0x10]
mov dword [edi], 0x47e398
mov dword [edi + 4], eax
cmp eax, ebx
je 0x409af9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], edi
jmp 0x409b03
mov dword [esp + 0x20], ebx
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x409d43
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
movzx edi, word [eax + 0x2e]
push eax
mov eax, dword [edx + 0x4c]
push ecx
call eax
mov dword [esp + 0x1c], ebx
cmp edi, ebx
je 0x409c52
invalid
add byte [ebx - 0x74efdbbc], cl
or byte [ebp + 0x52182454], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
dec edi
push edi
push eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x40], edi
call eax
cmp eax, ebx
jne 0x409cd3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00406ac0
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x409ba0
mov edx, dword [esi + 8]
mov dword [edx + 8], ebx
add dword [esi + 8], 0x10
jmp 0x409be5
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409ba3
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x409bc0
mov eax, esi
call fcn.00429560
mov edx, dword [esp + 0x30]
mov edi, dword [esi + 8]
push ebx
push edx
push esi
call fcn.0042f120
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
mov edi, dword [esp + 0x40]
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
push eax
call dword [0x47927c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push ebx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push esi
mov dword [ecx + 0xc], eax
call fcn.0040f3d0
mov eax, dword [esi + 8]
lea edx, [eax - 0x10]
lea ecx, [eax - 0x30]
push edx
add eax, 0xffffffe0
push eax
push ecx
push esi
call fcn.00429eb0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add dword [esi + 8], 0xffffffe0
mov ecx, dword [eax]
add esp, 0x28
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov dword [esp + 0x18], ebx
cmp edi, ebx
jne 0x409b41
mov eax, dword [esi + 8]
lea edx, [eax - 0x10]
lea ecx, [eax - 0x30]
push edx
add eax, 0xffffffe0
push eax
push ecx
push esi
call fcn.00429eb0
mov ecx, dword [esp + 0x30]
add dword [esi + 8], 0xffffffe0
add esp, 0x10
cmp ecx, ebx
je 0x409c7e
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x409c92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
test ebx, ebx
jne 0x409950
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
test eax, eax
je 0x409cbb
push eax
call fcn.00455672
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x44], 0x47c5ec
mov dword [esp + 0x4c], 0x47c5e4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x78], 2
lea ebx, [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x48], 3
call fcn.00406a10
push 0x47c6d4
mov esi, ebx
call fcn.004088c0
mov eax, dword [0x494b14]
push eax
call fcn.004088c0
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, 0x47c588
call fcn.00406e40
add esp, 4
push 0x48f810
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x80], 0
call fcn.0045ee84
push 3
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.00401730
push 0x48f810
lea edx, [esp + 0x5c]
push edx
call fcn.0045ee84
push 3
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.00401730
push 0x48f810
lea edx, [esp + 0x5c]
push edx
call fcn.0045ee84
push 3
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.00401730
push 0x48f810
lea edx, [esp + 0x5c]
push edx
call fcn.0045ee84
push ebx
push 1
lea eax, [esp + 0x60]
push eax
call fcn.00401650
push 0x48f810
lea ecx, [esp + 0x5c]
push ecx
call fcn.0045ee84
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
call fcn.00401650
push 0x48f810
lea eax, [esp + 0x5c]
push eax
call fcn.0045ee84
int3