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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
movsd xmm0, qword [ebp + 8]
mov ecx, dword [0x72a00c]
xor ecx, ebp
mov dword [esp + 0xc8], ecx
cmp dword [ebp + 0x10], 2
jae 0x6666d7
movsd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x80]
mov dword [esp + 8], esi
mov eax, dword [esp + 0x84]
mov edi, eax
and edi, 0xfffff
add esi, 0xffffffff
mov ecx, edi
adc ecx, 0xfffff
add esi, 1
adc ecx, 0
mov edx, eax
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x24], eax
test eax, 0x7ff00000
mov eax, edx
mov ebx, 0xfffffbce
cmove eax, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, esi
cmove eax, ebx
mov dword [esp + 0x1c], eax
mov eax, ecx
mov dword [esp + 0x10], edi
cmove eax, edi
mov dword [esp + 4], eax
je 0x666d32
mov dword [esp], edx
shld ecx, esi, 0xb
mov dword [esp + 0x34], ecx
shl esi, 0xb
mov dword [esp + 0x20], esi
movaps xmm1, xmmword [0x702b90]
movups xmmword [esp + 0xb8], xmm1
xor ecx, ecx
mov dword [esp + 0xc0], ecx
movups xmmword [esp + 0xa8], xmm1
mov dword [esp + 0xb0], ecx
cmp dword [ebp + 0x10], 0
jne 0x666d54
mov eax, dword [esp + 0x18]
lea ecx, [eax - 1]
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x1c]
shld esi, edx, 1
lea eax, [edx + edx]
lea edi, [edx*2 + 1]
mov dword [esp + 0x14], esi
mov edx, ecx
mov ebx, esi
shld esi, edi, 0xa
shl edi, 0xa
add edx, 0xfffffff6
test ebx, 0xfffff000
je 0x665eff
test esi, esi
jns 0x666d84
mov ebx, dword [esp + 8]
or ebx, dword [esp + 0x10]
mov dword [esp + 0x28], edi
je 0x666c38
add eax, 0xffffffff
mov edi, dword [esp + 0x14]
adc edi, 0xffffffff
sub ecx, edx
shld edi, eax, cl
shl eax, cl
xor ebx, ebx
test cl, 0x20
cmove ebx, eax
cmove eax, edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], esi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xc0], edx
lea ecx, [esp + 0x98]
movups xmmword [ecx], xmm1
xor eax, eax
mov dword [ecx + 8], eax
mov esi, ecx
lea eax, [esp + 0x94]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
mov edi, dword [esp]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
push esi
push edx
push ecx
call fcn.00572b30
add esp, 0x10
mov ecx, esi
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edi
mov eax, edi
mov esi, dword [esp + 0x34]
mul esi
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x20]
and ebx, 0xfffff800
mov eax, edi
mul ebx
mov edi, eax
mov dword [esp + 0x18], edx
mov ecx, dword [ecx]
mov eax, ecx
mov dword [esp + 8], ecx
mul esi
mov dword [esp + 0x20], edx
mov esi, eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, esi
setb al
add edx, edi
mov edi, 0
adc eax, edi
mov ecx, dword [esp]
lea esi, [esp + 0x98]
add ecx, dword [esi + 8]
mov dword [esp], ecx
mov esi, dword [esp + 0x20]
add esi, dword [esp + 4]
mov ecx, dword [esp + 0x10]
adc ecx, edi
add esi, dword [esp + 0x18]
adc ecx, edi
mov ebx, 0x80000000
add edx, ebx
adc esi, eax
mov dword [esp + 0x20], esi
adc ecx, edi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xbc]
mov eax, esi
mov ebx, dword [esp + 0x28]
mul ebx
mov dword [esp + 0x18], eax
mov dword [esp + 4], edx
mov edi, dword [esp + 0xb8]
mov eax, edi
mul ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 8]
mul ecx
mov dword [esp + 0x24], edx
mov esi, eax
mov eax, edi
mul ecx
xor eax, eax
add edx, esi
setb al
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0xac]
mov eax, edi
mov esi, ebx
mul ebx
mov dword [esp + 0xc], eax
mov ecx, edx
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mul esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, edi
mov esi, dword [esp + 8]
mul esi
mov edi, edx
mov dword [esp + 0x4c], eax
mov eax, ebx
mul esi
xor eax, eax
add edx, dword [esp + 0x4c]
setb al
add edx, dword [esp + 0x2c]
mov esi, 0
adc eax, esi
add edi, dword [esp + 0xc]
adc ecx, esi
add edi, dword [esp + 0x28]
adc ecx, esi
mov esi, 0x80000000
add edx, esi
adc edi, eax
mov eax, 0
adc ecx, eax
add edi, 1
adc ecx, eax
mov edx, ecx
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
adc ecx, eax
add ebx, dword [esp + 0x1c]
adc ecx, eax
xor esi, esi
mov eax, 0x80000000
add dword [esp + 0x14], eax
adc ebx, dword [esp + 0x34]
adc ecx, esi
xor eax, eax
mov esi, edi
sub esi, ebx
mov dword [esp + 0x60], esi
mov ebx, edx
mov dword [esp + 0x58], edx
sbb edx, ecx
mov dword [esp + 0x48], edx
add esi, 1
mov dword [esp + 0x18], esi
adc edx, eax
mov dword [esp + 8], edx
mov ecx, 0xffffffcb
sub ecx, dword [esp]
xor eax, eax
inc eax
xor esi, esi
shld esi, eax, cl
mov dword [esp + 0x34], eax
shl eax, cl
mov edx, edi
shrd edx, ebx, cl
mov ebx, dword [esp + 0x58]
shr ebx, cl
mov dword [esp + 0x24], ecx
test cl, 0x20
cmove ebx, edx
cmovne esi, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x4c], eax
add eax, 0xffffffff
mov dword [esp + 0x5c], esi
adc esi, 0xffffffff
mov ecx, dword [esp + 0x58]
mov edx, ecx
mov dword [esp + 0x78], esi
and edx, esi
mov dword [esp + 0x1c], edx
mov edx, edi
mov dword [esp + 0x7c], eax
and edx, eax
imul eax, dword [esp], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 4], ebx
cmp dword [eax*4 + 0x7148f4], ebx
lea esi, [eax + 1]
cmova esi, eax
sub edi, dword [esp + 0x20]
sbb ecx, dword [esp + 0x10]
mov eax, edi
add eax, 0xffffffff
mov dword [esp + 0x38], eax
mov eax, ecx
adc eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], edi
mov ebx, edi
mov edi, dword [esp + 0x18]
add ebx, 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 8]
mov ebx, 0
adc eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi*4 + 0x7148f0]
mov dword [esp], eax
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], ebx
add dword [esp + 0x60], 0xfffffffd
adc dword [esp + 0x48], 0xffffffff
mov eax, esi
sar eax, 0x1f
and eax, esi
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test esi, esi
jle 0x66638f
mov dword [esp + 0x10], esi
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp]
add al, 0x30
mov esi, dword [ebp + 0x20]
mov ecx, dword [esi]
mov ebx, edi
mov edi, dword [ebp + 0x18]
mov byte [edi + ecx], al
xor esi, esi
mov edi, edx
mov ecx, dword [esp + 0x24]
shld esi, edx, cl
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea edx, [eax + 1]
mov dword [esp + 4], edi
shl edi, cl
test cl, 0x20
cmovne esi, edi
mov eax, 0
cmovne edi, eax
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
add edi, dword [esp + 0x14]
adc esi, dword [esp + 0x1c]
cmp edi, ebx
mov ecx, esi
sbb ecx, dword [esp + 8]
mov dword [esp + 0x20], esi
jb 0x6669d1
mov eax, dword [esp]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp], edx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec esi
mov eax, dword [esp + 0x18]
cmp edi, eax
mov edi, eax
mov ecx, dword [esp + 8]
sbb dword [esp + 0x20], ecx
jae 0x666231
jmp 0x666698
mov ecx, eax
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x30]
adc ecx, edx
mov dword [esp + 0xc], eax
cmp eax, ebx
mov eax, ecx
sbb ecx, dword [esp + 0x2c]
jb 0x666327
mov ecx, ebx
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xc]
sub ecx, ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
sbb dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x74], ecx
sbb edx, dword [esp + 0x3c]
jb 0x666d0e
mov ebx, eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x28]
dec byte [eax + ecx]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
sbb eax, ebx
cmp edx, dword [esp + 0x30]
mov ecx, eax
sbb ecx, dword [esp + 0x44]
setb cl
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x38]
mov ecx, ebx
sbb ecx, dword [esp + 0x2c]
jae 0x666d27
mov ecx, dword [esp + 0x30]
cmp edx, ecx
mov edx, dword [esp + 0x44]
sbb eax, edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov eax, ebx
mov ebx, dword [esp + 0x38]
jae 0x6662d3
jmp 0x666c73
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], esi
mov eax, edx
mov ecx, 0xa
mul ecx
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x34]
shr ebx, cl
mov dword [esp + 0x48], eax
mov edx, 0xa
mul edx
mov dword [esp], edx
mov dword [esp + 0x34], eax
mov eax, edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x20]
mov esi, dword [esi]
mov edi, dword [ebp + 0x18]
mov byte [edi + esi], bl
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
lea esi, [ecx + ecx*4]
lea edx, [edx + esi*2]
mov ecx, dword [esp + 0x14]
and edi, dword [esp + 0x78]
and ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
cmp ecx, eax
mov eax, edi
mov dword [esp + 8], edx
sbb eax, edx
mov esi, dword [ebp + 0x20]
mov edx, dword [esi]
lea eax, [edx + 1]
mov dword [esi], eax
mov esi, dword [esp + 0x28]
lea ebx, [esi + esi*4]
mov eax, dword [esp]
lea eax, [eax + ebx*2]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
jb 0x666467
mov esi, dword [esp + 0x10]
dec esi
mov edx, dword [esp + 0x18]
cmp ecx, edx
mov ebx, dword [esp + 8]
sbb edi, ebx
mov edi, edx
mov edx, ecx
mov ecx, ebx
jae 0x66639b
jmp 0x666698
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x34]
mov eax, esi
mov dword [esp + 0x14], ecx
mul dword [esp + 0x6c]
mov dword [esp], edx
mov ebx, esi
imul ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov ecx, edx
imul ecx, dword [esp + 0x6c]
add ecx, dword [esp]
add ecx, ebx
mov ebx, eax
sub ebx, esi
mov dword [esp + 0x30], ebx
mov ebx, ecx
sbb ebx, edx
mov dword [esp + 0x20], ebx
add eax, esi
mov dword [esp + 0x44], eax
adc ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, eax
sub ecx, eax
mov edx, dword [esp + 8]
sbb edx, edi
mov eax, dword [esp + 0x4c]
cmp ecx, eax
mov ebx, dword [esp + 0x5c]
sbb edx, ebx
setb cl
mov dword [esp + 0x38], ecx
mov edx, esi
jb 0x6665c1
mov esi, dword [esp + 0x30]
cmp edx, esi
mov ecx, edi
sbb ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov dword [esp], edi
mov edi, dword [esp + 0x18]
jae 0x6665c8
mov ecx, esi
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], esi
mov dword [esp], esi
add edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp]
adc eax, ebx
cmp edx, ecx
mov esi, ecx
mov dword [esp], eax
mov edx, eax
mov ecx, dword [esp + 0x20]
sbb edx, ecx
jb 0x66655b
mov edx, esi
sub edx, dword [esp + 0xc]
mov eax, ecx
sbb eax, dword [esp + 0x2c]
mov edi, dword [esp + 4]
sub edi, esi
mov ebx, dword [esp]
sbb ebx, ecx
cmp edx, edi
mov edi, dword [esp + 0x18]
sbb eax, ebx
mov ebx, dword [esp + 0x5c]
jb 0x666680
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x60]
dec byte [eax + edx]
mov edx, ebx
mov ebx, edi
sub ebx, dword [esp + 4]
mov esi, dword [esp + 8]
sbb esi, dword [esp]
mov edi, dword [esp + 0x4c]
cmp ebx, edi
mov eax, esi
sbb eax, edx
setb al
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
cmp dword [esp + 4], eax
mov eax, dword [esp]
sbb eax, dword [esp + 0x20]
jae 0x6669c4
cmp ebx, edi
sbb esi, edx
mov esi, dword [esp + 4]
mov dword [esp + 0xc], esi
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mov ebx, edx
mov edx, esi
jae 0x666516
jmp 0x6665c8
mov dword [esp], edi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
cmp edx, esi
mov eax, dword [esp]
sbb eax, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov ebx, edx
jae 0x66662a
cmp byte [esp + 0x38], 0
jne 0x66662a
mov edx, ebx
add edx, dword [esp + 0x4c]
mov eax, dword [esp]
adc eax, dword [esp + 0x5c]
cmp edx, esi
mov ecx, eax
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
sbb ecx, ebx
jb 0x666620
mov ecx, esi
sub ecx, dword [esp + 4]
mov esi, ebx
sbb esi, dword [esp]
sub edx, dword [esp + 0x44]
sbb eax, ebx
cmp edx, ecx
sbb eax, esi
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x48]
jae 0x66662a
mov dword [esp + 0xc], 0
jmp 0x666673
mov esi, eax
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x50]
lea ecx, [edx + ecx*4]
cmp ebx, eax
mov eax, dword [esp]
sbb eax, ecx
setae byte [esp + 4]
mov eax, esi
mov ecx, 0xffffffd8
mul ecx
sub edx, esi
mov ecx, dword [esp + 0x40]
shl ecx, 3
lea ecx, [ecx + ecx*4]
sub edx, ecx
add eax, edi
adc edx, dword [esp + 8]
cmp eax, ebx
sbb edx, dword [esp]
setae al
and al, byte [esp + 4]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
jmp 0x666445
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
jmp 0x6665c8
test byte [esp + 0xc], 1
je 0x666c31
sub esi, dword [esp + 0x94]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add esi, dword [ecx]
mov dword [eax], esi
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov byte [ecx + eax], 0
mov bl, 1
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jne 0x666d99
movsd qword [esp + 0x88], xmm0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, edx
and eax, 0xfffff
mov esi, ecx
add esi, 0xffffffff
mov edi, eax
adc edi, 0xfffff
add esi, 1
adc edi, 0
test edx, 0x7ff00000
je 0x666d9e
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld edi, esi, 0xb
shl esi, 0xb
mov dword [esp + 0x1c], esi
movaps xmm0, xmmword [0x702b90]
lea ecx, [esp + 0xb8]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
mov ebx, ecx
lea eax, [esp + 0xa8]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
sub ecx, edx
mov esi, edx
mov dword [esp + 8], edx
mov edx, 0xffffffab
sub edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esp], esi
push eax
push ebx
push edx
push ecx
call fcn.00572b30
add esp, 0x10
mov esi, dword [ebx + 4]
mov eax, esi
mul edi
mov ebx, edx
mov dword [esp + 4], eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mul ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
lea eax, [esp + 0xb8]
mov esi, dword [eax]
mov eax, esi
mul edi
mov edi, edx
mov dword [esp + 0x10], eax
mov eax, esi
mul ecx
xor eax, eax
add edx, dword [esp + 0x10]
setb al
add edx, dword [esp + 0x14]
mov ecx, 0
adc eax, ecx
mov esi, dword [esp + 8]
lea ecx, [esp + 0xb8]
add esi, dword [ecx + 8]
mov dword [esp + 8], esi
add edi, dword [esp + 4]
mov ecx, 0
adc ebx, ecx
add edi, dword [esp + 0x18]
adc ebx, ecx
xor ecx, ecx
add edx, 0x80000000
adc edi, eax
adc ebx, ecx
mov ecx, 0xffffffcb
sub ecx, esi
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
shl eax, cl
mov esi, edi
shrd esi, ebx, cl
mov dword [esp + 4], esi
mov esi, ebx
shr esi, cl
mov dword [esp + 0x1c], ecx
test cl, 0x20
cmove esi, dword [esp + 4]
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x20], eax
add eax, 0xffffffff
mov dword [esp + 0x14], edx
adc edx, 0xffffffff
mov dword [esp + 0x28], edx
and ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], eax
and edi, eax
mov dword [esp + 4], edi
imul eax, dword [esp + 8], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x7148f4], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov edx, dword [ebx*4 + 0x7148f0]
mov eax, dword [ebp + 0x20]
mov dword [esp + 8], 0
mov dword [eax], ecx
mov edi, edx
test ebx, ebx
jle 0x666a5b
mov eax, esi
xor edx, edx
div edi
add al, 0x30
mov esi, dword [ebp + 0x18]
mov ecx, edi
mov edi, dword [esp + 8]
mov byte [esi + edi], al
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
inc edi
mov esi, edi
mov dword [esp + 8], edi
mov dword [eax], edi
mov edi, ecx
mov esi, edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
dec ebx
shr edx, 3
dec dword [esp]
jne 0x66687e
mov dword [esp + 0x10], ebx
mov edx, edi
mov ecx, dword [esp + 0x1c]
shl edx, cl
xor eax, eax
test cl, 0x20
mov ebx, edx
cmovne ebx, eax
mov dword [esp], ebx
xor ebx, ebx
shld ebx, edi, cl
test cl, 0x20
cmovne ebx, edx
mov edx, esi
shl edx, cl
test cl, 0x20
mov edi, edx
cmovne edi, eax
shld eax, esi, cl
mov esi, ebx
mov ebx, dword [esp]
test cl, 0x20
cmovne eax, edx
add edi, dword [esp + 4]
adc eax, dword [esp + 0x18]
cmp ebx, 3
mov ecx, esi
sbb ecx, 0
jb 0x666c31
mov ecx, ebx
sub ecx, edi
mov edx, esi
sbb edx, eax
cmp edi, ecx
mov ecx, eax
sbb ecx, edx
jae 0x666954
mov ecx, eax
shld ecx, edi, 1
lea edx, [edi + edi]
mov ebx, esi
mov esi, dword [esp]
sub esi, edx
mov edx, ebx
sbb edx, ecx
mov dword [esp + 4], 0
xor ecx, ecx
inc ecx
cmp ecx, esi
mov esi, ebx
mov ebx, dword [esp]
sbb dword [esp + 4], edx
jb 0x666c28
cmp edi, 2
mov ecx, eax
sbb ecx, 0
jb 0x666c31
add edi, 0xffffffff
adc eax, 0xffffffff
sub ebx, edi
sbb esi, eax
cmp edi, ebx
sbb eax, esi
jb 0x666c31
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 8]
mov al, byte [edx + ecx - 1]
inc al
mov byte [edx + ecx - 1], al
cmp edx, 2
mov esi, dword [esp + 0x10]
jl 0x6669ac
cmp al, 0x3a
jne 0x6669ac
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edx - 1], 0x30
mov al, byte [ecx + edx - 2]
inc al
mov byte [ecx + edx - 2], al
dec edx
cmp edx, 1
jg 0x666990
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x6669b8
mov byte [eax], 0x31
inc esi
sub esi, dword [esp + 0xa8]
jmp 0x6666aa
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 4]
jmp 0x6665c8
xor edx, edx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp]
shld edx, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne edx, ebx
mov eax, 0
cmovne ebx, eax
mov ecx, dword [esp + 0x18]
sub ecx, edi
mov eax, dword [esp + 8]
sbb eax, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], ecx
cmp ecx, ebx
mov ebx, eax
mov ecx, eax
sbb ecx, edx
setb al
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x38]
mov ecx, esi
sbb ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
jae 0x666c65
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0xc], ecx
sbb ebx, edx
mov dword [esp + 0xc], edi
mov eax, esi
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
jb 0x666c73
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x64], ecx
mov eax, ecx
jmp 0x6662d3
mov dword [esp + 0x10], ebx
cmp dword [esp], 0
je 0x666dbc
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 4]
mov edi, 1
jle 0x666c31
cmp edx, 2
mov eax, ebx
sbb eax, 0
jb 0x666c31
mov dword [esp + 0x24], 0
mov eax, edx
mov ecx, 0xa
mul ecx
lea esi, [ebx + ebx*4]
lea edx, [edx + esi*2]
mov dword [esp + 0x18], edx
mov dword [esp + 4], eax
mov esi, eax
mov ecx, dword [esp + 0x1c]
shrd esi, edx, cl
mov eax, edi
mov ebx, edx
shr ebx, cl
mov dword [esp + 0xc], edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 8]
mov byte [esi + edi], bl
mov edi, dword [esp]
mov esi, dword [esp + 0x24]
lea esi, [esi + esi*4]
mov dword [esp + 0x2c], esi
lea edx, [edx + esi*2]
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 0x20]
mov esi, dword [ecx]
lea edx, [esi + 1]
mov ebx, edx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 4]
and edx, dword [esp + 0x34]
and ebx, dword [esp + 0x28]
dec dword [esp + 0x10]
mov ecx, eax
cmp edi, 2
lea eax, [edi - 1]
mov edi, ecx
mov dword [esp], eax
jb 0x666b2c
cmp edi, edx
mov eax, dword [esp + 0x24]
sbb eax, ebx
jb 0x666a92
cmp dword [esp], 0
jne 0x666c31
mov dword [esp + 8], edi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
sbb ecx, edi
mov edi, dword [esp + 0x20]
cmp dword [esp + 8], edi
mov edi, dword [esp + 8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
sbb edx, dword [esp + 0x14]
mov edx, dword [esp + 4]
jae 0x666c31
cmp edi, eax
mov eax, dword [esp + 0x24]
sbb eax, ecx
jae 0x666c31
mov eax, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x14]
sbb ecx, ebx
cmp edx, eax
mov eax, ebx
sbb eax, ecx
jae 0x666bc5
mov eax, ebx
shld eax, edx, 1
lea ecx, [edx + edx]
mov edi, dword [esp + 0x20]
sub edi, ecx
mov ecx, dword [esp + 0x14]
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0xc]
mul edx
cmp edi, eax
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x2c]
lea eax, [edx + eax*4]
mov edx, dword [esp + 4]
sbb ecx, eax
jae 0x666c28
cmp edi, edx
mov ecx, dword [esp + 0x24]
mov eax, ecx
sbb eax, ebx
jae 0x666c31
sub edx, edi
sbb ebx, ecx
mov eax, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x14]
sbb ecx, ebx
cmp edx, eax
sbb ebx, ecx
jb 0x666c31
mov ecx, dword [ebp + 0x18]
mov al, byte [ecx + esi]
inc al
mov byte [ecx + esi], al
test esi, esi
jle 0x666c13
inc esi
cmp al, 0x3a
jne 0x666c13
mov ecx, dword [ebp + 0x18]
mov byte [ecx + esi - 1], 0x30
mov al, byte [ecx + esi - 2]
inc al
mov byte [ecx + esi - 2], al
dec esi
cmp esi, 1
jg 0x666bf7
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
mov esi, dword [esp + 0x10]
je 0x6669b4
jmp 0x6669b8
mov esi, dword [esp + 0x10]
jmp 0x6669b8
xor ebx, ebx
jmp 0x6666bf
test dword [esp + 0x24], 0x7fe00000
je 0x665f2d
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
shld ebx, eax, 2
shl eax, 2
mov dword [esp + 0x14], ebx
jmp 0x665f2d
mov dword [esp + 0xc], edi
mov eax, esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
sbb eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
jae 0x666cdf
cmp byte [esp + 0x3c], 0
jne 0x666cdf
add ecx, dword [esp + 0xc]
mov eax, ecx
mov ecx, dword [esp + 0x44]
adc ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
cmp eax, ebx
mov eax, ecx
sbb eax, dword [esp + 0x40]
jb 0x666cd2
mov eax, ebx
sub eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x40]
sbb ebx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x50]
sbb ecx, dword [esp + 0x40]
cmp ebx, eax
sbb ecx, dword [esp + 0x28]
jae 0x666cdf
mov dword [esp + 0xc], 0
jmp 0x6662b7
xor eax, eax
inc eax
mov ecx, dword [esp + 0xc]
cmp eax, ecx
mov eax, 0
mov ebx, dword [esp + 0x10]
sbb eax, ebx
setb al
cmp dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x48]
sbb ecx, ebx
setae cl
and cl, al
mov dword [esp + 0xc], ecx
jmp 0x6662b7
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
jmp 0x666c6f
mov ecx, dword [esp + 0x30]
mov eax, ebx
jmp 0x666c73
mov edx, 0xfffffbce
mov esi, ebx
mov eax, dword [esp + 0x10]
mov ecx, eax
shld ecx, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, ecx
jb 0x665e99
jmp 0x666d3f
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0x98]
movss dword [ecx], xmm0
lea eax, [esp + 0xa8]
lea edx, [esp + 0xb8]
push eax
push edx
call fcn.006d42c0
movaps xmm1, xmmword [0x702b90]
jmp 0x665f77
mov ebx, dword [esp + 8]
shld esi, edi, 1
add edi, edi
dec edx
test esi, esi
js 0x665f1f
jmp 0x666d88
call fcn.006cd2f0
mov edx, 0xfffffbce
mov esi, ecx
mov edi, eax
shld edi, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, edi
jb 0x666729
jmp 0x666da7
mov ebx, dword [esp + 0x10]
jmp 0x6668c0