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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
test byte [esp + 0x50], 0x10
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
je 0x80dad6
test edi, edi
jne 0x80da5e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x30], ecx
je 0x80da7d
push edi
push dword [esp + 0x78]
push ebp
call fcn.007821c0
add esp, 0xc
test eax, eax
jne 0x80de90
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
je 0x80dab0
mov esi, dword [edi]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
nop dword [eax + eax]
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x80daaa
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x80daa0
add ecx, 0x14
cmp dword [ecx], 0
jne 0x80dac3
cmp dword [ecx + 4], 0
cmove ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x80db00
xor esi, esi
jmp 0x80db03
mov dword [esp + 0x14], 1
test edi, edi
jne 0x80da62
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 1
jmp 0x80daca
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x80db0f
xor edx, edx
jmp 0x80db12
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x80db1e
xor ecx, ecx
jmp 0x80db21
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x80db2c
mov eax, dword [eax + 4]
add ecx, 0x24
add eax, ecx
mov ecx, dword [ebp + 0x6c]
add eax, edx
add eax, esi
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x80db58
push eax
mov eax, dword [ecx]
call eax
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x14], 0
jne 0x80db8a
test edi, edi
je 0x80db8a
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push ebp
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x80de90
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x80dba5
lea ecx, [esp + 0x30]
push ecx
push eax
push ebp
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x80de90
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x80dbc3
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 [ebp + 0x9c], 4
jne 0x80dbe9
mov al, byte [esp + 0x77]
mov byte [esi], al
mov al, byte [esp + 0x76]
mov byte [esi + 1], al
mov al, byte [esp + 0x75]
mov byte [esi + 2], al
mov eax, dword [esp + 0x74]
mov byte [esi + 3], al
jmp 0x80dbef
mov eax, dword [esp + 0x74]
mov dword [esi], eax
test byte [ebp + 0x9c], 4
jne 0x80dc19
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 0x80dc20
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
test byte [ebp + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x80dc4a
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 0x80dc4f
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [ebp + 0x9c], 4
jne 0x80dc76
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 0x80dc7c
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x9c]
and eax, 4
test ebx, ebx
jne 0x80dc91
mov dword [esi + 0x10], ebx
add esi, 0x14
jmp 0x80dccd
test eax, eax
jne 0x80dcb3
movzx eax, byte [ebx + 7]
mov byte [esi + 0x10], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x11], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x12], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x13], al
jmp 0x80dcb9
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
push dword [ebx + 4]
add esi, 0x14
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x64]
and eax, 4
test ebx, ebx
jne 0x80dce5
mov dword [esi], ebx
add esi, 4
jmp 0x80dd1f
test eax, eax
jne 0x80dd06
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x80dd0b
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x68]
and eax, 4
test ebx, ebx
jne 0x80dd37
mov dword [esi], ebx
add esi, 4
jmp 0x80dd71
test eax, eax
jne 0x80dd58
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x80dd5d
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x6c]
and eax, 4
test ebx, ebx
jne 0x80dd89
mov dword [esi], ebx
add esi, 4
jmp 0x80ddc3
test eax, eax
jne 0x80ddaa
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x80ddaf
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
test byte [ebp + 0x9c], 4
jne 0x80dde9
mov al, byte [esp + 0x73]
mov byte [esi], al
mov al, byte [esp + 0x72]
mov byte [esi + 1], al
mov al, byte [esp + 0x71]
mov byte [esi + 2], al
mov al, byte [esp + 0x70]
mov byte [esi + 3], al
jmp 0x80ddef
mov eax, dword [esp + 0x70]
mov dword [esi], eax
cmp dword [esp + 0x14], 0
jne 0x80de31
test edi, edi
je 0x80de31
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 0x80de10
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x18]
pop edi
or dword [eax + 0x5c], 4
mov eax, dword [esp + 0x54]
mov dword [eax], esi
mov dword [eax + 4], 1
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
or eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
call fcn.007b03a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x80de76
test edi, edi
je 0x80de76
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
cmp ebx, edx
je 0x80de76
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x14], 0
jne 0x80de81
test edi, edi
jne 0x80de8e
push dword [esp + 0x30]
push ebp
call fcn.00767960
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret