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

Disassembly:
sub esp, 0x3c
test byte [esp + 0x4c], 0x10
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
je 0x80e2fc
test edi, edi
jne 0x80e27e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x10], 0
cmp dword [edi + 0x30], 0
je 0x80e2a3
push edi
push 0x91
push ebx
call fcn.007821c0
add esp, 0xc
test eax, eax
jne 0x80e704
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
je 0x80e2d5
mov esi, dword [edi]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x80e2cb
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x80e2c1
mov esi, dword [esp + 0x1c]
add ecx, 0x14
cmp dword [ecx], 0
jne 0x80e2e8
cmp dword [ecx + 4], 0
cmove esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x80e32a
xor edx, edx
jmp 0x80e32d
mov dword [esp + 0x10], 1
test edi, edi
jne 0x80e286
lea eax, [esp + 0x24]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 1
jmp 0x80e2ef
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x80e339
xor ecx, ecx
jmp 0x80e33c
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x80e347
mov eax, dword [eax + 4]
add ecx, 0x30
add eax, ecx
mov ecx, dword [ebx + 0x6c]
add eax, edx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x80e371
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], eax
cmp dword [esp + 0x14], 0
jne 0x80e3a3
test edi, edi
je 0x80e3a3
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push ebx
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x80e703
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x80e3be
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x80e703
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x80e3dc
push eax
sub esi, eax
add esi, dword [esp + 0x38]
push 0
push esi
call fcn.0086d370
mov esi, dword [esp + 0x3c]
add esp, 0xc
test byte [ebx + 0x9c], 4
jne 0x80e3ed
mov dword [esi], 0x91000000
jmp 0x80e3f3
mov dword [esi], 0x91
test byte [ebx + 0x9c], 4
jne 0x80e41d
movzx eax, byte [esp + 0x13]
mov byte [esi + 4], al
movzx eax, byte [esp + 0x12]
mov byte [esi + 5], al
movzx eax, byte [esp + 0x11]
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
mov byte [esi + 7], al
jmp 0x80e424
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
test byte [ebx + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x80e44e
movzx eax, byte [ecx + 3]
mov byte [esi + 8], al
movzx eax, byte [ecx + 2]
mov byte [esi + 9], al
movzx eax, byte [ecx + 1]
mov byte [esi + 0xa], al
movzx eax, byte [ecx]
mov byte [esi + 0xb], al
jmp 0x80e453
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [ebx + 0x9c], 4
jne 0x80e47a
movzx eax, byte [ecx + 7]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 6]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 5]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 4]
mov byte [esi + 0xf], al
jmp 0x80e480
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x9c]
and eax, 4
test ebp, ebp
jne 0x80e495
mov dword [esi + 0x10], ebp
add esi, 0x14
jmp 0x80e4d2
test eax, eax
jne 0x80e4b7
movzx eax, byte [ebp + 7]
mov byte [esi + 0x10], al
movzx eax, byte [ebp + 6]
mov byte [esi + 0x11], al
movzx eax, byte [ebp + 5]
mov byte [esi + 0x12], al
movzx eax, byte [ebp + 4]
mov byte [esi + 0x13], al
jmp 0x80e4bd
mov eax, dword [ebp + 4]
mov dword [esi + 0x10], eax
push dword [ebp + 4]
add esi, 0x14
push dword [ebp]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebp + 4]
mov eax, dword [ebx + 0x9c]
mov ebp, dword [esp + 0x64]
and eax, 4
test ebp, ebp
jne 0x80e4ea
mov dword [esi], ebp
add esi, 4
jmp 0x80e525
test eax, eax
jne 0x80e50b
movzx eax, byte [ebp + 7]
mov byte [esi], al
movzx eax, byte [ebp + 6]
mov byte [esi + 1], al
movzx eax, byte [ebp + 5]
mov byte [esi + 2], al
movzx eax, byte [ebp + 4]
mov byte [esi + 3], al
jmp 0x80e510
mov eax, dword [ebp + 4]
mov dword [esi], eax
push dword [ebp + 4]
add esi, 4
push dword [ebp]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebp + 4]
test byte [ebx + 0x9c], 4
jne 0x80e54b
mov al, byte [esp + 0x6b]
mov byte [esi], al
mov al, byte [esp + 0x6a]
mov byte [esi + 1], al
mov al, byte [esp + 0x69]
mov byte [esi + 2], al
mov al, byte [esp + 0x68]
mov byte [esi + 3], al
jmp 0x80e551
mov eax, dword [esp + 0x68]
mov dword [esi], eax
test byte [ebx + 0x9c], 4
jne 0x80e578
mov al, byte [esp + 0x6f]
mov byte [esi + 4], al
mov al, byte [esp + 0x6e]
mov byte [esi + 5], al
mov al, byte [esp + 0x6d]
mov byte [esi + 6], al
mov al, byte [esp + 0x6c]
mov byte [esi + 7], al
jmp 0x80e57f
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], eax
test byte [ebx + 0x9c], 4
jne 0x80e5a9
mov ecx, dword [esp + 0x70]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 9], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xa], al
mov byte [esi + 0xb], cl
jmp 0x80e5b0
mov eax, dword [esp + 0x70]
mov dword [esi + 8], eax
test byte [ebx + 0x9c], 4
jne 0x80e5d7
mov al, byte [esp + 0x77]
mov byte [esi + 0xc], al
mov al, byte [esp + 0x76]
mov byte [esi + 0xd], al
mov al, byte [esp + 0x75]
mov byte [esi + 0xe], al
mov al, byte [esp + 0x74]
mov byte [esi + 0xf], al
jmp 0x80e5de
mov eax, dword [esp + 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x9c]
mov ebp, dword [esp + 0x78]
and eax, 4
test ebp, ebp
jne 0x80e5f7
mov dword [esi + 0x10], ebp
add esi, 0x14
jmp 0x80e634
test eax, eax
jne 0x80e619
movzx eax, byte [ebp + 7]
mov byte [esi + 0x10], al
movzx eax, byte [ebp + 6]
mov byte [esi + 0x11], al
movzx eax, byte [ebp + 5]
mov byte [esi + 0x12], al
movzx eax, byte [ebp + 4]
mov byte [esi + 0x13], al
jmp 0x80e61f
mov eax, dword [ebp + 4]
mov dword [esi + 0x10], eax
push dword [ebp + 4]
add esi, 0x14
push dword [ebp]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebp + 4]
test byte [ebx + 0x9c], 4
jne 0x80e65a
mov al, byte [esp + 0x7f]
mov byte [esi], al
mov al, byte [esp + 0x7e]
mov byte [esi + 1], al
mov al, byte [esp + 0x7d]
mov byte [esi + 2], al
mov al, byte [esp + 0x7c]
mov byte [esi + 3], al
jmp 0x80e660
mov eax, dword [esp + 0x7c]
mov dword [esi], eax
cmp dword [esp + 0x14], 0
jne 0x80e6a2
test edi, edi
je 0x80e6a2
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x80e681
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x18]
pop ebp
pop edi
or dword [eax + 0x5c], 4
mov eax, dword [esp + 0x50]
mov dword [eax], esi
mov dword [eax + 4], 1
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x20]
or eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push ebx
call fcn.007b03a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x80e6e9
test edi, edi
je 0x80e6e9
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
cmp ebp, edx
je 0x80e6e9
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x14], 0
jne 0x80e6f4
test edi, edi
jne 0x80e701
push dword [esp + 0x30]
push ebx
call fcn.00767960
add esp, 8
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret