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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d7d1f
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
test esi, esi
push edi
je 0x80fe89
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.0080bd72
mov eax, dword [ebp + 0x1c]
add esp, 4
cmp eax, 1
jbe 0x80f878
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp + 0x1c]
jne 0x80f8b7
mov edx, dword [ebp + 0x860]
mov eax, dword [edx + 0x5bc]
mov ecx, dword [eax + 0x234]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x860]
mov edx, dword [ecx + 0x5bc]
add edx, 0xc
cmp eax, edx
jne 0x80f8b7
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x40], eax
or dword [ebp + 0x44], 0x80000000
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x54]
push 0
push 0
push ecx
push edx
push eax
call fcn.0080cee2
add esp, 0x14
test eax, eax
je 0x80f8e3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
or eax, edx
je 0x80fb36
mov eax, dword [ebp + 0x40]
mov dword [esi + 0xd0], eax
mov ecx, dword [ebp + 0x44]
mov dword [esi + 0xd4], ecx
mov edx, eax
mov eax, dword [ebp + 0x20]
mov edi, ecx
mov ecx, dword [ebp + 0x1c]
or edi, 0xc0000000
cmp eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], eax
jae 0x80fe89
mov ecx, eax
imul ecx, ecx, 0x160
lea edx, [eax + 0x45]
shl edx, 4
add edx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
jmp 0x80f933
mov edi, dword [esp + 0x30]
mov esi, dword [ebp]
mov edx, dword [esi + ecx]
mov ebx, dword [ebp + 0x1c]
add esi, ecx
mov ecx, dword [edx + 0x1c0]
mov edx, dword [edx + 0x1c4]
dec ebx
cmp eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jne 0x80f965
or edx, 0xc0000000
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
or dword [esp + 0x2c], ecx
mov eax, dword [esi + 0xe0]
or edi, edx
cmp eax, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], edi
jne 0x80f9e7
mov eax, dword [esi + 0x10]
test eax, eax
je 0x80f9e7
mov ebx, dword [esi + 0xfc]
cmp ebx, dword [eax + 0x18]
jne 0x80f9e7
mov ebx, dword [esi + 0xf8]
cmp ebx, dword [eax + 0x1c]
jae 0x80f9e7
mov ebx, 1
mov dword [esi + 0xe0], 6
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0xf4], 0
mov eax, dword [eax + 0x78]
test eax, eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov dword [esp + 0x18], ebx
jge 0x80f9e1
fadd qword [0x5e0280]
mov eax, dword [esp + 0x14]
fstp qword [eax]
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x34]
push edi
push ecx
push edx
call fcn.0080cee2
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x80fa59
mov eax, dword [esi + 0x10]
test eax, eax
je 0x80fe5c
push 0x40
call fcn.0083d7f2
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
cmp edi, ebx
mov dword [esp + 0x44], ebx
je 0x80fa45
mov ecx, edi
call fcn.00785a72
mov eax, 1
mov dword [edi], 0x5e5050
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x20], eax
mov byte [edi + 0x2a], al
jmp 0x80fa47
xor edi, edi
test edi, edi
mov dword [esp + 0x44], 0xffffffff
mov ebx, edi
je 0x80fe5c
mov eax, dword [ebp + 0x860]
mov ecx, dword [esp + 0x50]
mov edx, dword [eax + 0x38]
add eax, 0x10
push 0xe8
push ecx
push edx
call fcn.00841a32
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esi + 8], edi
je 0x80fb36
lea eax, [esi + 0xc]
push ebx
push eax
call fcn.0080bce2
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x10]
xor ebx, ebx
add esp, 8
cmp ecx, ebx
je 0x80faf9
mov edx, dword [esi + 0x98]
or edx, dword [esi + 0x9c]
jne 0x80faf0
mov eax, dword [esi + 0xe0]
cmp eax, 3
je 0x80faf0
cmp eax, 9
je 0x80faf0
cmp eax, 4
jne 0x80fad4
mov eax, dword [esi + 0xfc]
cmp eax, dword [ecx + 0x18]
jne 0x80faf0
mov dword [edi], ecx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
jmp 0x80faf6
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0x20]
cmp dword [esp + 0x10], eax
jne 0x80fb4e
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x160]
mov edx, dword [ecx + 0xfc]
inc edx
je 0x80fb4e
mov eax, dword [esi + 0x88]
or eax, dword [esi + 0x8c]
je 0x80fe5c
mov ecx, dword [esi]
mov eax, dword [ecx + 0x16c]
test eax, eax
je 0x80fe5c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp dword [esi + 0xe0], 6
jne 0x80fe5c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x80fe5c
mov ebx, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
lea eax, [esi + 0x88]
mov edx, ebx
or edx, ecx
mov dword [esp + 0x38], ecx
je 0x80fb8f
mov ecx, dword [esi]
mov edx, dword [ecx + 0x16c]
test edx, edx
jne 0x80fb36
lea ecx, [esi + 0xa0]
push eax
call fcn.00807322
test al, al
jne 0x80fba7
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x80fbf8
or ebx, dword [esp + 0x38]
je 0x80fd90
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0x20]
jne 0x80fd90
mov eax, dword [ebp + 0x8f8]
mov ecx, dword [eax + 0xe0]
fild dword [eax + 0xe0]
test ecx, ecx
jge 0x80fbda
fadd qword [0x5e0280]
mov edx, dword [esp + 0x14]
fcomp qword [edx]
fnstsw ax
test ah, 5
jp 0x80fd90
test byte [ebp + 0x884], 0x20
jne 0x80fd90
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 4]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.007e22d2
add esp, 8
test eax, eax
mov dword [edi + 4], eax
je 0x80fc1e
mov cl, byte [eax + 0x2a]
test cl, cl
jne 0x80fc1e
mov byte [eax + 0x2a], 1
test byte [ebp + 0x884], 0x20
je 0x80fc2e
mov eax, 0xffffffff
jmp 0x80fc3a
mov edx, dword [ebp + 0x8f8]
mov eax, dword [edx + 0xe0]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esi + 0xa4]
not ebx
and ebx, ecx
mov ecx, dword [esi + 0xa0]
push ebx
not ebp
and ebp, edx
mov edx, dword [esp + 0x58]
push ebp
push eax
mov eax, dword [edx + 0x860]
push ecx
push eax
mov ecx, edi
call fcn.007c3532
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ecx
jge 0x80fcd6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x80fb36
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x884], 0x20
je 0x80fca1
mov eax, 0xffffffff
jmp 0x80fcad
mov edx, dword [ecx + 0x8f8]
mov eax, dword [edx + 0xe0]
mov edx, dword [esi + 0xa0]
push 0
push eax
mov eax, dword [esi + 0xa4]
push ebx
push ebp
push eax
mov eax, dword [ecx + 0x860]
push edx
push eax
mov ecx, edi
call fcn.007c3532
test eax, eax
jl 0x80fb36
mov eax, dword [edi]
test eax, eax
je 0x80fcf2
mov edx, dword [eax + 0x78]
fild dword [eax + 0x78]
test edx, edx
jge 0x80fcec
fadd qword [0x5e0280]
mov eax, dword [esp + 0x14]
fstp qword [eax]
mov ebp, dword [esp + 0x4c]
lea eax, [esi + 0x90]
lea ebx, [edi + 0xc0]
push eax
mov ecx, ebx
call fcn.00807322
test al, al
je 0x80fd28
lea eax, [esi + 0x90]
push eax
lea ecx, [edi + 0xc8]
call fcn.00807322
test al, al
jne 0x80fdec
mov eax, dword [ebx]
mov dword [esi + 0xa0], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 0xa4], ecx
mov edx, dword [edi + 0xc8]
mov ecx, dword [esi + 0xa4]
mov ebx, eax
or ebx, edx
mov dword [esi + 0xa0], ebx
mov eax, dword [edi + 0xcc]
or ecx, eax
mov dword [esi + 0xa4], ecx
mov ecx, dword [edi + 0xc8]
or ecx, dword [edi + 0xcc]
je 0x80fdbb
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0xc0]
or edx, dword [eax + 0xc4]
je 0x80fd89
mov eax, dword [eax]
test eax, eax
je 0x80fdbb
cmp dword [eax + 0x78], 0x64
jb 0x80fdbb
mov eax, 2
jmp 0x80fdc0
mov ecx, dword [esi + 0x98]
mov dword [edi + 0xc8], ecx
mov edx, dword [esi + 0x9c]
xor eax, eax
mov dword [edi + 0xcc], edx
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], eax
jmp 0x80fcf6
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc8], eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov ebx, ecx
not edx
and edx, dword [esp + 0x2c]
not ebx
and ebx, dword [esp + 0x30]
mov dword [edi + 0xd8], edx
mov dword [edi + 0xdc], ebx
jmp 0x80fdf4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0x20]
je 0x80fe5c
cmp dword [esi + 0xc8], 2
je 0x80fe5c
mov ebx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
push ecx
push eax
or ecx, ebx
or eax, edx
push ecx
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.0080cee2
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x80fe5c
mov ecx, dword [ebp + 0x860]
push 0xe8
push edi
add ecx, 0x10
call fcn.0078fa92
mov dword [esi + 0x154], eax
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x154]
mov edx, dword [ebp + 0x40]
mov dword [ecx + 0xd8], edx
mov eax, dword [ebp + 0x44]
mov dword [ecx + 0xdc], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1c]
inc eax
add edi, 0x10
add ecx, 0x160
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jb 0x80f92f
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret