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

Disassembly:
sub esp, 0x50
cmp dword [0x9bed28], 0
fld qword [esp + 0x5c]
push edi
fst dword [esp + 8]
mov edi, eax
je 0x5c0171
cmp dword [0x9bed18], 0
jne 0x5c0171
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c0173
cmp dword [0xa05c94], 0
jne 0x5bdc55
call fcn.0057c526
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [eax + 0x2c]
push ebx
push ebp
push esi
push ecx
push edx
add eax, 8
push eax
call fcn.005b6a20
fldz
fld qword [esp + 0x74]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x5bdc87
fstp st(0)
mov ebp, 1
jmp 0x5bdca7
lea eax, [esp + 0x20]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
push ecx
push ecx
fstp dword [esp]
xor ebp, ebp
call fcn.0057fe10
add esp, 0xc
mov ebx, dword [edi + 0x2c]
xor esi, esi
and ebx, reloc.WSOCK32.dll_accept
mov dword [esp + 0x38], esi
jns 0x5bdcbd
dec ebx
or ebx, 0xfffffffe
inc ebx
mov eax, dword [edi + 0x30]
and eax, reloc.WSOCK32.dll_accept
mov dword [esp + 0x40], ebx
jns 0x5bdcd0
dec eax
or eax, 0xfffffffe
inc eax
fld dword [esp + 0x64]
push ecx
fst qword [esp + 0x54]
mov dword [esp + 0x38], eax
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fsubr qword [esp + 0x54]
fstp dword [esp + 0x34]
fld dword [esp + 0x6c]
fst qword [esp + 0x54]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 4
fsubr qword [esp + 0x50]
fstp dword [esp + 0x2c]
fldz
fld dword [esp + 0x30]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5bdd31
fchs
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x2c]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x5bdd4e
fxch st(1)
fchs
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fxch st(1)
fld dword [0x881c54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5bde79
fcompp
fnstsw ax
test ah, 0x41
jne 0x5bde7d
fld1
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x44
mov eax, dword [esp + 0x34]
jp 0x5bde46
cmp ebx, eax
jne 0x5bde00
test ebx, ebx
jne 0x5bddce
mov edx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
sar edx, 1
mov dword [esp + 0x6c], edx
fild dword [esp + 0x6c]
sar ecx, 1
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x24]
fild dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fsubr dword [esp + 0x68]
fstp dword [esp + 0x18]
jmp 0x5bdeb4
fild dword [edi + 0x2c]
mov esi, 1
fld qword [0x881950]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fimul dword [edi + 0x30]
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x68]
fstp dword [esp + 0x18]
jmp 0x5bdeb4
test ebx, ebx
fild dword [edi + 0x2c]
fld qword [0x881950]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [edi + 0x30]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x68]
fstp dword [esp + 0x18]
jne 0x5bde38
fld dword [esp + 0x24]
fsub st(1)
fstp dword [esp + 0x24]
test eax, eax
jne 0x5bdeb2
fsubr dword [esp + 0x6c]
fstp dword [esp + 0x6c]
jmp 0x5bdeb4
fild dword [edi + 0x2c]
mov esi, 1
fld qword [0x881950]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [edi + 0x30]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fsub st(1)
fstp dword [esp + 0x1c]
fsubr dword [esp + 0x68]
fstp dword [esp + 0x18]
jmp 0x5bdeb4
fstp st(0)
fstp st(0)
fild dword [edi + 0x2c]
mov dword [esp + 0x38], 1
fld qword [0x881950]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fimul dword [edi + 0x30]
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x68]
fstp dword [esp + 0x18]
jmp 0x5bdfb0
fstp st(0)
test ebp, ebp
jne 0x5bdfb0
cmp ebx, 1
je 0x5bdeca
cmp eax, 1
jne 0x5bdfb0
fld qword [0x881c48]
fld qword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x5bdf9e
fld qword [0x881c38]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x5bdf8e
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bdf12
fld qword [0x881c28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bdf9e
fld qword [0x881c18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bdf30
fld qword [0x881c08]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bdf9e
fld qword [0x881bf8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bdf4e
fld qword [0x881be8]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bdf9e
fld qword [0x881bd8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bdf6c
fld qword [0x881bc8]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bdf9e
fld qword [0x881bb8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bdfac
fcompp
fnstsw ax
test ah, 5
jp 0x5bdfb0
mov dword [esp + 0x3c], 1
jmp 0x5bdfb8
fstp st(1)
mov dword [esp + 0x3c], 1
fstp st(1)
fstp st(0)
jmp 0x5bdfb8
fstp st(0)
mov dword [esp + 0x3c], 1
fstp st(0)
jmp 0x5bdfb8
fstp st(0)
fstp st(0)
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x80], 1
mov edx, dword [0x9beef8]
mov eax, dword [edi + 0x44]
mov ebx, dword [0xb160a8]
mov dword [esp + 0x30], edx
jne 0x5bdfdd
fld dword [0x87a19c]
jmp 0x5bdfdf
fld1
mov ecx, dword [0x9beee0]
fstp dword [esp + 0x2c]
sub ecx, 1
fld dword [esp + 0x2c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x28]
je 0x5be97a
sub ecx, 1
jne 0x5c0167
cmp eax, 1
jne 0x5be43e
cmp esi, eax
jne 0x5be43e
mov eax, dword [edi + 0xa4]
mov ecx, dword [0x9feb00]
cmp ecx, dword [eax]
je 0x5be02f
mov esi, dword [eax]
call fcn.005ad050
cmp dword [0xa05cac], 0
jne 0x5be041
cmp dword [0xa05cb0], 0
je 0x5be052
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
je 0x5be088
cmp eax, 4
jne 0x5be088
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5be1b3
test ecx, ecx
je 0x5be197
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5be0e3
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5be102
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5be117
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5be14e
cmp eax, 2
jne 0x5be125
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5be14e
cmp eax, 6
jne 0x5be12f
lea eax, [ecx - 2]
jmp 0x5be14e
cmp eax, 5
jne 0x5be139
lea eax, [ecx - 2]
jmp 0x5be14e
cmp eax, 3
jne 0x5be143
lea eax, [ecx - 1]
jmp 0x5be14e
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5be197
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov eax, dword [0x9beefc]
mov ecx, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [eax + 0x88], ecx
mov dword [eax + 0x10], ecx
fld dword [edi + 0x60]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [edi + 0x64]
fld dword [esp + 0x6c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x14]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fmul dword [esp + 0x10]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
fmulp st(2)
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax]
fld dword [esp + 0x4c]
fld dword [esp + 0x18]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax + 4]
fld st(1)
fsubrp st(3)
fxch st(2)
fstp dword [eax + 0x78]
fld st(1)
fsub dword [esp + 0x4c]
fstp dword [eax + 0x7c]
fld dword [edi + 0x70]
fsubrp st(4)
fxch st(3)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x50]
fsubr dword [edi + 0x74]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fmul dword [esp + 0x10]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
fmulp st(3)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld st(0)
fadd st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x28]
fstp dword [eax + 0xc8]
fld dword [esp + 0x4c]
fld st(0)
fadd st(4)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x2c]
fstp dword [eax + 0xcc]
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x50]
fstp dword [eax + 0xa0]
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x54]
fstp dword [eax + 0xa4]
fild dword [0xb160c8]
fadd dword [edi + 0x60]
fmul dword [0x9beef0]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x18]
fst dword [eax + 0x68]
fstp dword [eax + 0xb8]
fild dword [0xb160c8]
fadd dword [edi + 0x70]
fmul dword [0x9beef0]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x40]
fst dword [eax + 0x90]
fstp dword [eax + 0xe0]
fild dword [0xb160cc]
fadd dword [edi + 0x64]
fmul dword [0x9beef4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x1c]
fst dword [eax + 0x44]
fstp dword [eax + 0xe4]
fld dword [edi + 0x84]
fiadd dword [0xb160cc]
fmul dword [0x9beef4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x6c]
fst dword [eax + 0x94]
fstp dword [eax + 0xbc]
fld dword [edi + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x20]
fst dword [eax + 0x70]
fstp dword [eax + 0xc0]
fld dword [edi + 0x78]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x48]
fst dword [eax + 0x98]
fstp dword [eax + 0xe8]
fld dword [edi + 0x6c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x24]
fst dword [eax + 0x4c]
fstp dword [eax + 0xec]
fld dword [edi + 0x8c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x74]
pop esi
fst dword [eax + 0x9c]
mov dword [eax + 0xd0], ebx
fstp dword [eax + 0xc4]
mov dword [eax + 0xa8], ebx
mov dword [eax + 0x80], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 8], ebx
add dword [0x9beefc], 0xf0
add dword [0x9beedc], 6
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x50
ret
test eax, eax
jle 0x5c0167
mov ecx, dword [0x9beedc]
add edi, 0x80
mov dword [esp + 0x3c], eax
jmp 0x5be460
mov eax, dword [edi + 0x24]
mov edx, dword [0x9feb00]
cmp edx, dword [eax]
je 0x5be47a
mov esi, dword [eax]
call fcn.005ad050
mov ecx, dword [0x9beedc]
cmp dword [0xa05cac], 0
jne 0x5be48c
cmp dword [0xa05cb0], 0
je 0x5be4a3
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
mov ecx, dword [0x9beedc]
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
je 0x5be4d3
cmp eax, 4
jne 0x5be4d3
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5be5fe
test ecx, ecx
je 0x5be5e2
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5be52e
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5be54d
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5be562
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5be599
cmp eax, 2
jne 0x5be570
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5be599
cmp eax, 6
jne 0x5be57a
lea eax, [ecx - 2]
jmp 0x5be599
cmp eax, 5
jne 0x5be584
lea eax, [ecx - 2]
jmp 0x5be599
cmp eax, 3
jne 0x5be58e
lea eax, [ecx - 1]
jmp 0x5be599
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5be5e2
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov eax, dword [0x9beefc]
mov ecx, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [eax + 0x88], ecx
mov dword [eax + 0x10], ecx
fld dword [edi - 0x20]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [edi - 0x1c]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fadd dword [esp + 0x1c]
fstp dword [eax]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [eax + 4]
fld dword [edi - 0x10]
fsub st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0x50]
fld dword [edi - 0xc]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x28]
fstp dword [eax + 0xc8]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x2c]
fstp dword [eax + 0xcc]
fld dword [edi]
fsub st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0x50]
fld dword [edi + 4]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x50]
fstp dword [eax + 0xa0]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x54]
fstp dword [eax + 0xa4]
fld dword [edi + 0x10]
fsubrp st(2)
fld dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [edi + 0x14]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fadd dword [esp + 0x54]
fstp dword [eax + 0x78]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [eax + 0x7c]
fild dword [0xb160c8]
fadd dword [edi - 0x20]
fmul dword [0x9beef0]
fstp dword [eax + 0x18]
fild dword [0xb160c8]
fadd dword [edi - 0x10]
fmul dword [0x9beef0]
fstp dword [eax + 0x40]
fild dword [0xb160c8]
add edi, 0x60
fadd dword [edi - 0x60]
fmul dword [0x9beef0]
fstp dword [eax + 0x68]
fild dword [0xb160c8]
fadd dword [edi - 0x50]
fmul dword [0x9beef0]
fstp dword [eax + 0x90]
fld dword [eax + 0x68]
fstp dword [eax + 0xb8]
fld dword [eax + 0x40]
fstp dword [eax + 0xe0]
fild dword [0xb160cc]
fadd dword [edi - 0x7c]
fmul dword [0x9beef4]
fstp dword [eax + 0x1c]
fild dword [0xb160cc]
fadd dword [edi - 0x6c]
fmul dword [0x9beef4]
fstp dword [eax + 0x44]
fild dword [0xb160cc]
fadd dword [edi - 0x5c]
fmul dword [0x9beef4]
fstp dword [eax + 0x6c]
fild dword [0xb160cc]
fadd dword [edi - 0x4c]
fmul dword [0x9beef4]
fstp dword [eax + 0x94]
fld dword [eax + 0x6c]
fstp dword [eax + 0xbc]
fld dword [eax + 0x44]
fstp dword [eax + 0xe4]
fld dword [edi - 0x78]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x2c]
fstp dword [eax + 0x20]
fld dword [esp + 0x2c]
fst dword [eax + 0x70]
fstp dword [eax + 0xc0]
fld dword [edi - 0x68]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x2c]
fstp dword [eax + 0x48]
fld dword [esp + 0x2c]
fst dword [eax + 0x98]
fstp dword [eax + 0xe8]
fld dword [edi - 0x74]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x2c]
fstp dword [eax + 0x24]
fld dword [esp + 0x2c]
fst dword [eax + 0x4c]
fstp dword [eax + 0xec]
fld dword [edi - 0x54]
mov dword [eax + 0xd0], ebx
fstp dword [esp + 0x44]
mov dword [eax + 0xa8], ebx
fld dword [esp + 0x44]
mov dword [eax + 0x80], ebx
fst dword [esp + 0x2c]
mov dword [eax + 0x58], ebx
fstp dword [eax + 0x74]
mov dword [eax + 0x30], ebx
fld dword [esp + 0x2c]
mov dword [eax + 8], ebx
fst dword [eax + 0x9c]
fstp dword [eax + 0xc4]
mov ecx, dword [0x9beedc]
add dword [0x9beefc], 0xf0
add ecx, 6
sub dword [esp + 0x3c], 1
mov dword [0x9beedc], ecx
jne 0x5be460
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x50
ret
cmp eax, 1
jne 0x5bf4e6
cmp esi, eax
jne 0x5bf4e6
test ebp, ebp
mov eax, dword [edi + 0xa4]
mov ecx, dword [0x9feb00]
jne 0x5bf1d2
cmp ecx, dword [eax]
je 0x5be9aa
mov esi, dword [eax]
call fcn.005ad050
cmp dword [0xa05cac], 0
jne 0x5be9bc
cmp dword [0xa05cb0], 0
je 0x5be9cd
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
je 0x5bea03
cmp eax, 4
jne 0x5bea03
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5beb2e
test ecx, ecx
je 0x5beb12
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5bea5e
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5bea7d
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5bea92
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5beac9
cmp eax, 2
jne 0x5beaa0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5beac9
cmp eax, 6
jne 0x5beaaa
lea eax, [ecx - 2]
jmp 0x5beac9
cmp eax, 5
jne 0x5beab4
lea eax, [ecx - 2]
jmp 0x5beac9
cmp eax, 3
jne 0x5beabe
lea eax, [ecx - 1]
jmp 0x5beac9
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5beb12
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov esi, dword [0x9beefc]
mov eax, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [esi + 0x64], eax
mov dword [esi + 0x10], eax
fld dword [edi + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x14]
fst dword [esi + 0x4c]
fstp dword [esi + 0x84]
fld dword [edi + 0x78]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x30]
fst dword [esi + 0x68]
fstp dword [esi + 0xa0]
fld dword [edi + 0x6c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x18]
fst dword [esi + 0x34]
fstp dword [esi + 0xa4]
fld dword [edi + 0x8c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x50]
fst dword [esi + 0x6c]
fstp dword [esi + 0x88]
fld dword [edi + 0x60]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [edi + 0x64]
fld dword [esp + 0x6c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x14]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fmul dword [esp + 0x10]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
fmulp st(2)
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi]
fld dword [esp + 0x4c]
fld dword [esp + 0x18]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi + 4]
fld st(1)
fsubrp st(3)
fxch st(2)
fstp dword [esi + 0x54]
fld st(1)
fsub dword [esp + 0x4c]
cmp dword [esp + 0x38], 0
fstp dword [esi + 0x58]
fld dword [edi + 0x70]
fsubrp st(4)
fxch st(3)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x50]
fsubr dword [edi + 0x74]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fmul dword [esp + 0x10]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x54]
fld dword [esp + 0x10]
mov dword [esi + 0x94], ebx
fmulp st(3)
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x40], ebx
fmulp st(1)
mov dword [esi + 0x24], ebx
mov dword [esi + 8], ebx
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld st(0)
fadd st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x1c]
fst dword [esi + 0x8c]
fld dword [esp + 0x4c]
fld st(0)
fadd st(5)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x20]
fst dword [esi + 0x90]
fxch st(4)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x38]
fst dword [esi + 0x70]
fxch st(4)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x3c]
fst dword [esi + 0x74]
je 0x5befcf
mov ecx, dword [esi]
fstp st(0)
cmp ecx, dword [esi + 0x38]
fstp st(0)
fstp st(0)
fld qword [0x881ba8]
je 0x5bed4f
fld dword [esi]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x5bed33
fld dword [esi]
fld st(2)
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bed4f
fld dword [esi]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x5bed9c
fld dword [esi]
fadd st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5bed9e
jmp 0x5bed51
fstp st(1)
fstp st(0)
push ecx
fld dword [esi]
fstp qword [esp + 0x54]
fld dword [esi]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fsubr qword [esp + 0x54]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.0057d624
fcomp qword [0x881b98]
add esp, 4
fnstsw ax
test ah, 5
jnp 0x5bee24
fld qword [0x881ba8]
jmp 0x5bed9e
fstp st(1)
mov edx, dword [esi]
cmp edx, dword [esi + 0x1c]
je 0x5bede5
fld dword [esi]
fld dword [esi + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x5bedc3
fld dword [esi]
fld dword [esi + 0x1c]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bede5
fld dword [esi + 0x1c]
fld dword [esi]
fcompp
fnstsw ax
test ah, 5
jp 0x5bee64
fld dword [esi + 0x1c]
fld dword [esi]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x5bee64
fstp st(0)
push ecx
fld dword [esi]
fstp qword [esp + 0x54]
fld dword [esi]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fsubr qword [esp + 0x54]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.0057d624
fcomp qword [0x881b98]
add esp, 4
fnstsw ax
test ah, 5
jp 0x5bee5e
fld dword [esi]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi]
fld dword [esi + 0x1c]
fsub st(1)
fstp dword [esi + 0x1c]
fld dword [esi + 0x38]
fsub st(1)
fstp dword [esi + 0x38]
fld dword [esi + 0x54]
fsub st(1)
fstp dword [esi + 0x54]
fld dword [esi + 0x70]
fsub st(1)
fstp dword [esi + 0x70]
fsubr dword [esi + 0x8c]
fstp dword [esi + 0x8c]
fld qword [0x881ba8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x3c]
je 0x5beeac
fld dword [esi + 4]
fld dword [esi + 0x3c]
fcompp
fnstsw ax
test ah, 5
jp 0x5bee8c
fld dword [esi + 4]
fld dword [esi + 0x3c]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5beeac
fld dword [esi + 0x3c]
fld dword [esi + 4]
fcompp
fnstsw ax
test ah, 5
jp 0x5beef7
fld dword [esi + 0x3c]
fld dword [esi + 4]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x5beef7
fstp st(0)
push ecx
fld dword [esi + 4]
fstp qword [esp + 0x54]
fld dword [esi + 4]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fsubr qword [esp + 0x54]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.0057d624
fcomp qword [0x881b98]
add esp, 4
fnstsw ax
test ah, 5
jnp 0x5bef8e
fld qword [0x881ba8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x20]
je 0x5bef49
fld dword [esi + 4]
fld dword [esi + 0x20]
fcompp
fnstsw ax
test ah, 5
jp 0x5bef1f
fld dword [esi + 4]
fld dword [esi + 0x20]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bef49
fld dword [esi + 0x20]
fld dword [esi + 4]
fcompp
fnstsw ax
test ah, 5
jp 0x5bf129
fld dword [esi + 0x20]
fld dword [esi + 4]
faddp st(2)
fcompp
fnstsw ax
test ah, 5
jp 0x5bf4cb
jmp 0x5bef4b
fstp st(0)
fld dword [esi + 4]
push ecx
fstp qword [esp + 0x54]
fld dword [esi + 4]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fsubr qword [esp + 0x54]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.0057d624
fcomp qword [0x881b98]
add esp, 4
fnstsw ax
test ah, 5
jp 0x5bf4cb
fld dword [esi + 4]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi + 4]
fld dword [esi + 0x20]
fsub st(1)
fstp dword [esi + 0x20]
fld dword [esi + 0x3c]
fsub st(1)
fstp dword [esi + 0x3c]
fld dword [esi + 0x58]
fsub st(1)
fstp dword [esi + 0x58]
fld dword [esi + 0x74]
fsub st(1)
fstp dword [esi + 0x74]
fsubr dword [esi + 0x90]
fstp dword [esi + 0x90]
jmp 0x5bf4cb
cmp dword [esp + 0x3c], 0
je 0x5bf1b8
cmp dword [esp + 0x40], 0
fld qword [0x881ba8]
je 0x5beff2
mov edx, dword [esi]
cmp edx, dword [esi + 0x38]
je 0x5bf132
fld dword [esi]
fld st(5)
fsub st(2)
fcompp
fnstsw ax
test ah, 5
jp 0x5bf014
fld dword [esi]
fld st(5)
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bf132
fld dword [esi]
fsub st(1)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x5bf032
fld dword [esi]
fadd st(2)
fcomp st(6)
fnstsw ax
test ah, 0x41
je 0x5bf130
mov eax, dword [esi]
cmp eax, dword [esi + 0x1c]
je 0x5bf130
fld dword [esi]
fld st(4)
fsub st(3)
fcompp
fnstsw ax
test ah, 5
jp 0x5bf05f
fld dword [esi]
fld st(4)
fadd st(3)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bf130
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x5bf079
fld dword [esi]
fadd st(1)
fcomp st(3)
fnstsw ax
test ah, 0x41
je 0x5bf132
fstp st(4)
fstp st(1)
fld qword [0x881950]
fxch st(1)
cmp dword [esp + 0x34], 0
je 0x5bf098
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x20]
je 0x5bf178
fld dword [esi + 4]
fld st(3)
fsub st(5)
fcompp
fnstsw ax
test ah, 5
jp 0x5bf0bc
fld dword [esi + 4]
fld st(3)
fadd st(5)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bf178
fld dword [esi + 4]
fsub st(4)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x5bf0dc
fld dword [esi + 4]
fadd st(5)
fcomp st(4)
fnstsw ax
test ah, 0x41
je 0x5bf176
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0x3c]
je 0x5bf176
fld dword [esi + 4]
fld st(2)
fsub st(6)
fcompp
fnstsw ax
test ah, 5
jp 0x5bf108
fld dword [esi + 4]
fld st(2)
fadd st(6)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bf176
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5bf1c5
fld dword [esi + 4]
faddp st(4)
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 5
jnp 0x5bf17a
fstp st(2)
fstp st(1)
fstp st(0)
jmp 0x5bf4cb
fstp st(0)
fld dword [esi]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi]
fsub st(3), st(0)
fxch st(3)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x1c]
fxch st(5)
fsub st(3)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x38]
fld dword [esi + 0x54]
fsub st(4)
fstp dword [esi + 0x54]
fstp dword [esi + 0x70]
fxch st(4)
fstp dword [esi + 0x8c]
jmp 0x5bf085
fstp st(0)
fstp st(3)
fld dword [esi + 4]
fsub st(1)
fstp dword [esi + 4]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x20]
fxch st(2)
fsub st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 0x3c]
fld dword [esi + 0x58]
fsubrp st(2)
fxch st(1)
fstp dword [esi + 0x58]
fstp dword [esi + 0x74]
fstp dword [esi + 0x90]
jmp 0x5bf4cb
fstp st(3)
fstp st(2)
fstp st(1)
fstp st(0)
jmp 0x5bf4cb
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
jmp 0x5bf4cb
cmp ecx, dword [eax]
je 0x5bf1dd
mov esi, dword [eax]
call fcn.005ad050
cmp dword [0xa05cac], 0
jne 0x5bf1ef
cmp dword [0xa05cb0], 0
je 0x5bf200
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
je 0x5bf236
cmp eax, 4
jne 0x5bf236
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5bf361
test ecx, ecx
je 0x5bf345
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5bf291
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5bf2b0
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5bf2c5
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5bf2fc
cmp eax, 2
jne 0x5bf2d3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5bf2fc
cmp eax, 6
jne 0x5bf2dd
lea eax, [ecx - 2]
jmp 0x5bf2fc
cmp eax, 5
jne 0x5bf2e7
lea eax, [ecx - 2]
jmp 0x5bf2fc
cmp eax, 3
jne 0x5bf2f1
lea eax, [ecx - 1]
jmp 0x5bf2fc
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5bf345
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov eax, dword [0x9beefc]
mov ecx, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [eax + 0x64], ecx
mov dword [eax + 0x10], ecx
fld dword [edi + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x14]
fst dword [eax + 0x4c]
fstp dword [eax + 0x84]
fld dword [edi + 0x78]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x30]
fst dword [eax + 0x68]
fstp dword [eax + 0xa0]
fld dword [edi + 0x6c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x18]
fst dword [eax + 0x34]
fstp dword [eax + 0xa4]
fld dword [edi + 0x8c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [eax + 0x50]
fst dword [eax + 0x6c]
fstp dword [eax + 0x88]
fld dword [edi + 0x60]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [edi + 0x64]
fld dword [esp + 0x6c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x14]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax]
fld dword [esp + 0x48]
fld dword [esp + 0x18]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [eax + 4]
fld st(1)
fsubrp st(3)
fxch st(2)
fstp dword [eax + 0x54]
fld st(1)
fsub dword [esp + 0x48]
fstp dword [eax + 0x58]
fld dword [edi + 0x70]
fsubrp st(4)
fxch st(3)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x50]
fsubr dword [edi + 0x74]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fadd st(2)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x1c]
mov dword [eax + 0x94], ebx
fstp dword [eax + 0x8c]
mov dword [eax + 0x78], ebx
fld dword [esp + 0x48]
mov dword [eax + 0x5c], ebx
fld st(0)
mov dword [eax + 0x40], ebx
fadd st(4)
mov dword [eax + 0x24], ebx
mov dword [eax + 8], ebx
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x20]
fstp dword [eax + 0x90]
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x38]
fstp dword [eax + 0x70]
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [eax + 0x3c]
fstp dword [eax + 0x74]
add dword [0x9beefc], 0xa8
add dword [0x9beedc], 6
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x50
ret
test ebp, ebp
jne 0x5bfe1d
test eax, eax
jle 0x5c0167
mov ecx, dword [0x9beedc]
add edi, 0x78
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x2c]
mov edx, dword [0x9feb00]
cmp edx, dword [eax]
je 0x5bf51d
mov esi, dword [eax]
call fcn.005ad050
mov ecx, dword [0x9beedc]
cmp dword [0xa05cac], 0
jne 0x5bf52f
cmp dword [0xa05cb0], 0
je 0x5bf546
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
mov ecx, dword [0x9beedc]
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
je 0x5bf576
cmp eax, 4
jne 0x5bf576
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5bf6a1
test ecx, ecx
je 0x5bf685
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5bf5d1
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5bf5f0
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5bf605
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5bf63c
cmp eax, 2
jne 0x5bf613
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5bf63c
cmp eax, 6
jne 0x5bf61d
lea eax, [ecx - 2]
jmp 0x5bf63c
cmp eax, 5
jne 0x5bf627
lea eax, [ecx - 2]
jmp 0x5bf63c
cmp eax, 3
jne 0x5bf631
lea eax, [ecx - 1]
jmp 0x5bf63c
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5bf685
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov esi, dword [0x9beefc]
mov eax, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [esi + 0x64], eax
mov dword [esi + 0x10], eax
fld dword [edi - 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fstp dword [esi + 0x14]
fld dword [esp + 0x2c]
fst dword [esi + 0x4c]
fstp dword [esi + 0x84]
fld dword [edi]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fstp dword [esi + 0x30]
fld dword [esp + 0x2c]
fst dword [esi + 0x68]
fstp dword [esi + 0xa0]
fld dword [edi - 0xc]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fstp dword [esi + 0x18]
fld dword [esp + 0x2c]
fst dword [esi + 0x34]
fstp dword [esi + 0xa4]
fld dword [edi + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fstp dword [esi + 0x50]
fld dword [esp + 0x2c]
fst dword [esi + 0x6c]
fstp dword [esi + 0x88]
fld dword [edi - 0x18]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [edi - 0x14]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fadd dword [esp + 0x1c]
fstp dword [esi]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esi + 4]
fld dword [edi - 8]
fsub st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0x50]
fld dword [edi - 4]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x1c]
fstp dword [esi + 0x8c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x20]
fstp dword [esi + 0x90]
fld dword [edi + 8]
fsub st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0x50]
fld dword [edi + 0xc]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x54]
fld dword [esp + 0x1c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x38]
fstp dword [esi + 0x70]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0x3c]
fstp dword [esi + 0x74]
fld dword [edi + 0x18]
fsubrp st(2)
fld dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [edi + 0x1c]
fsub dword [esp + 0x6c]
fmul dword [esp + 0x14]
cmp dword [esp + 0x38], 0
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x10]
mov dword [esi + 0x94], ebx
fld st(0)
mov dword [esi + 0x78], ebx
fmulp st(2)
mov dword [esi + 0x5c], ebx
fxch st(4)
mov dword [esi + 0x40], ebx
mov dword [esi + 0x24], ebx
fsubrp st(1)
mov dword [esi + 8], ebx
fstp dword [esp + 0x54]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fadd dword [esp + 0x54]
fstp dword [esi + 0x54]
fld dword [esp + 0x4c]
fadd dword [esp + 0x18]
fstp dword [esi + 0x58]
je 0x5bfc29
fld dword [esi]
push ecx
fstp qword [esp + 0x5c]
fld dword [esi]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fsubr qword [esp + 0x5c]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0057d624
mov ecx, dword [esi]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
add esp, 4
cmp ecx, dword [esi + 0x38]
je 0x5bfa13
fld dword [esi]
fld dword [esi + 0x38]
fld qword [0x881ba8]
fsub st(1), st(0)
fxch st(2)
fcompp
fnstsw ax
test ah, 1
jne 0x5bf998
fld dword [esi]
fld dword [esi + 0x38]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfa19
fld dword [esi + 0x38]
fld dword [esi]
fsub st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bf9b8
fld dword [esi + 0x38]
fld dword [esi]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfa19
fxch st(1)
cmp ecx, dword [esi + 0x1c]
je 0x5bfa77
fld dword [esi]
fld dword [esi + 0x1c]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bf9e7
fld dword [esi]
fld dword [esi + 0x1c]
fadd st(3)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfa77
fld dword [esi + 0x1c]
fld dword [esi]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfa9b
fld dword [esi + 0x1c]
fld dword [esi]
faddp st(3)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5bfa9d
jmp 0x5bfa79
fld qword [0x881ba8]
fld dword [0x881b94]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x5bfa97
fxch st(1)
fcom qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bf9ba
fstp st(1)
fstp st(0)
fld dword [esi]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi]
fld dword [esi + 0x1c]
fsub st(1)
fstp dword [esi + 0x1c]
fld dword [esi + 0x38]
fsub st(1)
fstp dword [esi + 0x38]
fld dword [esi + 0x54]
fsub st(1)
fstp dword [esi + 0x54]
fld dword [esi + 0x70]
fsub st(1)
fstp dword [esi + 0x70]
fsubr dword [esi + 0x8c]
fstp dword [esi + 0x8c]
jmp 0x5bfa9f
fstp st(1)
fld dword [0x881b94]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bfa39
fcomp qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bfa9f
jmp 0x5bfa3b
fstp st(0)
jmp 0x5bfa39
fstp st(1)
fstp st(0)
fld dword [esi + 4]
push ecx
fstp qword [esp + 0x5c]
fld dword [esi + 4]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fsubr qword [esp + 0x5c]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0057d624
mov ecx, dword [esi + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
add esp, 4
cmp ecx, dword [esi + 0x3c]
je 0x5bfb94
fld dword [esi + 4]
fld dword [esi + 0x3c]
fld qword [0x881ba8]
fsub st(1), st(0)
fxch st(2)
fcompp
fnstsw ax
test ah, 1
jne 0x5bfb13
fld dword [esi + 4]
fld dword [esi + 0x3c]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfb9a
fld dword [esi + 0x3c]
fld dword [esi + 4]
fsub st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfb35
fld dword [esi + 0x3c]
fld dword [esi + 4]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfb9a
fxch st(1)
cmp ecx, dword [esi + 0x20]
je 0x5bfc01
fld dword [esi + 4]
fld dword [esi + 0x20]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfb66
fld dword [esi + 4]
fld dword [esi + 0x20]
fadd st(3)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfc01
fld dword [esi + 0x20]
fld dword [esi + 4]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfde8
fld dword [esi + 0x20]
fld dword [esi + 4]
faddp st(3)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5bfdea
jmp 0x5bfc03
fld qword [0x881ba8]
fld dword [0x881b94]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x5bfc25
fxch st(1)
fcom qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bfb37
fstp st(1)
fstp st(0)
fld dword [esi + 4]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi + 4]
fld dword [esi + 0x20]
fsub st(1)
fstp dword [esi + 0x20]
fld dword [esi + 0x3c]
fsub st(1)
fstp dword [esi + 0x3c]
fld dword [esi + 0x58]
fsub st(1)
fstp dword [esi + 0x58]
fld dword [esi + 0x74]
fsub st(1)
fstp dword [esi + 0x74]
fsubr dword [esi + 0x90]
fstp dword [esi + 0x90]
jmp 0x5bfdec
fstp st(1)
fld dword [0x881b94]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bfbbe
fcomp qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bfdec
jmp 0x5bfbc0
fstp st(0)
jmp 0x5bfbbe
cmp dword [esp + 0x3c], 0
je 0x5bfdec
cmp dword [esp + 0x40], 0
je 0x5bfdb5
fld dword [esi]
push ecx
fstp qword [esp + 0x5c]
fld dword [esi]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fsubr qword [esp + 0x5c]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0057d624
mov ecx, dword [esi]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
add esp, 4
cmp ecx, dword [esi + 0x38]
je 0x5bfd29
fld dword [esi]
fld dword [esi + 0x38]
fld qword [0x881ba8]
fsub st(1), st(0)
fxch st(2)
fcompp
fnstsw ax
test ah, 1
jne 0x5bfcae
fld dword [esi]
fld dword [esi + 0x38]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfd2f
fld dword [esi + 0x38]
fld dword [esi]
fsub st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfcce
fld dword [esi + 0x38]
fld dword [esi]
fadd st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfd2f
fxch st(1)
cmp ecx, dword [esi + 0x1c]
je 0x5bfd8d
fld dword [esi]
fld dword [esi + 0x1c]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfcfd
fld dword [esi]
fld dword [esi + 0x1c]
fadd st(3)
fcompp
fnstsw ax
test ah, 0x41
je 0x5bfd8d
fld dword [esi + 0x1c]
fld dword [esi]
fsub st(3)
fcompp
fnstsw ax
test ah, 0x41
jp 0x5bfdb1
fld dword [esi + 0x1c]
fld dword [esi]
faddp st(3)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5bfdb3
jmp 0x5bfd8f
fld qword [0x881ba8]
fld dword [0x881b94]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x5bfdad
fxch st(1)
fcom qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bfcd0
fstp st(1)
fstp st(0)
fld dword [esi]
fld qword [0x881950]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi]
fld dword [esi + 0x1c]
fsub st(1)
fstp dword [esi + 0x1c]
fld dword [esi + 0x38]
fsub st(1)
fstp dword [esi + 0x38]
fld dword [esi + 0x54]
fsub st(1)
fstp dword [esi + 0x54]
fld dword [esi + 0x70]
fsub st(1)
fstp dword [esi + 0x70]
fsubr dword [esi + 0x8c]
fstp dword [esi + 0x8c]
jmp 0x5bfdb5
fstp st(1)
fld dword [0x881b94]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5bfd4f
fcomp qword [0x881b88]
fnstsw ax
test ah, 0x41
jne 0x5bfdb5
jmp 0x5bfd51
fstp st(0)
jmp 0x5bfd4f
fstp st(1)
fstp st(0)
cmp dword [esp + 0x34], 0
je 0x5bfdec
fld dword [esi + 4]
push ecx
fstp qword [esp + 0x5c]
fld dword [esi + 4]
fstp dword [esp]
call fcn.0057afe6
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fsubr qword [esp + 0x5c]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x5bfac6
fstp st(1)
fstp st(0)
mov ecx, dword [0x9beedc]
add dword [0x9beefc], 0xa8
add ecx, 6
add edi, 0x60
sub dword [esp + 0x44], 1
mov dword [0x9beedc], ecx
jne 0x5bf503
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x50
ret
test eax, eax
jle 0x5c0167
mov ecx, dword [0x9beedc]
add edi, 0x78
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x2c]
mov edx, dword [0x9feb00]
cmp edx, dword [eax]
je 0x5bfe4c
mov esi, dword [eax]
call fcn.005ad050
mov ecx, dword [0x9beedc]
cmp dword [0xa05cac], 0
jne 0x5bfe5e
cmp dword [0xa05cb0], 0
je 0x5bfe75
push 0
mov eax, 1
xor ecx, ecx
call fcn.005b46a0
mov ecx, dword [0x9beedc]
add esp, 4
mov esi, dword [0x9beed8]
cmp esi, 1
mov eax, dword [0x9beee4]
je 0x5bfea5
cmp eax, 4
jne 0x5bfea5
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
lea ebp, [ecx + 6]
cmp ebp, dword [edx*4 + 0x87bf90]
jl 0x5bffd0
test ecx, ecx
je 0x5bffb4
mov edx, dword [0x9beee0]
lea edx, [edx + esi*2]
add edx, esi
mov edx, dword [edx*4 + 0x87bfa8]
cmp dword [0xa05cd4], edx
je 0x5bff00
mov eax, dword [0x9bed28]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x164]
push eax
call edx
mov esi, dword [0x9beed8]
mov eax, dword [0x9beee0]
lea ecx, [eax + esi*2]
mov eax, dword [0x9beee4]
add ecx, esi
mov edx, dword [ecx*4 + 0x87bfa8]
mov ecx, dword [0x9beedc]
mov dword [0xa05cd4], edx
test esi, esi
je 0x5bff1f
mov edx, 0x8c0138
call fcn.005a3470
mov eax, dword [0x9beee4]
mov ecx, dword [0x9beedc]
mov esi, dword [0x9beed8]
cmp eax, 4
jne 0x5bff34
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x5bff6b
cmp eax, 2
jne 0x5bff42
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x5bff6b
cmp eax, 6
jne 0x5bff4c
lea eax, [ecx - 2]
jmp 0x5bff6b
cmp eax, 5
jne 0x5bff56
lea eax, [ecx - 2]
jmp 0x5bff6b
cmp eax, 3
jne 0x5bff60
lea eax, [ecx - 1]
jmp 0x5bff6b
sub eax, 1
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [0x9beee0]
mov edx, dword [0x9bed28]
lea ecx, [ecx + esi*2]
add ecx, esi
mov esi, dword [edx]
add ecx, ecx
mov ebp, dword [ecx + ecx + 0x87bfc0]
add ecx, ecx
mov ecx, dword [ecx + 0x9beec0]
push ebp
push ecx
mov ecx, dword [esi + 0x14c]
push eax
mov eax, dword [0x9beee4]
push eax
push edx
call ecx
cmp dword [0x9beed8], 0
je 0x5bffb4
mov edx, 0xb16148
call fcn.005a3470
mov edx, dword [0x9beee0]
mov dword [0x9beedc], 0
mov eax, dword [edx*4 + 0x9beec0]
mov dword [0x9beefc], eax
mov eax, dword [0x9beefc]
mov ecx, dword [esp + 0x30]
mov dword [0x9beed8], 0
mov dword [0x9beee4], 4
mov dword [eax + 0x64], ecx
mov dword [eax + 0x10], ecx
fld dword [edi - 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x2c]
fstp dword [eax + 0x14]
fld dword [esp + 0x2c]
fst dword [eax + 0x4c]
fstp dword [eax + 0x84]
fld dword [edi]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x2c]
fstp dword [eax + 0x30]
fld dword [esp + 0x2c]
fst dword [eax + 0x68]
fstp dword [eax + 0xa0]
fld dword [edi - 0xc]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x2c]
fstp dword [eax + 0x18]
fld dword [esp + 0x2c]
fst dword [eax + 0x34]
fstp dword [eax + 0xa4]
fld dword [edi + 0x14]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x2c]
fstp dword [eax + 0x50]
fld dword [esp + 0x2c]
fst dword [eax + 0x6c]
fstp dword [eax + 0x88]
fld dword [edi - 0x18]
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(3)
fld dword [esp + 0x1c]
fld st(0)
faddp st(4)
fxch st(3)
fstp dword [eax]
fld dword [edi - 0x14]
fld dword [esp + 0x6c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x14]
fld st(0)
fmulp st(3)
fld dword [esp + 0x18]
fld st(0)
faddp st(4)
fxch st(3)
fstp dword [eax + 4]
fld dword [edi - 8]
fsub st(5)
fmul st(4)
fadd st(6)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [eax + 0x1c]
fstp dword [eax + 0x8c]
fld dword [edi - 4]
fsub st(2)
fmul st(1)
fadd st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [eax + 0x20]
fstp dword [eax + 0x90]
fld dword [edi + 8]
fsub st(5)
fmul st(4)
fadd st(6)
add edi, 0x60
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [eax + 0x38]
fstp dword [eax + 0x70]
fld dword [edi - 0x54]
fsub st(2)
fmul st(1)
fadd st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [eax + 0x3c]
fstp dword [eax + 0x74]
fld dword [edi - 0x48]
fsubrp st(5)
fxch st(4)
fmulp st(3)
fxch st(2)
faddp st(4)
fxch st(3)
fstp dword [eax + 0x54]
fsubr dword [edi - 0x44]
mov dword [eax + 0x94], ebx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x5c], ebx
fmulp st(1)
mov dword [eax + 0x40], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 8], ebx
faddp st(1)
fstp dword [eax + 0x58]
mov ecx, dword [0x9beedc]
add dword [0x9beefc], 0xa8
add ecx, 6
sub dword [esp + 0x44], 1
mov dword [0x9beedc], ecx
jne 0x5bfe32
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x50
ret
fstp st(0)
or eax, 0xffffffff
pop edi
add esp, 0x50
ret