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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1000
or dword [esp], 0
sub esp, 0xcc
xor esi, esi
mov edi, eax
mov dword [esp + 0x2c], edx
mov eax, dword [0x1005044]
mov dword [esp + 0x10bc], eax
xor eax, eax
mov eax, 0x15
cmp eax, dword [edi]
mov eax, esi
sbb eax, dword [edi + 4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jb 0x809f70
mov eax, 8
mov dword [edi + 0x1c], eax
xor eax, eax
mov edx, dword [esp + 0x10bc]
sub edx, dword [0x1005044]
jne 0x80a5ae
add esp, 0x10cc
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x68]
mov eax, edi
call fcn.00809c60
test eax, eax
je 0x80a450
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0xbc]
mov dword [esp + 0x10], 0x16
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov eax, dword [edi + 0x44]
mov dword [esp + 0x30], edx
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, 0x16
jne 0x80a0b0
cmp dword [esp + 0xbc], 0x6054b50
jne 0x809f48
mov edx, dword [esp + 0x30]
mov eax, 0x4b
cmp eax, edx
sbb esi, ebp
jge 0x80a0c0
lea eax, [esp + 0x70]
mov dword [esp + 8], 0xffffffec
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0x14
call fcn.007df270
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, 0x14
jne 0x80a0c0
cmp dword [esp + 0x70], 0x7064b50
jne 0x80a0c0
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
add eax, 0xffffffc8
adc edx, 0xffffffff
cmp eax, esi
mov eax, edx
sbb eax, ecx
jb 0x809f48
lea eax, [esp + 0x84]
mov dword [esp + 0x10], 0x38
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, 0x38
mov eax, dword [edi + 0x48]
mov dword [esp + 0x30], eax
jne 0x80a0c7
cmp dword [esp + 0x84], 0x6064b50
jne 0x80a0c7
mov dword [eax + 0x34], 1
jmp 0x80a0c7
mov eax, edi
mov edi, ebp
mov dword [esp], eax
call fcn.007de1d8
lea esi, [esi]
mov eax, 0x14
jmp 0x809f4d
mov eax, dword [edi + 0x48]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xc8]
movzx esi, word [esp + 0xc6]
movzx eax, word [esp + 0xc4]
movzx ebp, word [esp + 0xc0]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x30]
mov dword [edi + 0x10], esi
movzx edx, word [esp + 0xc2]
mov ebx, dword [ebx + 0x34]
mov ecx, dword [esp + 0xcc]
test ebx, ebx
jne 0x80a460
movzx ebx, bp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], 0
cmp eax, esi
jne 0x80a518
mov ecx, dword [esp + 0x3c]
mov eax, ecx
or eax, edx
je 0x80a142
cmp ecx, 1
jne 0x80a518
cmp edx, 1
jne 0x80a518
mov eax, 0x2e
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mul esi
mov ecx, ebp
cmp ebp, eax
mov ebp, ebx
sbb ebp, edx
jb 0x80a440
mov eax, ecx
mov ecx, dword [edi + 4]
add eax, dword [esp + 0x40]
mov edx, ebx
adc edx, dword [esp + 0x44]
cmp dword [edi], eax
sbb ecx, edx
jb 0x80a440
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
and ebx, 0x800
mov dword [edi + 8], eax
mov dword [esp + 0x58], ebx
mov dword [edi + 0xc], edx
test esi, esi
je 0x80a4fd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebx, eax
cmp dword [eax + 8], ecx
jb 0x80a540
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebp, ebx
mov dword [eax + 4], ecx
cmp dword [ebx + 0x18], esi
jb 0x80a55f
mov dword [ebx + 0x14], esi
mov ebx, dword [esp + 0x58]
test ebx, ebx
jne 0x80a1e1
mov ebx, dword [edi + 0x10]
mov eax, ebp
cmp dword [ebp + 0x28], ebx
jb 0x80a591
mov dword [ebp + 0x24], ebx
mov ebp, eax
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
mov eax, dword [ebp]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, ebx
jne 0x80a0b0
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x10]
mov eax, dword [eax]
test edx, edx
je 0x80a4fd
cmp ebx, 0x2d
jbe 0x80a440
mov dword [esp + 0x2c], 0
mov ebx, eax
mov ebp, edi
jmp 0x80a32e
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, esi
not eax
or eax, edi
je 0x80a294
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
not eax
or eax, edx
je 0x80a294
mov ecx, dword [ebx + 0xa]
test ecx, ecx
jne 0x80a274
mov eax, esi
mov edx, edi
xor eax, dword [esp + 0x48]
xor edx, dword [esp + 0x4c]
or eax, edx
jne 0x80a58a
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, eax
or ecx, edx
je 0x80a294
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, eax
or ecx, edx
je 0x80a58a
movzx eax, word [ebx + 0x22]
cmp eax, 0xffff
je 0x80a511
cmp dword [esp + 0x3c], eax
je 0x80a2b2
cmp eax, 1
jne 0x80a511
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, esi
not eax
or eax, edi
je 0x80a2df
mov eax, dword [ebx + 0x2a]
xor edx, edx
mov ecx, dword [ebp + 4]
add eax, esi
adc edx, edi
add eax, 0x1e
adc edx, 0
cmp dword [ebp], eax
sbb ecx, edx
jb 0x80a58a
test byte [ebx + 9], 0x20
jne 0x80a618
movzx edx, word [ebx + 0x1c]
movzx eax, word [ebx + 0x1e]
mov ecx, dword [esp + 0x38]
lea eax, [edx + eax + 0x2e]
movzx edx, word [ebx + 0x20]
add eax, edx
cmp ecx, eax
jb 0x80a58a
sub ecx, eax
add dword [esp + 0x2c], 1
add ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jae 0x80a611
cmp dword [esp + 0x38], 0x2d
jbe 0x80a58a
cmp dword [ebx], 0x2014b50
jne 0x80a58a
mov edi, dword [ebp + 0x48]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.007df290
mov ecx, dword [esp + 0x2c]
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x80a363
mov eax, dword [edi + 0x20]
mov dword [eax + ecx*4], ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
mov edi, dword [edi + 0x38]
xor ecx, ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x30], eax
movzx esi, word [ebx + 0x1e]
mov dword [esp + 0x4c], ecx
movzx eax, word [ebx + 0x1c]
mov dword [esp + 0x48], edx
mov ecx, dword [ebx + 0x2a]
test edi, edi
jne 0x80a23b
test esi, esi
je 0x80a23b
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x30], edi
mov dword [esp + 0x50], ecx
mov edi, dword [esp + 0x34]
sbb edi, dword [esp + 0x4c]
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x48]
cmovae edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, edi
mov edi, dword [esp + 0x4c]
cmovae edi, dword [esp + 0x34]
cmp edx, ecx
mov ecx, edi
sbb ecx, dword [esp + 0x54]
cmovb edx, dword [esp + 0x50]
cmovb edi, dword [esp + 0x54]
not edx
or edx, edi
jne 0x80a23b
movzx edx, ax
lea eax, [esi + edx + 0x2e]
cmp dword [esp + 0x38], eax
jb 0x80a5b3
lea edi, [ebx + edx + 0x2e]
xor ecx, ecx
mov dword [esp + 0x50], ebx
jmp 0x80a431
movzx eax, word [edi + 2]
movzx ebx, word [edi]
lea edx, [eax + 4]
cmp esi, edx
jb 0x80a436
cmp bx, 1
je 0x80a635
add edi, edx
mov edx, 0xfffffffc
sub edx, eax
add esi, edx
je 0x80a624
cmp esi, 3
ja 0x80a408
mov dword [esp], ecx
mov edi, ebp
call fcn.007de1d8
mov eax, 9
jmp 0x809f4d
mov eax, 7
jmp 0x809f4d
mov ebx, dword [esp + 0x9c]
mov edx, 0x2b
cmp edx, dword [esp + 0x88]
mov edx, 0
sbb edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0xb0]
jae 0x80a440
cmp ecx, 1
jne 0x80a518
cmp esi, 0
ja 0x80a522
mov dword [edi + 0x10], eax
mov esi, eax
cmp ebp, 0
ja 0x80a522
cmp ebx, 0
ja 0x80a52c
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0xb8]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ecx
jmp 0x80a11e
xor eax, eax
mov edx, dword [esp + 0x58]
test edx, edx
je 0x80a536
mov eax, 1
jmp 0x809f52
mov edi, ebp
lea esi, [esi]
nop
mov eax, 0xa
jmp 0x809f4d
mov eax, 2
jmp 0x809f4d
mov eax, 0xf
jmp 0x809f4d
mov edx, dword [edi + 0x48]
call fcn.0080a650
jmp 0x80a507
mov dword [esp], 0
mov edx, eax
mov eax, edi
call fcn.00805780
test eax, eax
je 0x80a580
mov esi, dword [edi + 0x10]
mov ebx, dword [edi + 0x48]
jmp 0x80a1ad
mov dword [esp], 0
lea edx, [ebx + 0x10]
mov ecx, esi
mov eax, edi
call fcn.00805780
test eax, eax
je 0x80a580
mov ebp, dword [edi + 0x48]
jmp 0x80a1c3
mov edi, ebp
mov eax, 0x10
jmp 0x809f4d
mov edi, ebp
jmp 0x80a440
xor ecx, ecx
lea edx, [ebp + 0x20]
mov eax, edi
mov dword [esp], ecx
mov ecx, ebx
call fcn.00805780
test eax, eax
je 0x80a580
mov eax, dword [edi + 0x48]
jmp 0x80a1dc
call fcn.00401690
mov dword [esp], esi
mov dword [esp + 0x5c], edx
call fcn.007de1e0
mov edi, eax
test eax, eax
je 0x80a57e
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], esi
add eax, 0x2e
adc edx, 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], edx
xor edx, edx
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x44]
mov dword [esp], eax
call dword [ebp + 0x38]
cmp eax, esi
jne 0x80a0a1
mov ecx, edi
jmp 0x80a402
mov edi, ebp
jmp 0x80a4ff
mov edi, ebp
mov eax, 5
jmp 0x809f4d
mov ebx, dword [esp + 0x50]
mov dword [esp], ecx
call fcn.007de1d8
jmp 0x80a23b
mov eax, dword [ebp + 0x48]
mov esi, 1
mov ebx, dword [esp + 0x50]
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
jmp 0x80a628