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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
fld qword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
fmul qword [0x5fac28]
mov edx, dword [ebp + 0x10]
or ecx, edx
push ebx
mov ebx, dword [ebp + 8]
fadd qword [ebp + 0x20]
mov eax, dword [ebx + 0x860]
push esi
push edi
mov dword [esp + 0x54], eax
jne 0x80af67
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x80af2c
mov edx, dword [ebx + 0x20]
shl edx, 4
mov ecx, dword [edx + ebx + 0x78]
cmp eax, dword [ecx]
je 0x80af2c
fadd qword [ebp + 0x18]
fcom qword [ebx + 0x830]
fnstsw ax
test ah, 5
jp 0x80bbb0
mov ecx, dword [ebp + 0x14]
shl ecx, 4
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x70]
lea edi, [ebx + 0x450]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fstp qword [ebx + 0x830]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fcomp qword [ebx + 0x830]
fnstsw ax
test ah, 1
je 0x80bbb2
mov ecx, dword [ebp + 0x14]
fld qword [0x5e0218]
mov eax, dword [ebx + 4]
fstp qword [esp + 0x88]
fld qword [0x5e0218]
shl ecx, 2
mov edi, dword [eax + ecx]
fstp qword [esp + 0xa8]
add eax, ecx
test edi, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], edi
je 0x80bbb2
mov edi, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x1c0]
mov ecx, dword [eax + 0x1c4]
mov dword [esp + 0x20], eax
mov eax, esi
and eax, dword [ebp + 0xc]
mov dword [esp + 0x94], ecx
and ecx, edx
or eax, ecx
mov dword [esp + 0x90], esi
je 0x80bb8f
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0xb8]
and eax, ecx
mov ecx, dword [edi + 0xbc]
and ecx, edx
or eax, ecx
jne 0x80bb8f
fld qword [0x5e0218]
mov ecx, dword [edi + 4]
fstp qword [esp + 0x10]
xor eax, eax
cmp ecx, eax
fld qword [0x5e0218]
fstp qword [esp + 0xa0]
mov dword [esp + 0x48], eax
fld qword [0x5e0218]
mov dword [esp + 0x6c], eax
fstp qword [esp + 0x60]
mov byte [esp + 0x27], al
je 0x80b7f0
fld qword [0x5e0218]
mov dword [esp + 0x5c], eax
mov eax, 0xcccccccd
fstp qword [esp + 0xb0]
mul dword [edi + 0xa8]
mov eax, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [esi]
shr edx, 3
cmp ecx, eax
mov dword [esp + 0x3c], edx
jne 0x80b7d7
jmp 0x80b072
mov eax, dword [esi + 0x10]
lea edx, [eax + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xb8]
lea edx, [eax + edx*8]
xor ecx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x14]
xor eax, eax
cmp edx, 0x1a
sete al
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x84], eax
mov ecx, dword [esi + 0x14]
fld qword [0x5e0218]
xor eax, eax
fstp qword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edi, edi
mov edi, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edi
and eax, ecx
mov ecx, ebx
and ecx, edx
or eax, ecx
jne 0x80b160
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x4c]
test edx, eax
mov dword [esp + 0x30], eax
jne 0x80b160
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
or ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, edi
or ecx, edx
mov edx, ebx
or edx, eax
mov eax, dword [ebp + 8]
push edx
push ecx
push eax
call fcn.00808082
fcom qword [esp + 0x84]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x80b140
fstp qword [esp + 0x78]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
jmp 0x80b142
fstp st(0)
mov eax, dword [esi + 0x20]
cmp dword [esp + 0x3c], eax
jbe 0x80b14f
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
and eax, 2
or ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0x28
cmp eax, ecx
jne 0x80b184
mov edx, dword [esi + 0x10]
cmp edx, dword [esp + 0x2c]
jne 0x80b184
mov eax, dword [esp + 0xc]
cmp dword [esi + 0x14], eax
je 0x80b0d2
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
or edi, edx
mov edx, dword [esi]
or eax, ebx
cmp edx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
jne 0x80b1b7
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x10], eax
je 0x80b0b5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x80b1d2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x80b7cb
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, 0xa
cmp edx, ecx
jae 0x80b1e3
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x80b1fe
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
jmp 0x80b254
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 8]
mov ecx, 1
mov ebx, ecx
mov ecx, edi
shl ebx, cl
mov byte [esp + 0x27], 1
dec ebx
mov ecx, ebx
mov ebx, dword [esp + 0x50]
cmp ebx, ecx
jne 0x80b448
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x80b448
mov ecx, dword [edx + 4]
and ecx, 0x1041
cmp ecx, 1
mov dword [esp + 0x5c], 0xffffffff
jne 0x80b26b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00808082
fld qword [0x5e0330]
fstp qword [esp + 0x1c]
add esp, 0xc
jmp 0x80b77b
or eax, dword [esp + 0x44]
jne 0x80b2dd
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
push edi
lea ecx, [ebx + 0xa0]
call fcn.00796242
test al, al
je 0x80b2aa
mov edx, dword [ebx + edi*4 + 0x1f4]
fild dword [ebx + edi*4 + 0x1f4]
test edx, edx
jge 0x80b38f
fadd qword [0x5e0280]
jmp 0x80b38f
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xa8]
fild dword [eax + 0xa8]
test ecx, ecx
jge 0x80b2c4
fadd qword [0x5e0280]
mov edx, dword [esp + 0x3c]
fild dword [esp + 0x3c]
test edx, edx
jge 0x80b2d6
fadd qword [0x5e0280]
fdivp st(1)
jmp 0x80b38f
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + edi*4 - 4]
fild dword [eax + edi*4 - 4]
test ecx, ecx
jge 0x80b2f2
fadd qword [0x5e0280]
fst qword [esp + 0x10]
fld qword [0x5e0338]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x80b393
mov eax, dword [esp + 0x20]
fstp st(0)
mov eax, dword [eax + 0x6c]
mov edi, dword [edx]
mov ecx, eax
sub ecx, edi
test ecx, ecx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x80b32c
fadd qword [0x5e0280]
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b33e
fadd qword [0x5e0280]
fdivp st(1)
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0xa8]
test eax, eax
fadd qword [0x5e0330]
fild dword [edx + 0xa8]
jge 0x80b360
fadd qword [0x5e0280]
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x80b372
fadd qword [0x5e0280]
fdivp st(1)
fmulp st(1)
fcom qword [0x5e36d0]
fst qword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x80b393
fstp st(0)
fld qword [0x5e36d0]
fst qword [esp + 0x10]
mov edx, dword [esp + 0x54]
fstp qword [esp + 0x30]
mov eax, dword [edx + 0x9ac]
fild dword [edx + 0x9ac]
test eax, eax
jge 0x80b3b1
fadd qword [0x5e0280]
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x80b3c4
fstp qword [esp + 0x30]
jmp 0x80b3c6
fstp st(0)
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push ecx
lea ecx, [edi + 0xa8]
call fcn.00796242
test al, al
je 0x80b423
mov eax, dword [edi]
mov ecx, dword [eax + 0x90]
mov edx, dword [esp + 0x28]
mov edi, dword [edx]
mov eax, dword [eax + 0x94]
add ecx, edi
shr eax, 1
xor edx, edx
div ecx
inc eax
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b40d
fadd qword [0x5e0280]
fld qword [esp + 0x30]
fadd st(1)
fsub qword [0x5e0330]
fmul qword [ebp + 0x18]
fdivrp st(1)
jmp 0x80b77b
fld qword [esp + 0x30]
mov ecx, dword [esp + 0x38]
fcomp qword [ecx + 0x80]
fnstsw ax
test ah, 5
jp 0x80b769
fld qword [esp + 0x30]
fmul qword [ebp + 0x18]
jmp 0x80b77b
test bl, 1
je 0x80b774
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
push 0
push 0
push eax
call dword [edx + 0x130]
test al, 0x10
je 0x80b483
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, 1
shl edx, cl
dec edx
cmp ebx, edx
jne 0x80b774
mov eax, ebx
xor edi, edi
shr eax, 1
inc edi
test al, 1
jne 0x80b487
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, 1
xor edx, edx
mov dword [esp + 0x5c], edi
add ebx, 0xa0
call fcn.00924782
mov ecx, edx
mov edx, dword [ebx]
mov dword [esp + 0x98], eax
and eax, edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x9c], ecx
and ecx, edx
or eax, ecx
je 0x80b500
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp dword [ecx + eax*4 + 0x2f4], edi
jne 0x80b500
mov ecx, dword [ecx + eax*4 + 0x1f4]
test ecx, ecx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x80b4f3
fadd qword [0x5e0280]
mov edx, dword [esp + 0x20]
fst qword [esp + 0x10]
jmp 0x80b6c3
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x20]
mov eax, dword [ecx + edi*4 - 4]
fild dword [ecx + edi*4 - 4]
test eax, eax
jge 0x80b519
fadd qword [0x5e0280]
fst qword [esp + 0x10]
fld qword [0x5e0338]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x80b537
fstp qword [esp + 0x30]
jmp 0x80b65c
mov eax, dword [edx + 8]
fstp st(0)
mov ecx, dword [ecx + eax*4 - 4]
test ecx, ecx
je 0x80b556
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x80b58a
fadd qword [0x5e0280]
jmp 0x80b58a
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xa8]
fild dword [ecx + 0xa8]
test eax, eax
jge 0x80b570
fadd qword [0x5e0280]
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x80b582
fadd qword [0x5e0280]
fdivp st(1)
fadd qword [0x5e0330]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xa8]
test eax, eax
jne 0x80b5a5
fstp st(0)
fld qword [0x5e0338]
jmp 0x80b639
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b5b7
fadd qword [0x5e0280]
fld st(1)
fdiv st(1)
fcomp qword [0x601f98]
fnstsw ax
test ah, 1
jne 0x80b5cc
fstp st(0)
jmp 0x80b639
test edi, edi
fmul qword [0x601f98]
mov eax, dword [edx + 8]
fld st(1)
mov dword [esp + 0xc], edi
fsub st(1)
fild dword [esp + 0xc]
jge 0x80b5eb
fadd qword [0x5e0280]
test eax, eax
fmulp st(1)
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b5ff
fadd qword [0x5e0280]
fmul st(2)
dec eax
test eax, eax
mov dword [esp + 0xc], eax
faddp st(1)
fsub st(2)
fild dword [esp + 0xc]
jge 0x80b618
fadd qword [0x5e0280]
fdivp st(1)
fstp qword [esp + 0x30]
fstp st(0)
fstp st(0)
fld qword [esp + 0x30]
fcomp qword [0x5e0330]
fnstsw ax
test ah, 5
jp 0x80b63d
fld qword [0x5e0330]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
call fcn.009247a2
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b658
fadd qword [0x5e0280]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00796242
test al, al
mov edx, dword [esp + 0x20]
je 0x80b6ab
mov eax, dword [esp + 0x2c]
cmp dword [edx + eax*4 + 0x2f4], edi
ja 0x80b6ab
mov eax, dword [edx + eax*4 + 0x1f4]
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b696
fadd qword [0x5e0280]
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x80b6a9
fst qword [esp + 0x10]
jmp 0x80b6c3
fstp st(0)
mov eax, dword [esp + 0x4c]
fld qword [esp + 0x30]
test eax, eax
je 0x80b6c3
fadd st(0), st(0)
fld qword [esp + 0x10]
fadd st(0), st(0)
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x9ac]
fild dword [ecx + 0x9ac]
test eax, eax
jge 0x80b6dd
fadd qword [0x5e0280]
fstp qword [esp + 0x78]
fcom qword [esp + 0x78]
fnstsw ax
test ah, 0x41
jne 0x80b6f2
fstp st(0)
fld qword [esp + 0x78]
mov ecx, dword [esp + 0x98]
mov eax, dword [edx + 0xa8]
mov ebx, dword [esp + 0x9c]
and eax, ecx
mov ecx, dword [edx + 0xac]
and ecx, ebx
or eax, ecx
je 0x80b754
mov edx, dword [edx]
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov ecx, dword [edx + 0x90]
mov eax, dword [edx + 0x94]
add ecx, edi
shr eax, 1
xor edx, edx
div ecx
inc eax
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x80b743
fadd qword [0x5e0280]
fxch st(1)
fadd st(1)
fsub qword [0x5e0330]
fmul qword [ebp + 0x18]
fdivrp st(1)
jmp 0x80b77b
mov ecx, dword [esp + 0x38]
fld st(0)
fcomp qword [ecx + 0x80]
fnstsw ax
test ah, 5
jnp 0x80b76f
fstp st(0)
fld qword [ecx + 0x80]
fmul qword [ebp + 0x18]
jmp 0x80b77b
fld qword [esp + 0xa0]
fld qword [esp + 0x10]
fmul qword [0x5fac28]
fld qword [esp + 0xa0]
fsub st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 5
jp 0x80b7c7
mov ecx, dword [esp + 0x1c]
fld st(1)
mov edx, dword [esp + 0x5c]
fadd st(1)
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], edx
fstp qword [esp + 0xa0]
fstp st(0)
fstp qword [esp + 0x60]
fld qword [esp + 0x10]
fstp qword [esp + 0xb0]
jmp 0x80b7cb
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
je 0x80b072
fld qword [esp + 0xb0]
mov edi, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
fstp qword [esp + 0x10]
mov esi, dword [esp + 0x90]
mov ecx, dword [edi + 0xac]
fild dword [edi + 0xac]
test ecx, ecx
jge 0x80b806
fadd qword [0x5e0280]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jnp 0x80b836
mov edx, dword [edi + 0xb0]
fild dword [edi + 0xb0]
test edx, edx
jge 0x80b827
fadd qword [0x5e0280]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 5
jp 0x80ba17
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x80b860
mov eax, dword [esp + 0x48]
test eax, eax
je 0x80b860
mov eax, dword [eax + 0x10]
cmp dword [ecx + 0x18], eax
jne 0x80b860
mov ecx, dword [edi]
mov edx, dword [esp + 0x6c]
cmp edx, dword [ecx + eax*4 + 0x2f4]
jae 0x80ba17
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x12c]
test al, 4
je 0x80b88c
mov eax, dword [edi]
mov ecx, dword [eax + 0xa8]
or ecx, dword [eax + 0xac]
je 0x80b88c
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x80ba17
mov eax, dword [edi]
mov cl, byte [eax + 0x138]
test cl, cl
je 0x80b8a4
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x80ba17
mov eax, dword [edi + 0xac]
mov cl, byte [esp + 0x27]
test cl, cl
mov edx, eax
mov dword [esp + 0x28], edx
je 0x80b8c3
mov ecx, edx
shr ecx, 2
sub edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x80b8f2
sub eax, edx
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x80b8de
fadd qword [0x5e0280]
fmul qword [0x5fac28]
fadd qword [ecx + 0x80]
fmul qword [ebp + 0x18]
jmp 0x80b9a7
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x1c]
fstp qword [esp + 0x30]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x80b931
mov eax, dword [edi + 0xa8]
sub eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x80b922
fadd qword [0x5e0280]
fmul qword [0x5fac28]
fadd qword [esp + 0x30]
fmul qword [ebp + 0x18]
jmp 0x80b9a7
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, ebx
call fcn.00808022
test eax, eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jge 0x80b94e
fadd qword [0x5e0280]
mov edx, dword [esp + 0x58]
fmul qword [ebp + 0x18]
mov eax, dword [edx + 0x93c]
fild dword [edx + 0x93c]
test eax, eax
jge 0x80b96b
fadd qword [0x5e0280]
fdivp st(1)
push ecx
fstp qword [esp]
call fcn.009245f2
fadd qword [0x5e0330]
mov ecx, dword [edi + 0xa8]
sub ecx, dword [esp + 0x30]
add esp, 8
test ecx, ecx
fmul qword [esp + 0x30]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
jge 0x80b99f
fadd qword [0x5e0280]
fmul qword [0x5fac28]
faddp st(1)
fld qword [0x5e0218]
fld qword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x80b9f1
mov edx, dword [esp + 0x28]
fild dword [esp + 0x28]
test edx, edx
jge 0x80b9cc
fadd qword [0x5e0280]
fmul qword [ebp + 0x18]
fmul qword [0x5fac28]
fadd st(1)
fld qword [esp + 0x10]
fmul qword [ebp + 0x18]
fmul qword [0x5fac28]
fadd qword [esp + 0x60]
fcompp
fnstsw ax
test ah, 0x41
jne 0x80ba15
mov eax, dword [esp + 0x28]
fstp qword [esp + 0x60]
test eax, eax
fild dword [esp + 0x28]
jge 0x80ba07
fadd qword [0x5e0280]
fstp qword [esp + 0x10]
mov dword [esp + 0x48], 0
jmp 0x80ba17
fstp st(0)
mov ecx, dword [ebp + 0x14]
fld qword [esp + 0x10]
lea edx, [ecx + 7]
shl edx, 4
mov eax, ecx
fstp qword [edx + ebx]
mov edx, dword [esp + 0x48]
shl eax, 4
add eax, ebx
test edx, edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0x78], edi
jne 0x80ba76
cmp ecx, dword [ebx + 0x20]
jne 0x80ba76
mov edx, dword [edi]
cmp edx, dword [ebx + 0x18]
jne 0x80ba76
mov eax, dword [ebx + 0x8f8]
mov edx, dword [eax + 0xe0]
fild dword [eax + 0xe0]
test edx, edx
jge 0x80ba64
fadd qword [0x5e0280]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x80ba76
mov dword [ebx + 0x18], 1
fld qword [esp + 0x10]
fmul qword [ebp + 0x18]
fld qword [esp + 0x60]
fadd qword [ebp + 0x20]
fld qword [esp + 0x88]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x80bab8
fld qword [esp + 0xa8]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x80bab8
cmp ecx, dword [ebx + 0x20]
jne 0x80bb7f
mov eax, dword [edi]
cmp eax, dword [ebx + 0x18]
jne 0x80bb7f
fld qword [esp + 0x88]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x80bb13
fld qword [esp + 0xa8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x80bb13
mov eax, dword [edi + 0xc0]
mov ecx, dword [ebp + 0xc]
mov edi, dword [edi + 0xc4]
mov edx, dword [ebp + 0x10]
and eax, ecx
and edi, edx
or eax, edi
je 0x80bb03
fld qword [esp + 0x10]
fcomp qword [0x5e36d0]
fnstsw ax
test ah, 5
jp 0x80bb13
fld st(1)
fstp qword [esp + 0x88]
fst qword [esp + 0xa8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x58]
mov edx, dword [edi]
shl eax, 2
mov dword [esp + 0x1c], eax
add eax, ecx
mov ecx, dword [eax]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
inc eax
mov dword [edi], ecx
mov ecx, dword [ebp + 0xc]
fstp qword [esp]
push eax
mov eax, dword [esp + 0xa8]
not eax
and eax, edx
not esi
push eax
and esi, ecx
push esi
push ebx
call fcn.0080aee2
mov ecx, dword [esp + 0x74]
mov al, byte [ecx + 0x1398]
add esp, 0x20
test al, al
jne 0x80bbb2
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edx]
add eax, edx
mov edx, dword [edi]
mov dword [eax], edx
mov dword [edi], ecx
jmp 0x80bb83
fstp st(0)
fstp st(0)
test byte [ebx + 0x884], 2
jne 0x80bbb2
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 4]
add eax, 4
test edi, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], edi
jne 0x80afb2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret