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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [ebx], edx
mov edx, dword [eax + 0x14]
lea ecx, [edx + 0x1e]
add edx, 0xf
cmovs edx, ecx
sar edx, 4
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x18]
mov ecx, edx
add ecx, 0x1e
mov dword [esp + 0x28], edx
add edx, 0xf
cmovs edx, ecx
mov ecx, dword [eax + 0x25c]
sar edx, 4
mov dword [ebx + 0x34], edx
xor edx, edx
cmp dword [eax + 0x1c], 4
setge dl
test ecx, ecx
lea edx, [edx + edx + 1]
mov dword [ebx + 0x108], edx
jne 0x80ef8a
mov ebp, dword [eax + 0x260]
test ebp, ebp
je 0x80f014
cmp edx, 3
mov dword [ebx + 0x104], 0
je 0x80f01e
mov edi, dword [eax + 0x200]
test edi, edi
jne 0x80f477
mov esi, dword [eax + 0x9c]
test esi, esi
jne 0x80f477
mov ecx, dword [eax + 0x8c]
test ecx, ecx
jne 0x80f518
mov edx, dword [eax + 0x68]
test edx, edx
jg 0x80f518
mov ebp, dword [eax + 0x94]
test ebp, ebp
jne 0x80f518
cmp dword [eax + 0x310], 0
jne 0x80f518
cmp dword [eax + 0x204], 0
jg 0x80f518
mov dword [ebx + 4], 0x42
xor esi, esi
mov edx, 1
mov edi, 1
mov ecx, 0x42
jmp 0x80f033
mov dword [ebx + 0x104], 1
mov dword [ebx + 4], 0xf4
mov esi, 0xb2
xor edx, edx
xor edi, edi
mov ecx, 0xf4
mov dword [ebx + 0x10], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
cmp edx, 9
mov dword [ebx + 8], edx
je 0x80f491
cmp dword [eax + 0x58], 1
je 0x80f4b2
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x24], ecx
jne 0x80f407
xor ecx, ecx
mov edx, dword [eax + 0x54]
mov esi, 1
cmp dword [eax + 0x68], 0
setne cl
mov dword [ebx + 0xfc], ecx
cmp edx, esi
cmovge esi, edx
cmp esi, ecx
jg 0x80f3f0
add ecx, 1
mov esi, dword [eax + 0x50]
mov edx, 0x10
cmp ecx, esi
cmovl ecx, esi
cmp ecx, 0x10
cmovg ecx, edx
xor edx, edx
cmp dword [esp + 0x24], 1
mov esi, ecx
mov dword [ebx + 0x100], ecx
sete dl
sub esi, edx
mov edx, dword [eax + 0x58]
mov dword [ebx + 0x28], esi
cmp edx, 1
je 0x80f500
cmp dword [esp + 0x24], 1
mov edi, dword [eax + 0x64]
sbb esi, esi
add esi, 2
imul esi, ecx
add esi, 1
test edi, edi
jne 0x80f3d0
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x2c], edx
cmp esi, 0xf
mov dword [ebx + 0x1c], 4
jle 0x80f114
mov edx, 5
mov edi, 1
mov ecx, edx
mov ebp, edi
shl ebp, cl
add edx, 1
cmp esi, ebp
jge 0x80f104
mov dword [ebx + 0x1c], ecx
mov edx, dword [eax + 0x68]
test edx, edx
je 0x80f3b2
cmp dword [esp + 0x24], 1
lea esi, [edx*4 + 8]
mov dword [ebx + 0x20], 0
sbb ecx, ecx
add ecx, 2
imul esi, ecx
mov dword [ebx + 0x24], 4
cmp esi, 0xf
jle 0x80f160
mov edx, 5
mov edi, 1
mov ecx, edx
mov ebp, edi
shl ebp, cl
add edx, 1
cmp ebp, esi
jle 0x80f150
mov dword [ebx + 0x24], ecx
mov edx, dword [eax + 0x94]
mov dword [ebx + 0x58], 1
mov dword [ebx + 0x2c], 0
test edx, edx
jne 0x80f186
mov ecx, dword [eax + 0x310]
test ecx, ecx
je 0x80f466
mov ebp, dword [ebx + 0x34]
mov ecx, 1
mov dword [ebx + 0x38], 0
add ebp, 1
and ebp, 0xfffffffe
mov dword [ebx + 0x34], ebp
mov esi, dword [eax + 0x2cc]
shl ebp, 4
mov dword [ebx + 0x3c], edx
mov edx, dword [esp + 0x2c]
mov edi, dword [eax + 0x2d0]
mov dword [ebx + 0x40], 1
mov dword [ebx + 0x48], esi
mov esi, dword [eax + 0x2d8]
sub esi, dword [esp + 0x28]
shl edx, 4
sub edx, dword [eax + 0x14]
add esi, ebp
mov ebp, dword [eax + 0x2cc]
add edx, dword [eax + 0x2d4]
shr esi, cl
mov ecx, 1
mov dword [ebx + 0x50], edi
test ebp, ebp
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x54], esi
jne 0x80f1f8
test edi, edi
je 0x80f452
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x5c], 0
test edx, edx
jle 0x80f21d
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jle 0x80f21d
mov dword [ebx + 0x5c], 1
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], ecx
mov ecx, dword [eax + 0x34]
lea edx, [ecx - 1]
cmp edx, 1
setbe dl
movzx edx, dl
test edx, edx
mov dword [ebx + 0x68], edx
je 0x80f23e
xor edx, edx
cmp ecx, 2
sete dl
mov dword [ebx + 0x6c], edx
mov ebp, dword [eax + 0x3c]
mov esi, 5
cmp dword [eax + 0x38], 5
cmovbe esi, dword [eax + 0x38]
mov dword [ebx + 0x70], 0
cmp ebp, 1
mov dword [ebx + 0x74], esi
jbe 0x80f268
xor edx, edx
cmp dword [eax + 0x1c], 5
setg dl
mov ebp, edx
mov edx, dword [eax + 0x40]
mov edi, 2
mov ecx, dword [eax + 0x44]
mov dword [ebx + 0x78], ebp
mov dword [ebx + 0x7c], 0
cmp edx, 9
cmovae edx, edi
cmp ecx, 0xb
cmovb edi, ecx
mov dword [esp + 0x24], edi
mov dword [ebx + 0x84], edi
mov edi, dword [eax + 0x48]
mov dword [ebx + 0x80], edx
cmp edi, 8
jbe 0x80f2ae
xor ecx, ecx
cmp dword [eax + 0x1c], 6
setl cl
mov edi, ecx
add edi, edi
cmp edx, 2
mov dword [ebx + 0x88], edi
je 0x80f4e5
mov dword [ebx + 0x7c], 1
mov edx, 1
cmp esi, 5
je 0x80f4d0
mov dword [ebx + 0x70], 1
mov edx, dword [eax + 0x4c]
lea ecx, [edx - 1]
cmp ecx, 4
setbe cl
movzx ecx, cl
test ecx, ecx
mov dword [ebx + 0x8c], ecx
je 0x80f2fe
mov dword [ebx + 0x90], edx
mov dword [ebx + 0x94], edx
mov edx, dword [eax + 0x300]
test edx, edx
je 0x80f316
mov ecx, dword [eax + 0x304]
test ecx, ecx
jne 0x80f423
mov dword [ebx + 0x98], 0
xor edx, edx
cmp dword [eax + 0x28], 0
mov dword [ebx + 0xac], 0
setne dl
mov dword [ebx + 0xa8], edx
mov edx, dword [eax + 0x30c]
mov dword [ebx + 0xe4], 1
mov dword [ebx + 0xe8], 1
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xe0], edx
mov edx, dword [eax + 0x21c]
mov eax, 1
mov dword [ebx + 0xf0], 0
shl edx, 2
cmp edx, 1
jle 0x80f39e
sub edx, 1
cvtsi2ss xmm0, edx
movss dword [esp], xmm0
call fcn.008eb2d0
fstp dword [esp + 0x1c]
cvttss2si eax, dword [esp + 0x1c]
add eax, 1
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xf4], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [eax + 0x94]
test esi, esi
jne 0x80f11f
mov dword [ebx + 0x20], 2
jmp 0x80f160
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x2c], ecx
sub ecx, 1
cmp edx, dword [esp + 0x2c]
cmovge edx, ecx
add edx, dword [eax + 0x68]
cmp esi, edx
cmovl esi, edx
jmp 0x80f0ee
cmp dword [esp + 0x24], 1
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 4
cmp ecx, edx
cmovl ecx, edx
jmp 0x80f096
mov dword [ebx + 0xfc], 2
mov edx, dword [eax + 0x54]
mov ecx, 2
mov esi, 4
jmp 0x80f086
add ecx, ecx
mov dword [ebx + 0x9c], edx
xor edx, edx
cmp dword [eax + 0x2f0], 0
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xa0], ecx
sete dl
mov dword [ebx + 0xa4], edx
jmp 0x80f320
test edx, edx
jne 0x80f1f8
xor ecx, ecx
test esi, esi
setne cl
jmp 0x80f1f8
mov dword [ebx + 0x38], 1
mov ebp, dword [ebx + 0x34]
xor ecx, ecx
jmp 0x80f19e
mov dword [ebx + 4], 0x64
mov esi, 0x22
xor edx, edx
xor edi, edi
mov ecx, 0x64
jmp 0x80f033
cmp esi, 0x16
ja 0x80f056
cmp dword [eax + 0x58], 1
mov dword [ebx + 0x18], 1
mov dword [ebx + 8], 0xb
jne 0x80f060
cmp ecx, 0x6e
je 0x80f4c3
cmp ecx, 0xf4
jne 0x80f060
mov dword [ebx + 0x18], 1
jmp 0x80f060
test ebp, ebp
jne 0x80f2d2
test edx, edx
je 0x80f2d9
jmp 0x80f2d2
cmp dword [esp + 0x24], 2
jne 0x80f2bd
xor dl, dl
cmp edi, 2
jne 0x80f2bd
jmp 0x80f2c9
mov dword [ebx + 0x28], 0
xor ecx, ecx
mov dword [ebx + 0x100], 0
jmp 0x80f0cc
mov dword [ebx + 4], 0x4d
mov esi, 0xb
mov edx, 1
xor edi, edi
mov ecx, 0x4d
jmp 0x80f033