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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xd8
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x40], edx
mov eax, dword [0x7adbc0]
xor eax, esp
mov dword [esp + 0xd4], eax
mov esi, dword [esp + 0xec]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
test ebx, 0x8010000
je 0x6586ef
test dword [esp + 0x44], 0x10000
je 0x6586e8
lea eax, [esp + 0x10b]
and eax, 0xfffffffc
movsx eax, byte [eax]
jmp 0x6586f4
mov eax, 0x2c
jmp 0x6586f4
mov eax, 0x2e
cmp dword [esp + 0x50], 0
jle 0x659979
mov ebp, ebx
mov edx, ebp
and edx, 0x80
mov ecx, ebp
mov ebx, edx
and ecx, 0x80000000
shl edx, 0x18
and ecx, edx
shl ebx, 4
shr ecx, 0x13
or ebx, ecx
movsx edx, byte [esi]
test ebp, 0x20
je 0x65875b
lea ecx, [edx - 9]
cmp ecx, 4
ja 0x659970
mov ebp, dword [esp + 0x50]
lea edx, [esi + 1]
mov esi, edx
dec ebp
je 0x65994b
movsx edx, byte [edx]
lea ecx, [edx - 9]
cmp ecx, 4
jbe 0x65873b
cmp edx, 0x20
je 0x65873b
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], esi
cmp edx, 0x2d
jne 0x658769
add ebx, 8
jmp 0x65876e
cmp edx, 0x2b
jne 0x65877c
add ebx, 2
inc esi
dec dword [esp + 0x50]
je 0x659571
xor ecx, ecx
mov ebp, 9
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
fldz
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x50]
movsx edx, byte [esi]
lea eax, [edx - 0x2b]
cmp eax, 0x4d
ja 0x6589e1
movzx eax, word [eax*2 + 0x74c3a0]
add eax, 0x6587db
jmp eax
fstp st(0)
mov dword [esp + 0x3c], esi
test bl, 8
je 0x65892f
fld dword [0x74d13c]
jmp 0x658935
fld dword [0x74d138]
and ebx, 0xfffffff7
mov eax, ebx
mov ecx, dword [esp + 0x44]
or eax, 0xc000000
test ecx, 0x40000000
je 0x65894d
mov ebx, eax
test cl, 2
je 0x658a0a
test ebp, ebp
je 0x658a0a
cmp byte [esi], 0x20
jne 0x658a0a
inc esi
dec ebp
jne 0x65895e
jmp 0x658a0a
cmp byte [eax - 1], 0x66
je 0x65891c
mov esi, ecx
neg ecx
lea ebp, [eax + ecx]
jmp 0x658a0a
cmp edx, 9
jne 0x6589f3
test byte [esp + 0x44], 1
jne 0x658ac8
jmp 0x658a0a
cmp edx, 0x20
jne 0x658a0a
test byte [esp + 0x44], 2
jne 0x658ac8
test byte [esp + 0x44], 0x40
jne 0x658a2d
cmp edx, dword [esp + 0x1c]
jne 0x659846
test bl, 1
jne 0x659846
mov dword [esp + 0x28], 0
or ebx, 1
jmp 0x658ac8
mov edx, 0x30
cmp dword [esp + 0x24], 0
je 0x658ab5
add edx, 0xffffffd0
or ebx, 4
mov eax, ebx
and eax, 0x201
cmp eax, 0x200
mov eax, 0
mov ecx, dword [esp + 0x28]
sete al
neg eax
inc dword [esp + 0x24]
lea edi, [ecx + eax + 1]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], edi
cmp eax, dword [esp + 0x18]
je 0x658a8a
mov edi, dword [esp + 0x2c]
mov eax, edi
mov ecx, dword [esp + 0x10]
shl eax, cl
inc dword [esp + 0x30]
lea eax, [eax + edi*8]
add eax, edx
mov dword [esp + 0x2c], eax
jmp 0x658ac8
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x14]
jae 0x658aaf
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + eax*4 + 0x58], ecx
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 1
jmp 0x658ac8
or dword [esp + 0x38], edx
jmp 0x658ac8
mov eax, ebx
or ebx, 4
and eax, 1
add dword [esp + 0x28], eax
xor eax, 1
add dword [esp + 0xc], eax
inc esi
dec ebp
jne 0x6587bd
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov ebp, esi
test bl, 4
mov eax, ebx
jne 0x658aed
mov ebp, dword [esp + 0x3c]
and eax, 0x40
mov dword [esp + 4], eax
je 0x658af8
mov ebp, esi
test dword [esp + 0x44], 0x8000
je 0x658b2c
test dword [esp + 0x44], 0x80000000
je 0x658b1a
cmp dword [esp + 0x50], 0
je 0x658b2c
cmp byte [esi], 0
jne 0x658b21
jmp 0x658b2c
cmp dword [esp + 0x50], 0
je 0x658b2c
or ebx, 0x3000000
jmp 0x659517
mov eax, ebx
and eax, 0x200
mov dword [esp], eax
je 0x658b42
mov eax, ebx
and eax, 0x54
cmp eax, 0x54
jne 0x658b21
cmp dword [esp + 0x24], 0
jne 0x658b80
mov eax, ebx
and eax, 0xc
cmp eax, 0xc
jne 0x658b5d
fchs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov edx, ebx
and eax, 0x28000
or edx, 0x3000000
cmp eax, 0x28000
jne 0x659517
mov ebx, edx
jmp 0x659517
test bl, 0x20
je 0x658b8c
cmp dword [esp + 4], 0
je 0x658b21
fstp st(0)
test bl, 0x10
je 0x658bdd
cmp dword [esp + 0x1c], 6
jbe 0x658bb0
mov edx, ebx
and edx, 8
test ebx, 0x80
jne 0x659478
jmp 0x6593ed
mov eax, dword [esp + 0x20]
mov edx, eax
neg edx
test ebx, 0x80
mov edi, dword [esp + 0x4c]
jne 0x658bc6
mov edx, eax
test dword [esp + 0x44], 0x400
jne 0x658bd5
mov edi, 0
sub edx, edi
mov dword [esp + 0x18], edx
jmp 0x658be7
mov eax, dword [esp + 0x4c]
neg eax
mov dword [esp + 0x18], eax
cmp dword [esp], 0
je 0x658dde
shl ecx, 2
neg ecx
shl dword [esp + 0x2c], cl
cmp dword [esp + 0x24], 8
ja 0x658c3f
mov dword [esp + 0xc], 0
cmp dword [esp + 0x2c], 0
jle 0x658c27
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x658c18
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x34], 1
jmp 0x658dc2
mov eax, dword [esp + 0x34]
inc eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + eax*4 + 0x54], edx
test edx, edx
jne 0x658c60
dec eax
cmp dword [esp + eax*4 + 0x54], 0
je 0x658c54
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
test eax, eax
jle 0x658d59
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x658c78
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc], 0
je 0x658d59
mov dword [esp + 0x98], eax
cmp dword [esp + 0x34], 1
jbe 0x658dc2
mov eax, dword [esp + 0x34]
lea eax, [eax - 1]
shr eax, 1
je 0x659853
xor edi, edi
mov dword [esp + 0x10], ebx
neg edx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 0x14], ebp
mov eax, dword [esp + edi*8 + 0x5c]
mov ecx, edx
mov ebx, eax
shr ebx, cl
mov esi, dword [esp + 0xc]
mov ecx, esi
or dword [esp + edi*8 + 0x98], ebx
mov ebx, dword [esp + edi*8 + 0x60]
mov ebp, ebx
shl eax, cl
mov ecx, edx
shr ebp, cl
mov ecx, esi
shl ebx, cl
or eax, ebp
mov dword [esp + edi*8 + 0x9c], eax
mov dword [esp + edi*8 + 0xa0], ebx
inc edi
cmp edi, dword [esp]
jb 0x658cc6
mov ebx, dword [esp + 0x10]
lea eax, [edi + edi + 1]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x14]
mov dword [esp], eax
mov edx, dword [esp]
mov eax, dword [esp + 0x34]
lea ecx, [edx - 1]
lea edi, [eax - 1]
cmp ecx, edi
jae 0x658dc2
mov dword [esp + 0x10], ebx
mov ebx, edx
mov ecx, dword [esp + 0xc]
neg ecx
mov edx, dword [esp + ebx*4 + 0x58]
mov eax, edx
shr eax, cl
mov ecx, dword [esp + 0xc]
shl edx, cl
or dword [esp + ebx*4 + 0x94], eax
mov dword [esp + ebx*4 + 0x98], edx
mov ebx, dword [esp + 0x10]
jmp 0x658dc2
cmp dword [esp + 0x34], 0
je 0x658dc2
cmp dword [esp + 0x34], 0x18
jle 0x65985f
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x54]
mov dword [edi - 0x44], ebx
lea ecx, [esp + 0x94]
sub ecx, edi
lea ebx, [edx*4]
xor edx, edx
xor eax, eax
cmp ecx, ebx
setg al
neg ecx
cmp ecx, ebx
setg dl
mov ebx, dword [edi - 0x44]
or eax, edx
je 0x65985f
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x98]
lea ecx, [esp + 0x58]
lea edx, [eax*4]
push edx
push ecx
push edi
call fcn.0065d430
add esp, 0xc
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx*4]
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
jmp 0x6590f1
test bl, 1
je 0x658ded
mov eax, dword [esp + 0x28]
sub dword [esp + 0x18], eax
jmp 0x658df9
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, edi
cmp eax, 0xffffffd3
jge 0x658e12
mov edx, ebx
and edx, 8
jmp 0x659478
cmp eax, 0x27
jle 0x658e21
mov edx, ebx
and edx, 8
jmp 0x6593ed
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov ebx, edi
lea eax, [edx - 0x1b]
test eax, eax
lea edi, [ebx + edx - 0x1b]
jg 0x658e38
mov edi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
cmp edx, 9
ja 0x658e68
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
jmp 0x658f5b
fild dword [esp + 0x58]
mov eax, dword [esp + 0x58]
shr eax, 0x1f
cmp dword [esp + 0x34], 2
fadd qword [eax*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
jb 0x658f34
fld qword [0x74d320]
mov eax, dword [esp + 0x34]
lea edi, [eax - 1]
shr edi, 1
je 0x65993f
mov edx, edi
xor eax, eax
lea esi, [esi]
lea edi, [edi]
jmp 0x658eb4
faddp st(2)
fild dword [esp + eax*8 + 0x5c]
fxch st(1)
fmul st(2), st(0)
fild dword [esp + eax*8 + 0x60]
mov edi, dword [esp + eax*8 + 0x5c]
shr edi, 0x1f
fxch st(2)
fadd qword [edi*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
mov edi, dword [esp + eax*8 + 0x60]
inc eax
shr edi, 0x1f
faddp st(3)
fmul st(2), st(0)
fxch st(1)
fadd qword [edi*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
cmp eax, edx
jb 0x658eb2
faddp st(2)
lea eax, [eax + eax + 1]
mov dword [esp], eax
mov eax, dword [esp]
dec dword [esp + 0x34]
lea edi, [eax - 1]
cmp edi, dword [esp + 0x34]
jae 0x659987
fmulp st(1)
fild dword [esp + eax*4 + 0x58]
mov edi, dword [esp + eax*4 + 0x58]
shr edi, 0x1f
fadd qword [edi*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
fmul qword [ecx*8 + 0x74d2d8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x74c390]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
cmp dword [esp + 0xc], 0xffffffd1
jle 0x658f6f
mov eax, dword [esp + 0xc]
fmul qword [eax*8 + 0x74d2d8]
jmp 0x658fb7
mov edx, dword [esp + 0xc]
neg edx
mov eax, edx
sar eax, 3
mov dword [esp], eax
movzx ecx, word [eax*2 + 0x74d500]
mov eax, ecx
shr eax, 5
cmp eax, edx
jge 0x658f9e
mov eax, dword [esp]
movzx ecx, word [eax*2 + 0x74d502]
mov eax, ecx
shr eax, 5
and ecx, 0x1f
mov edx, dword [esp + 0xc]
add edx, eax
fld qword [ecx*8 + 0x74d460]
fmul qword [edx*8 + 0x74d2d8]
fmulp st(1)
test dword [esp + 0x44], 0x400000
je 0x658fd1
fstp qword [esp + 0x18]
and dword [esp + 0x18], 0xefffffff
fld qword [esp + 0x18]
fld st(0)
fstp qword [esp + 4]
fld qword [esp + 4]
fcomp qword [0x74cfb8]
fnstsw ax
sahf
jbe 0x658ff2
fstp st(0)
mov edx, ebx
and edx, 8
jmp 0x6593ed
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
and edx, 0x7ff00000
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
shr edx, 0x14
mov dword [esp + 0x2c], edx
je 0x65903b
mov edx, dword [esp + 8]
mov ecx, eax
or edx, 0xfff00000
mov eax, ecx
shl edx, 0xb
shr eax, 0x15
shl ecx, 0xb
or edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp 0x6590c7
cmp dword [esp + 8], 0
je 0x65908d
mov eax, dword [esp + 8]
shl eax, 0xc
mov dword [esp + 8], eax
mov dword [esp], 0
test eax, eax
jle 0x659069
mov edx, dword [esp]
add eax, eax
inc edx
test eax, eax
jg 0x65905b
mov dword [esp + 8], eax
mov dword [esp], edx
mov eax, dword [esp]
mov edx, eax
add eax, 0xc
neg edx
mov ecx, eax
neg ecx
mov edi, dword [esp + 4]
shr edi, cl
mov ecx, eax
or dword [esp + 8], edi
shl dword [esp + 4], cl
mov dword [esp + 0x2c], edx
jmp 0x6590c7
mov dword [esp + 8], eax
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x6590b2
mov edx, eax
mov eax, dword [esp + 0x2c]
add edx, edx
inc eax
test edx, edx
jg 0x6590a3
mov dword [esp + 0x2c], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x2c]
add eax, 0x14
neg eax
mov dword [esp + 0x2c], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
xor edx, edx
test eax, eax
setne dl
mov edi, dword [esp + 8]
inc edx
add dword [esp + 0x2c], 0xfffffc02
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x44]
mov ecx, eax
shr ecx, 0x16
and eax, 0x80000000
and ecx, 7
or eax, ecx
jne 0x65910b
mov ecx, 6
mov eax, ecx
and eax, 2
test cl, 4
je 0x659129
test eax, eax
mov eax, 0xaaaa
jne 0x659123
mov eax, 0xfa
mov dword [esp + 4], eax
jmp 0x65914a
test eax, eax
je 0x659137
mov dword [esp + 4], 0xfa00
jmp 0x65914a
mov eax, 0xa8a8
test cl, 1
je 0x659146
mov eax, 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
lea edx, [eax + 0x95]
mov dword [esp + 0x30], edx
cmp edx, 0x18
jle 0x659167
mov dword [esp + 0x30], 0x18
jmp 0x659172
cmp dword [esp + 0x30], 0
js 0x658e08
mov edi, dword [esp + 0x30]
mov edx, edi
xor eax, eax
and edi, 0x1f
mov dword [esp + 0x30], edi
setne al
sar edx, 5
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
add edx, eax
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x34]
jbe 0x6591b0
add ecx, 0xfffffffe
test ecx, 0xfffffffd
je 0x6591b0
mov edx, ebx
and edx, 8
jmp 0x6593e3
mov eax, edx
cmp dword [esp + 0x30], 0
mov edx, dword [esp + eax*4 + 0x94]
mov dword [esp + 0x18], edx
je 0x65929d
mov eax, edi
neg eax
mov edi, edx
mov edx, edi
mov dword [esp + 0x10], ebx
mov ebx, 1
lea ecx, [eax + 0x1f]
add eax, 0x20
shr edx, cl
and edx, 1
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 8], edx
mov edx, edi
mov eax, 1
shl ebx, cl
shr edx, cl
mov ecx, dword [esp]
and edx, 1
shl eax, cl
dec eax
and eax, edi
mov ecx, dword [esp + 0x34]
or dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jbe 0x659352
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x34]
ja 0x659352
mov eax, ecx
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x6598f9
mov edi, eax
mov dword [esp + 0x14], ebp
lea ecx, [esp + edx*4 + 0x94]
mov dword [esp], ecx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp]
or ecx, dword [ebp + eax*8]
or ecx, dword [ebp + eax*8 + 4]
inc eax
cmp eax, edi
jb 0x659261
mov dword [esp + 0x38], ecx
lea ecx, [eax + eax + 1]
mov ebp, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x34]
jae 0x659352
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x659352
mov ecx, eax
and edx, 1
mov eax, dword [esp + ecx*4 + 0x98]
mov edi, eax
add eax, eax
mov dword [esp + 0xc], edx
or dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
shr edi, 0x1f
mov dword [esp + 8], edi
lea ecx, [edx + eax + 1]
cmp ecx, dword [esp + 0x34]
jae 0x65934a
mov edx, eax
mov eax, dword [esp + 0x28]
lea edx, [eax + edx + 2]
add eax, 2
cmp eax, dword [esp + 0x34]
ja 0x65934a
mov eax, dword [esp + 0x34]
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x659903
mov edi, eax
mov dword [esp + 0x14], ebp
lea ecx, [esp + edx*4 + 0x94]
mov dword [esp], ecx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp]
or ecx, dword [ebp + eax*8]
or ecx, dword [ebp + eax*8 + 4]
inc eax
cmp eax, edi
jb 0x65930d
mov dword [esp + 0x38], ecx
lea ecx, [eax + eax + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x34]
jae 0x659352
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x659352
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 8]
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x38], 0
setne al
lea edi, [edx + ecx*2]
mov edx, ebx
and edx, 8
lea ecx, [edx + eax*4]
add ecx, edi
mov edi, dword [esp + 4]
shr edi, cl
test edi, 1
je 0x6593e3
cmp dword [esp + 0x20], 0
je 0x6593ca
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
jae 0x65990d
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x94], eax
mov dword [esp + 0x94], 0
dec ecx
mov eax, dword [esp + ecx*4 + 0x94]
cmp eax, 0xffffffff
je 0x6593b2
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], 0
jne 0x6593db
inc dword [esp + 0x2c]
mov dword [esp + 0x98], 0x80000000
jmp 0x6593e3
inc eax
mov dword [esp + ecx*4 + 0x94], eax
cmp dword [esp + 0x2c], 0x80
jle 0x65945d
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x400000
je 0x659457
cmp eax, 0x1000000
jne 0x659413
test edx, edx
je 0x659429
fld dword [0x74d15c]
jmp 0x659517
cmp eax, 0x800000
jne 0x659429
test edx, edx
jne 0x659429
fld dword [0x74d158]
jmp 0x659517
test edx, edx
je 0x659435
fld dword [0x74d13c]
jmp 0x65943b
fld dword [0x74d138]
mov eax, ebx
or eax, 0x8000000
test dword [esp + 0x44], 0x2000
je 0x659517
mov ebx, eax
jmp 0x659517
test edx, edx
jne 0x659408
jmp 0x65941e
cmp dword [esp + 0x2c], 0xffffff82
jg 0x6594d1
cmp dword [esp + 0x2c], 0xffffff6c
jl 0x659478
test dword [esp + 0x44], 0x10000000
je 0x6594d1
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x1000000
jne 0x659497
test edx, edx
jne 0x6594aa
fld dword [0x74d140]
jmp 0x659517
cmp eax, 0x800000
jne 0x6594aa
test edx, edx
je 0x6594aa
fld dword [0x74d144]
jmp 0x659517
test edx, edx
je 0x6594b6
fld dword [0x74d12c]
jmp 0x6594bc
fld dword [0x74d128]
mov eax, ebx
or eax, 0x9000000
test dword [esp + 0x44], 0x4000
je 0x659517
mov ebx, eax
jmp 0x659517
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x2c], 0xffffff82
jle 0x6594f8
mov ecx, dword [esp + 0x2c]
shr eax, 8
shl ecx, 0x17
and eax, 0xff7fffff
add ecx, 0x3f000000
or eax, ecx
jmp 0x659503
mov ecx, dword [esp + 0x2c]
neg ecx
add ecx, 0xb
shr eax, cl
mov ecx, eax
or ecx, 0x80000000
test edx, edx
jne 0x659511
mov ecx, eax
mov dword [esp], ecx
fld dword [esp]
cmp dword [esp + 0x40], 0
je 0x659536
test dword [esp + 0x44], 0x40000
je 0x659530
mov eax, dword [esp + 0x40]
mov dword [eax], ebp
jmp 0x659536
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov eax, dword [esp + 0x104]
test eax, eax
je 0x659546
shr ebx, 0x18
mov dword [eax], ebx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xd4], 0
xor ecx, esp
cmp ecx, dword [0x7adbc0]
jne 0x659824
add esp, 0xd8
pop ebp
pop ebx
pop edi
pop esi
ret
xor ecx, ecx
fldz
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
jmp 0x658ad8
fstp st(0)
call fcn.00693023
mov ecx, dword [esp + 8]
jmp 0x658970
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x30]
jmp 0x658ad8
mov dword [esp], 1
jmp 0x658d16
mov edx, dword [esp + 0x34]
shr edx, 1
je 0x6598f0
mov dword [esp + 8], edx
xor ecx, ecx
mov edx, dword [esp + 0x34]
mov eax, edx
mov dword [esp + 4], esi
mov dword [esp + 0x14], ebp
lea edi, [esp + edx*4 + 0x94]
mov edx, dword [esp + 8]
lea eax, [esp + eax*4 + 0x54]
mov dword [esp], eax
xor eax, eax
mov esi, dword [esp]
mov ebp, edi
mov edi, dword [eax + esi]
inc ecx
mov dword [eax + ebp], edi
mov edi, dword [eax + esi - 4]
mov dword [eax + ebp - 4], edi
add eax, 0xfffffff8
cmp ecx, edx
jb 0x659898
mov esi, dword [esp + 4]
lea eax, [ecx + ecx + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x34]
jae 0x658dc2
mov edx, eax
shl edx, 2
mov eax, dword [esp + 0x34]
neg edx
lea ecx, [esp + eax*4 + 0x54]
mov edi, dword [edx + ecx + 4]
lea eax, [esp + eax*4 + 0x94]
mov dword [edx + eax + 4], edi
jmp 0x658dc2
mov dword [esp], 1
jmp 0x6598bd
mov ecx, 1
jmp 0x65927a
mov ecx, 1
jmp 0x659326
cmp dword [esp + 0x30], 0
je 0x65992f
mov edi, dword [esp + 0x20]
mov eax, ecx
dec eax
not eax
mov ecx, dword [esp + 0x18]
and ecx, eax
mov dword [esp + edi*4 + 0x94], ecx
jmp 0x6593e3
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x94], eax
jmp 0x6593e3
mov dword [esp], 1
jmp 0x658f02
xor ecx, ecx
fldz
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
jmp 0x658ad8
mov ebp, dword [esp + 0x50]
jmp 0x658752
xor ebp, ebp
mov ebx, 0x6000000
fldz
jmp 0x659517
fstp st(0)
jmp 0x658f34