Function at 0x515300
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 [0x742040]
xor ecx, ebp
mov dword [esp + 0xc8], ecx
cmp dword [ebp + 0x10], 2
jae 0x515cb5
movsd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x80]
mov dword [esp], esi
mov ecx, dword [esp + 0x84]
mov edi, ecx
and edi, 0xfffff
add esi, 0xffffffff
mov eax, edi
adc eax, 0xfffff
add esi, 1
adc eax, 0
mov edx, ecx
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x20], ecx
test ecx, 0x7ff00000
mov ecx, edx
mov ebx, 0xfffffbce
cmove ecx, ebx
mov dword [esp + 4], ecx
mov ecx, esi
cmove ecx, dword [esp]
mov dword [esp + 0x14], ecx
mov ebx, eax
ret
mov dword [esp + 0x10], edi
cmove ebx, edi
je 0x5161f8
mov dword [esp + 0x18], edx
shld eax, esi, 0xb
mov dword [esp + 0x2c], eax
shl esi, 0xb
mov dword [esp + 8], esi
movaps xmm1, xmmword [0x6b6dd0]
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 0x51621b
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
mov dword [esp + 0x28], ebx
mov esi, ebx
mov eax, dword [esp + 0x14]
shld esi, eax, 1
lea edi, [eax + eax]
lea ebx, [eax*2 + 1]
mov edx, esi
mov dword [esp + 0xc], ecx
mov eax, ecx
mov ecx, edx
shld edx, ebx, 0xa
shl ebx, 0xa
add eax, 0xfffffff6
test ecx, 0xfffff000
je 0x51540c
test edx, edx
jns 0x5161e4
mov ecx, dword [esp]
or dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
je 0x516187
add edi, 0xffffffff
adc esi, 0xffffffff
mov ecx, dword [esp + 0xc]
sub ecx, eax
shld esi, edi, cl
shl edi, cl
xor ebx, ebx
test cl, 0x20
cmove ebx, edi
cmove edi, esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], eax
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 + 0x18]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
push esi
push edx
push ecx
call fcn.005218d0
add esp, 0x10
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edi
mov eax, edi
mov ebx, dword [esp + 0x2c]
mul ebx
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 8]
and ecx, 0xfffff800
mov eax, edi
mul ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov edi, dword [esi]
mov eax, edi
mov dword [esp + 0x20], edi
mul ebx
mov esi, edx
mov ebx, eax
mov eax, edi
mul ecx
xor eax, eax
add edx, ebx
setb al
add edx, dword [esp + 4]
adc eax, 0
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x98]
add ecx, dword [edi + 8]
mov dword [esp + 0x18], ecx
add esi, dword [esp]
mov ecx, dword [esp + 0x10]
adc ecx, 0
add esi, dword [esp + 0xc]
adc ecx, 0
add edx, 0x80000000
adc esi, eax
mov dword [esp + 0x24], esi
adc ecx, 0
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xbc]
mov eax, esi
mov ebx, dword [esp + 0x28]
mul ebx
mov dword [esp + 0xc], eax
mov dword [esp], edx
mov edi, dword [esp + 0xb8]
mov eax, edi
mul ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, esi
mov esi, dword [esp + 0x20]
mul esi
mov dword [esp + 0x14], edx
mov ecx, eax
mov eax, edi
mul esi
xor eax, eax
add edx, ecx
setb al
add edx, dword [esp + 8]
mov dword [esp + 8], edx
adc eax, 0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xac]
mov eax, ecx
mul ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0xa8]
mov eax, edi
mul ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], eax
mov eax, ecx
mul esi
mov ebx, edx
mov ecx, eax
mov eax, edi
mul esi
xor eax, eax
add edx, ecx
setb al
add edx, dword [esp + 0x5c]
adc eax, 0
add ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x38]
adc esi, 0
add ebx, dword [esp + 0x28]
adc esi, 0
add edx, 0x80000000
adc ebx, eax
adc esi, 0
add ebx, 1
mov dword [esp + 0x58], ebx
adc esi, 0
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0xc]
mov eax, dword [esp]
adc eax, 0
add ecx, dword [esp + 4]
adc eax, 0
add dword [esp + 8], 0x80000000
adc ecx, dword [esp + 0x2c]
adc eax, 0
sub ebx, ecx
mov dword [esp + 0x40], ebx
mov ecx, esi
sbb ecx, eax
mov dword [esp + 0x48], ecx
mov edi, ebx
add edi, 1
mov eax, ecx
adc eax, 0
mov dword [esp + 0xc], eax
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x18]
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x14], eax
shl eax, cl
mov ebx, dword [esp + 0x58]
shrd ebx, esi, cl
mov dword [esp + 0x38], esi
shr esi, cl
mov dword [esp + 0x2c], ecx
test cl, 0x20
cmove esi, ebx
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x64], eax
add eax, 0xffffffff
mov dword [esp + 0x68], edx
adc edx, 0xffffffff
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], edx
and ecx, edx
mov ebx, dword [esp + 0x58]
mov edx, ebx
mov dword [esp + 0x60], eax
and edx, eax
mov dword [esp + 4], edx
imul eax, dword [esp + 0x18], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 8], esi
cmp dword [eax*4 + 0x6defbc], esi
lea edx, [eax + 1]
cmova edx, eax
sub ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
sbb esi, dword [esp + 0x10]
mov eax, ebx
add eax, 0xffffffff
mov dword [esp + 0x50], eax
mov eax, esi
adc eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ebx
mov eax, ebx
mov ebx, dword [esp + 4]
add eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], esi
mov eax, esi
adc eax, 0
mov dword [esp + 0x44], eax
mov eax, dword [edx*4 + 0x6defb8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x20]
xor esi, esi
mov dword [eax], esi
add dword [esp + 0x40], 0xfffffffd
adc dword [esp + 0x48], 0xffffffff
mov eax, edx
sar eax, 0x1f
and eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
mov dword [esp], ecx
nop dword [eax]
test edx, edx
jle 0x5157d9
mov dword [esp + 0x18], edx
mov eax, dword [esp + 8]
xor edx, edx
div dword [esp + 0x10]
add al, 0x30
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x18]
mov byte [esi + ecx], al
xor esi, esi
mov ecx, dword [esp + 0x2c]
shld esi, edx, cl
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
shl edx, cl
test cl, 0x20
cmovne esi, edx
mov ecx, 0
cmovne edx, ecx
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
add edx, ebx
adc esi, dword [esp]
mov dword [esp + 0x20], edx
cmp edx, edi
mov dword [esp + 0x24], esi
sbb esi, dword [esp + 0xc]
jb 0x515ae4
mov eax, dword [esp + 0x10]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 4]
dec edx
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
sbb dword [esp + 0x24], eax
mov ecx, dword [esp]
jae 0x515730
jmp 0x5158a9
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x54]
nop word cs:[eax + eax]
mov dword [esp + 0x18], edx
mov eax, ebx
mov edx, 0xa
mul edx
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*2]
mov esi, eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x14]
shr ebx, cl
mov dword [esp + 0x24], eax
mov edx, 0xa
mul edx
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
ret
xor byte [ebx + 0xf8b207d], cl
mov esi, dword [ebp + 0x18]
mov byte [esi + ecx], bl
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
mov ebx, dword [esp]
and ebx, dword [esp + 0x5c]
mov edx, dword [esp + 4]
and edx, dword [esp + 0x60]
mov edi, eax
mov esi, edx
cmp edx, eax
mov dword [esp], ebx
mov eax, ebx
mov dword [esp + 0xc], ecx
sbb eax, ecx
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx]
lea eax, [ecx + 1]
mov dword [edx], eax
mov ebx, dword [esp + 0x10]
lea edx, [ebx + ebx*4]
mov eax, dword [esp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x10], eax
jb 0x5158e8
mov edx, dword [esp + 0x18]
dec edx
cmp esi, edi
mov ecx, dword [esp]
mov eax, ecx
sbb eax, dword [esp + 0xc]
mov ebx, esi
jae 0x5157f0
test byte [esp + 0x1c], 1
je 0x516180
sub edx, dword [esp + 0x94]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add edx, dword [ecx]
mov dword [eax], edx
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.005412b6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x14]
mov eax, ebx
mul dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, ebx
imul edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
imul ebx, dword [esp + 0x58]
add ebx, dword [esp + 8]
add ebx, edx
mov edx, eax
sub edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov edx, ebx
sbb edx, dword [esp + 0x10]
mov dword [esp + 8], edx
add eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
adc ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
mov eax, edi
sub eax, esi
mov ebx, dword [esp + 0xc]
sbb ebx, dword [esp]
mov edx, dword [esp + 0x64]
cmp eax, edx
sbb ebx, dword [esp + 0x68]
setb al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 4], esi
jb 0x5161cb
mov ebx, esi
mov esi, dword [esp + 0x30]
cmp ebx, esi
mov edi, dword [esp]
mov eax, edi
sbb eax, dword [esp + 8]
mov eax, ebx
jae 0x515a32
mov eax, dword [esp + 4]
mov edi, dword [esp]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
add eax, edx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x68]
adc edi, ebx
cmp eax, esi
mov eax, edi
sbb eax, dword [esp + 8]
jb 0x5159cc
mov eax, esi
sub eax, dword [esp + 0x48]
mov esi, dword [esp + 8]
sbb esi, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x30]
mov ebx, edi
sbb edi, dword [esp + 8]
cmp eax, edx
mov edx, dword [esp + 0x64]
sbb esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x68]
jb 0x515a1c
mov eax, dword [ebp + 0x18]
dec byte [eax + ecx]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
sbb esi, edi
cmp eax, edx
mov edx, esi
sbb edx, ebx
setb dl
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x20], edx
mov edx, edi
sbb edx, dword [esp + 8]
jae 0x515a2e
mov edx, dword [esp + 0x64]
cmp eax, edx
sbb esi, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
mov esi, dword [esp + 0x30]
jb 0x515a32
jmp 0x51598a
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
jmp 0x515a32
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov ebx, eax
cmp eax, esi
mov eax, edi
mov ecx, dword [esp + 0x40]
sbb eax, ecx
jae 0x515a4b
cmp byte [esp + 0x1c], 0
je 0x515aa3
mov esi, dword [esp + 0x24]
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x50]
lea ecx, [edx + ecx*4]
mov dword [esp + 8], edi
cmp ebx, eax
sbb edi, ecx
setae cl
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov esi, dword [esp + 0x44]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 0x28]
add eax, edi
adc edx, dword [esp + 0xc]
cmp eax, ebx
sbb edx, dword [esp + 8]
setae al
and al, cl
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 4]
jmp 0x515891
mov ecx, ebx
mov dword [esp + 0x20], ebx
add ecx, dword [esp + 0x64]
mov eax, edi
adc eax, dword [esp + 0x68]
cmp ecx, esi
mov edx, eax
sbb edx, dword [esp + 0x40]
jb 0x5161ba
mov edx, esi
sub edx, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
sbb esi, edi
sub ecx, dword [esp + 0x3c]
sbb eax, dword [esp + 0x40]
cmp ecx, edx
sbb eax, esi
jae 0x515a4b
jmp 0x5161ba
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
shld ebx, edi, cl
shl edi, cl
test cl, 0x20
cmovne ebx, edi
mov ecx, 0
cmovne edi, ecx
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x24]
cmp edx, edi
mov esi, ecx
sbb esi, ebx
setb al
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
sbb esi, dword [esp + 0x3c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], edi
jae 0x5161d5
cmp edx, edi
sbb ecx, ebx
mov esi, eax
mov edx, dword [esp + 0x24]
mov ecx, edx
mov ebx, dword [esp + 4]
jb 0x515c1a
mov edi, eax
mov dword [esp + 0x70], edi
mov esi, edi
mov dword [esp + 0x6c], edx
mov ecx, edx
add esi, dword [esp + 0x4c]
adc ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x50]
cmp esi, edx
mov edi, ecx
sbb ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
jb 0x515ba4
mov eax, edx
sub eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov esi, eax
sbb esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov edx, edi
sbb edx, eax
cmp dword [esp + 0x34], ecx
sbb esi, edx
mov esi, dword [esp + 0x1c]
jb 0x515c00
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x30]
dec byte [ecx + edx]
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov esi, dword [esp + 0xc]
sbb esi, edi
mov eax, dword [esp + 0x4c]
cmp ecx, eax
mov edx, esi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x78]
sbb edx, edi
setb dl
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
sbb edx, dword [esp + 0x3c]
jae 0x515c12
cmp ecx, eax
sbb esi, edi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
jb 0x515c1a
jmp 0x515b60
mov dword [esp + 0x74], 0
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
jmp 0x515c1a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x7c]
cmp esi, edi
mov eax, ecx
sbb eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
jae 0x515c33
cmp byte [esp + 0x74], 0
je 0x515c5c
xor eax, eax
inc eax
cmp eax, esi
mov eax, 0
sbb eax, ecx
setb al
cmp dword [esp + 0x40], esi
mov esi, ecx
mov ecx, dword [esp + 0x48]
sbb ecx, esi
setae cl
and cl, al
mov dword [esp + 0x1c], ecx
jmp 0x5157ba
mov eax, dword [esp + 0x4c]
add eax, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x78]
adc ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
cmp eax, edi
mov eax, ecx
sbb eax, dword [esp + 0x44]
jb 0x515ca8
mov eax, edi
sub eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
sbb eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
sbb ecx, dword [esp + 0x44]
cmp eax, dword [esp + 0x30]
sbb ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jae 0x515c33
mov dword [esp + 0x1c], 0
jmp 0x5157ba
jne 0x51624b
movsd qword [esp + 0x88], xmm0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, edx
and eax, 0xfffff
mov ebx, ecx
add ebx, 0xffffffff
mov edi, eax
adc edi, 0xfffff
add ebx, 1
adc edi, 0
test edx, 0x7ff00000
je 0x516259
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld edi, ebx, 0xb
shl ebx, 0xb
movaps xmm0, xmmword [0x6b6dd0]
lea ecx, [esp + 0xb8]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
lea eax, [esp + 0xa8]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
sub ecx, edx
mov esi, edx
mov dword [esp], edx
mov edx, 0xffffffab
sub edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0xc], esi
push eax
lea esi, [esp + 0xbc]
push esi
push edx
push ecx
call fcn.005218d0
add esp, 0x10
mov ecx, esi
mov esi, dword [esi + 4]
mov eax, esi
mul edi
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov eax, esi
mul ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [ecx]
mov eax, ecx
mul edi
mov edi, edx
mov esi, eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, esi
setb al
add edx, dword [esp + 0x10]
adc eax, 0
mov ebx, dword [esp]
lea ecx, [esp + 0xb8]
add ebx, dword [ecx + 8]
mov dword [esp], ebx
add edi, dword [esp + 0x18]
mov esi, dword [esp + 4]
adc esi, 0
add edi, dword [esp + 0x14]
adc esi, 0
add edx, 0x80000000
adc edi, eax
adc esi, 0
mov ecx, 0xffffffcb
sub ecx, ebx
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x14], eax
shl eax, cl
mov ebx, edi
mov dword [esp + 4], esi
shrd ebx, esi, cl
shr esi, cl
mov dword [esp + 0x20], ecx
test cl, 0x20
cmove esi, ebx
cmovne edx, eax
mov ebx, 0
cmovne eax, ebx
mov dword [esp + 0x24], eax
add eax, 0xffffffff
mov dword [esp + 0x2c], edx
adc edx, 0xffffffff
mov dword [esp + 0x60], edx
and dword [esp + 4], edx
mov dword [esp + 0x28], eax
and edi, eax
mov dword [esp + 8], edi
imul eax, dword [esp], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x6defbc], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov edx, dword [ebx*4 + 0x6defb8]
mov eax, dword [ebp + 0x20]
mov dword [esp], 0
xor edi, edi
mov dword [eax], edi
mov edi, edx
test ebx, ebx
jle 0x515f5b
mov eax, esi
xor edx, edx
div edi
add al, 0x30
mov esi, dword [ebp + 0x18]
mov ecx, edi
mov edi, dword [esp]
mov byte [esi + edi], al
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
inc edi
mov dword [esp], 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 + 0xc]
jne 0x515e4a
mov dword [esp + 0x18], ebx
mov edx, edi
mov ecx, dword [esp + 0x20]
shl edx, cl
xor eax, eax
test cl, 0x20
mov ebx, edx
cmovne ebx, eax
mov dword [esp + 0xc], 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, dword [esp + 0xc]
test cl, 0x20
cmovne eax, edx
add edi, dword [esp + 8]
adc eax, dword [esp + 4]
cmp esi, 3
mov ecx, ebx
sbb ecx, 0
jb 0x516180
mov ecx, esi
sub ecx, edi
mov edx, ebx
sbb edx, eax
cmp edi, ecx
mov ecx, eax
sbb ecx, edx
jb 0x516130
cmp edi, 2
mov ecx, eax
sbb ecx, 0
jb 0x516180
add edi, 0xffffffff
adc eax, 0xffffffff
sub esi, edi
sbb ebx, eax
cmp edi, esi
sbb eax, ebx
jb 0x516180
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp]
mov al, byte [edx + ecx - 1]
inc al
mov byte [edx + ecx - 1], al
cmp edx, 2
mov edx, dword [esp + 0x18]
jl 0x5160d9
cmp al, 0x3a
jne 0x5160d9
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp]
mov byte [ecx + esi - 1], 0x30
mov al, byte [ecx + esi - 2]
inc al
mov byte [ecx + esi - 2], al
dec esi
mov dword [esp], esi
cmp esi, 1
jg 0x515f30
jmp 0x5160d9
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xc], 0
je 0x516250
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
jle 0x516180
cmp eax, 2
mov edx, esi
sbb edx, 0
jb 0x516180
xor ebx, ebx
mov edi, 0xa
mov dword [esp + 0x10], ebx
mul edi
lea esi, [esi + esi*4]
lea ebx, [edx + esi*2]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov esi, eax
mov ecx, dword [esp + 0x20]
shrd esi, ebx, cl
mov eax, dword [esp + 0x14]
shr ebx, cl
mov dword [esp + 0x38], eax
mul edi
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x18]
mov edi, dword [esp]
mov byte [esi + edi], bl
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edi, [ecx + ecx*4]
mov dword [esp + 0x30], edi
lea ecx, [edx + edi*2]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
lea edi, [edx + 1]
mov dword [esp], edi
mov dword [ecx], edi
mov edi, 0xa
mov ecx, dword [esp + 8]
and ecx, dword [esp + 0x28]
mov edx, dword [esp + 4]
and edx, dword [esp + 0x60]
dec dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp esi, 2
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
mov esi, edx
mov ebx, dword [esp + 0x10]
mov eax, ecx
jb 0x51602e
cmp dword [esp + 0x14], eax
mov edx, ebx
sbb edx, esi
jb 0x515f8d
mov dword [esp + 4], esi
cmp dword [esp + 0xc], 0
jne 0x516180
mov edx, dword [esp + 0x24]
mov edi, edx
mov ebx, dword [esp + 0x14]
sub edi, ebx
mov ecx, dword [esp + 0x2c]
mov esi, ecx
sbb esi, dword [esp + 0x10]
cmp ebx, edx
mov ebx, dword [esp + 0x10]
mov edx, ebx
sbb edx, ecx
jae 0x516180
cmp dword [esp + 0x14], edi
mov edx, ebx
sbb edx, esi
jae 0x516180
mov edi, dword [esp + 0x24]
mov edx, edi
sub edx, eax
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
mov esi, dword [esp + 4]
sbb ecx, esi
cmp eax, edx
mov edx, esi
sbb edx, ecx
jb 0x5160f1
cmp dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov ecx, edx
sbb ecx, esi
jae 0x516180
mov edi, esi
sub eax, dword [esp + 0x14]
sbb edi, edx
mov ecx, dword [esp + 0x24]
sub ecx, eax
sbb ebx, edi
cmp eax, ecx
sbb edi, ebx
jb 0x516180
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x5c]
mov al, byte [ecx + esi]
inc al
mov byte [ecx + esi], al
test esi, esi
mov edx, dword [esp + 0x18]
jle 0x5160d9
inc esi
cmp al, 0x3a
je 0x51615f
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
je 0x516277
sub edx, dword [esp + 0xa8]
jmp 0x5158bb
mov edx, esi
shld edx, eax, 1
lea ecx, [eax + eax]
mov dword [esp + 8], eax
sub edi, ecx
mov ecx, dword [esp + 0x2c]
sbb ecx, edx
mov edx, 0x14
mov eax, dword [esp + 0x38]
mul edx
cmp edi, eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x30]
lea edx, [edx + edi*4]
sbb ecx, edx
jb 0x51608d
mov edx, dword [esp + 0x18]
jmp 0x5160e5
mov ecx, eax
shld ecx, edi, 1
lea edx, [edi + edi]
mov esi, dword [esp + 0xc]
sub esi, edx
mov edx, ebx
sbb edx, ecx
mov dword [esp + 4], 0
xor ecx, ecx
inc ecx
cmp ecx, esi
mov esi, dword [esp + 0xc]
sbb dword [esp + 4], edx
jb 0x51612a
jmp 0x515ef1
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 0x5160d1
jmp 0x5160d9
xor ebx, ebx
jmp 0x5158d0
mov ebx, ecx
mov ecx, dword [esp + 0x20]
and ecx, 0x7fefffff
or ebx, ecx
je 0x515439
mov ecx, dword [esp + 4]
add ecx, 0xfffffffe
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
shld esi, edi, 2
shl edi, 2
mov dword [esp + 0xc], ecx
jmp 0x515439
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x28]
jmp 0x515a9a
mov eax, esi
mov edi, dword [esp]
jmp 0x515a32
mov esi, eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 4]
jmp 0x515c1a
mov ecx, dword [esp]
shld edx, ebx, 1
add ebx, ebx
dec eax
test edx, edx
js 0x51542b
jmp 0x5161e7
mov edx, 0xfffffbce
mov esi, dword [esp]
mov ecx, dword [esp + 0x10]
mov eax, ecx
shld eax, esi, 1
add esi, esi
dec edx
bt ecx, 0x13
mov ecx, eax
jb 0x5153a1
jmp 0x516206
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.00656480
movaps xmm1, xmmword [0x6b6dd0]
jmp 0x515483
call fcn.0062cff0
mov ebx, dword [esp + 0x18]
jmp 0x515e89
mov edx, 0xfffffbce
mov ebx, ecx
mov edi, eax
shld edi, ebx, 1
add ebx, ebx
dec edx
bt eax, 0x13
mov eax, edi
jb 0x515d07
jmp 0x516262
mov byte [eax], 0x31
inc edx
jmp 0x5160e5