Function at 0x4da5f0
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 [0x5c7040]
xor ecx, ebp
mov dword [esp + 0xc8], ecx
cmp dword [ebp + 0x10], 2
jae 0x4dafbf
movsd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x80]
mov dword [esp + 8], 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], ecx
mov ecx, esi
cmove ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov ebx, eax
mov dword [esp + 0x10], edi
cmove ebx, edi
je 0x4db4da
mov dword [esp + 0x1c], edx
shld eax, esi, 0xb
mov dword [esp + 0x2c], eax
shl esi, 0xb
mov dword [esp + 0xc], esi
movaps xmm1, xmmword [0x59cc00]
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 0x4db4fe
mov eax, dword [esp]
lea ecx, [eax - 1]
mov dword [esp + 0x24], ebx
mov esi, ebx
mov eax, dword [esp + 4]
shld esi, eax, 1
lea edi, [eax + eax]
lea ebx, [eax*2 + 1]
mov edx, esi
mov dword [esp + 0x14], ecx
mov eax, ecx
mov ecx, edx
shld edx, ebx, 0xa
shl ebx, 0xa
add eax, 0xfffffff6
test ecx, 0xfffff000
je 0x4da6fc
test edx, edx
jns 0x4db4c5
mov ecx, dword [esp + 8]
or dword [esp + 0x10], ecx
mov dword [esp + 0x28], ebx
je 0x4db468
add edi, 0xffffffff
adc esi, 0xffffffff
mov ecx, dword [esp + 0x14]
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 + 0x28]
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 + 0x1c]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
push esi
push edx
push ecx
call fcn.004ef780
add esp, 0x10
mov edi, dword [esi + 4]
mov dword [esp + 0x24], edi
mov eax, edi
mov ebx, dword [esp + 0x2c]
mul ebx
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xc]
and ecx, 0xfffff800
mov eax, edi
mul ecx
mov dword [esp + 4], eax
mov dword [esp], 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 + 0x1c]
lea edi, [esp + 0x98]
add ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
add esi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
adc ecx, 0
add esi, dword [esp]
adc ecx, 0
add edx, 0x80000000
adc esi, eax
mov dword [esp + 0x28], esi
adc ecx, 0
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xbc]
mov eax, esi
mov ebx, dword [esp + 0x24]
mul ebx
mov dword [esp], eax
mov dword [esp + 8], edx
mov edi, dword [esp + 0xb8]
mov eax, edi
mul ebx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 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 + 0xc]
mov dword [esp + 0xc], 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 + 0x24], 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 + 0x24]
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]
mov eax, dword [esp + 8]
adc eax, 0
add ecx, dword [esp + 4]
adc eax, 0
add dword [esp + 0xc], 0x80000000
adc ecx, dword [esp + 0x2c]
adc eax, 0
sub ebx, ecx
mov dword [esp + 0x4c], 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], eax
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x1c]
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 + 0x68], eax
add eax, 0xffffffff
mov dword [esp + 0x64], 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 + 0x1c], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0xc], esi
cmp dword [eax*4 + 0x5b5af4], esi
lea edx, [eax + 1]
cmova edx, eax
sub ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
sbb esi, dword [esp + 0x10]
mov eax, ebx
add eax, 0xffffffff
mov dword [esp + 0x44], 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 + 0x40], eax
mov eax, dword [edx*4 + 0x5b5af0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x20]
xor esi, esi
mov dword [eax], esi
add dword [esp + 0x4c], 0xfffffffd
adc dword [esp + 0x48], 0xffffffff
mov eax, edx
sar eax, 0x1f
and eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
mov dword [esp + 8], ecx
nop word [eax + eax]
test edx, edx
jle 0x4dab03
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xc]
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 + 0x34], eax
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], 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 + 0x28]
mov dword [ecx], eax
add edx, ebx
adc esi, dword [esp + 8]
mov dword [esp + 0x20], edx
cmp edx, edi
mov dword [esp + 0x28], esi
sbb esi, dword [esp]
jb 0x4dadf0
mov eax, dword [esp + 0x10]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 4]
dec edx
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x20], edi
mov eax, dword [esp]
sbb dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
jae 0x4daa20
test byte [esp + 0x18], 1
je 0x4db461
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.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x54]
jmp 0x4dabe8
mov dword [esp + 0x20], edx
add edx, dword [esp + 0x68]
mov ecx, edi
adc ecx, dword [esp + 0x64]
cmp edx, esi
mov eax, ecx
sbb eax, ebx
jb 0x4db49a
mov eax, esi
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
mov esi, ebx
sbb esi, dword [esp + 0xc]
sub edx, dword [esp + 0x3c]
sbb ecx, ebx
cmp edx, eax
sbb ecx, esi
mov edx, dword [esp + 0x20]
jae 0x4dab78
jmp 0x4db49a
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
mov eax, esi
mov esi, dword [esp + 0x3c]
cmp edx, esi
mov edi, eax
mov ebx, dword [esp + 0x44]
sbb eax, ebx
mov dword [esp + 0xc], edi
jae 0x4dab78
cmp byte [esp + 0x4c], 0
je 0x4dab14
mov esi, dword [esp + 0x28]
mov eax, esi
mov ecx, 0x14
mov ebx, edx
mul ecx
mov ecx, dword [esp + 0x40]
lea ecx, [edx + ecx*4]
cmp ebx, eax
sbb edi, ecx
setae cl
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov esi, dword [esp + 0x7c]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 0x24]
add eax, edi
adc edx, dword [esp]
cmp eax, ebx
sbb edx, dword [esp + 0xc]
setae al
and al, cl
mov dword [esp + 0x18], eax
mov esi, dword [esp + 4]
nop dword [eax + eax]
mov edx, dword [esp + 0x1c]
dec edx
cmp esi, edi
mov ecx, dword [esp + 8]
mov eax, ecx
sbb eax, dword [esp]
mov ebx, esi
jb 0x4daac4
mov dword [esp + 0x1c], 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 + 8], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x14]
shr ebx, cl
mov dword [esp + 0x28], eax
mov edx, 0xa
mul edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov edi, dword [ebp + 0x20]
mov ecx, dword [edi]
mov esi, dword [ebp + 0x18]
mov byte [esi + ecx], bl
mov ecx, dword [esp]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
mov ebx, dword [esp + 8]
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 + 8], ebx
mov eax, ebx
mov dword [esp], 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 + 0xc]
lea eax, [eax + edx*2]
mov dword [esp + 0x10], eax
jae 0x4dabd0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x14]
mul dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x58]
add edx, dword [esp + 0xc]
add edx, ebx
mov ebx, eax
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov ebx, edx
sbb ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
add eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
adc edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov edx, edi
sub edx, esi
mov ebx, dword [esp]
sbb ebx, dword [esp + 8]
cmp edx, dword [esp + 0x68]
sbb ebx, dword [esp + 0x64]
setb dl
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 4], esi
jb 0x4db4ab
mov ebx, esi
cmp esi, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov edx, esi
sbb edx, dword [esp + 0x18]
mov edx, ebx
mov eax, dword [esp + 0x68]
jae 0x4dab5b
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], esi
add edx, eax
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x64]
adc esi, ebx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x34]
cmp edx, eax
mov edx, esi
sbb edx, dword [esp + 0x18]
jb 0x4dad7c
mov edx, eax
sub edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov esi, ebx
sbb esi, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
sbb edi, ebx
cmp edx, eax
sbb esi, edi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
jb 0x4daddb
mov eax, dword [ebp + 0x18]
dec byte [eax + ecx]
mov edx, edi
sub edx, dword [esp + 0x20]
mov esi, dword [esp]
sbb esi, dword [esp + 0xc]
mov edi, dword [esp + 0x68]
cmp edx, edi
mov eax, esi
sbb eax, ebx
setb al
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
sbb eax, dword [esp + 0x18]
jae 0x4dab53
cmp edx, edi
sbb esi, ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x54], esi
mov eax, edi
mov edi, dword [esp + 0x24]
jb 0x4dab5b
jmp 0x4dad32
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
jmp 0x4dab5b
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 + 0x24]
sub edx, dword [esp + 0x20]
mov ecx, dword [esp]
sbb ecx, dword [esp + 0x28]
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 + 0x44]
mov esi, dword [esp + 0x28]
sbb esi, dword [esp + 0x3c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x50], edi
jae 0x4db4b6
cmp edx, edi
sbb ecx, ebx
mov esi, eax
mov edx, dword [esp + 0x28]
mov ecx, edx
mov ebx, dword [esp + 4]
jb 0x4daf24
mov edi, eax
mov dword [esp + 0x70], edi
mov esi, edi
mov dword [esp + 0x6c], edx
mov ecx, edx
add esi, dword [esp + 0x50]
adc ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x44]
cmp esi, edx
mov edi, ecx
sbb ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
jb 0x4daeaf
mov eax, edx
sub eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov esi, eax
sbb esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
sub ecx, edx
mov edx, edi
sbb edx, eax
cmp dword [esp + 0x30], ecx
sbb esi, edx
mov esi, dword [esp + 0x18]
jb 0x4daf0a
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x34]
dec byte [ecx + edx]
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov esi, dword [esp]
sbb esi, edi
mov eax, dword [esp + 0x50]
cmp ecx, eax
mov edx, esi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x78]
sbb edx, edi
setb dl
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
sbb edx, dword [esp + 0x3c]
jae 0x4daf1c
cmp ecx, eax
sbb esi, edi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
jb 0x4daf24
jmp 0x4dae6b
mov dword [esp + 0x74], 0
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
jmp 0x4daf24
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x7c]
cmp esi, edi
mov eax, ecx
sbb eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
jae 0x4daf3d
cmp byte [esp + 0x74], 0
je 0x4daf66
xor eax, eax
inc eax
cmp eax, esi
mov eax, 0
sbb eax, ecx
setb al
cmp dword [esp + 0x4c], esi
mov esi, ecx
mov ecx, dword [esp + 0x48]
sbb ecx, esi
setae cl
and cl, al
mov dword [esp + 0x18], ecx
jmp 0x4daaaa
mov eax, dword [esp + 0x50]
add eax, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x78]
adc ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
cmp eax, edi
mov eax, ecx
sbb eax, dword [esp + 0x40]
jb 0x4dafb2
mov eax, edi
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
sbb eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
sub eax, edi
sbb ecx, dword [esp + 0x40]
cmp eax, dword [esp + 0x34]
sbb ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
jae 0x4daf3d
mov dword [esp + 0x18], 0
jmp 0x4daaaa
jne 0x4db52e
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 0x4db53c
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld edi, esi, 0xb
shl esi, 0xb
mov dword [esp + 0x14], esi
movaps xmm0, xmmword [0x59cc00]
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
push eax
push ebx
push edx
push ecx
call fcn.004ef780
add esp, 0x10
mov esi, dword [ebx + 4]
mov eax, esi
mul edi
mov ebx, edx
mov dword [esp], eax
mov eax, esi
mov esi, dword [esp + 0x14]
mul esi
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
lea eax, [esp + 0xb8]
mov ecx, dword [eax]
mov eax, ecx
mul edi
mov edi, edx
mov dword [esp + 0x10], eax
mov eax, ecx
mul esi
xor eax, eax
add edx, dword [esp + 0x10]
setb al
add edx, dword [esp + 4]
adc eax, 0
mov esi, dword [esp + 8]
lea ecx, [esp + 0xb8]
add esi, dword [ecx + 8]
mov dword [esp + 8], esi
add edi, dword [esp]
adc ebx, 0
add edi, dword [esp + 0x1c]
adc ebx, 0
add edx, 0x80000000
adc edi, eax
adc ebx, 0
mov ecx, 0xffffffcb
sub ecx, esi
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x14], eax
shl eax, cl
mov esi, edi
shrd esi, ebx, cl
mov dword [esp], esi
mov esi, ebx
shr esi, cl
mov dword [esp + 0x28], ecx
test cl, 0x20
cmove esi, dword [esp]
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x10], eax
add eax, 0xffffffff
mov dword [esp + 0x2c], edx
adc edx, 0xffffffff
mov dword [esp + 0x24], edx
and ebx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], eax
and edi, eax
mov dword [esp + 4], edi
mov edi, dword [ebp + 0x14]
imul eax, dword [esp + 8], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x5b5af4], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov edx, dword [ebx*4 + 0x5b5af0]
mov eax, dword [ebp + 0x20]
mov dword [esp + 8], 0
mov dword [eax], ecx
mov ecx, edx
test ebx, ebx
jle 0x4db238
mov eax, esi
xor edx, edx
div ecx
add al, 0x30
mov esi, dword [ebp + 0x18]
mov dword [esp], ecx
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 dword [esp + 8], edi
mov dword [eax], edi
mov edi, ecx
mov ecx, dword [esp]
mov esi, edx
mov eax, ecx
mov edx, 0xcccccccd
mul edx
dec ebx
shr edx, 3
dec edi
jne 0x4db15b
mov dword [esp + 0x1c], ebx
mov ebx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x28]
shl ebx, cl
xor eax, eax
test cl, 0x20
mov edx, ebx
cmovne edx, eax
mov dword [esp], edx
xor edx, edx
shld edx, edi, cl
test cl, 0x20
cmovne edx, ebx
mov ebx, esi
shl ebx, cl
test cl, 0x20
mov edi, ebx
cmovne edi, eax
shld eax, esi, cl
test cl, 0x20
cmovne eax, ebx
mov ebx, dword [esp]
add edi, dword [esp + 4]
adc eax, dword [esp + 0xc]
cmp ebx, 3
mov ecx, edx
sbb ecx, 0
jb 0x4db461
mov ecx, ebx
sub ecx, edi
mov esi, edx
sbb esi, eax
cmp edi, ecx
mov ecx, eax
sbb ecx, esi
jae 0x4db3f5
mov ecx, eax
shld ecx, edi, 1
lea esi, [edi + edi]
mov ebx, dword [esp]
sub ebx, esi
mov esi, edx
sbb esi, ecx
mov dword [esp + 4], 0
xor ecx, ecx
inc ecx
cmp ecx, ebx
mov ebx, dword [esp]
sbb dword [esp + 4], esi
jb 0x4db391
jmp 0x4db3f5
mov dword [esp + 0x1c], ebx
test edi, edi
je 0x4db533
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jle 0x4db461
cmp eax, 2
mov edx, ebx
sbb edx, 0
jb 0x4db461
xor ecx, ecx
mov esi, 0xa
mov dword [esp], ecx
mul esi
lea esi, [ebx + ebx*4]
lea ebx, [edx + esi*2]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov esi, eax
mov ecx, dword [esp + 0x28]
shrd esi, ebx, cl
mov eax, dword [esp + 0x14]
shr ebx, cl
mov dword [esp + 0x60], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x14], edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x18]
mov edx, edi
mov edi, dword [esp + 8]
mov byte [esi + edi], bl
mov esi, edx
mov ecx, dword [esp]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp + 0x20]
mov edi, dword [edx]
mov dword [esp + 0x38], edi
inc edi
mov dword [esp + 8], edi
mov ebx, dword [esp + 0xc]
mov dword [edx], edi
mov edx, dword [esp + 4]
and edx, dword [esp + 0x20]
and ebx, dword [esp + 0x24]
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp esi, 2
lea edi, [esi - 1]
mov esi, 0xa
mov eax, edx
jb 0x4db305
cmp dword [esp + 0x14], eax
mov edx, ecx
sbb edx, ebx
jb 0x4db267
mov dword [esp + 4], eax
test edi, edi
jne 0x4db461
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esi, edx
mov edi, dword [esp + 0x2c]
mov eax, edi
sbb eax, ecx
cmp edx, dword [esp + 0x10]
mov edx, ecx
sbb edx, edi
jae 0x4db461
cmp dword [esp + 0x14], esi
mov edx, ecx
sbb edx, eax
jae 0x4db461
mov dword [esp], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
sub edx, eax
mov edi, dword [esp + 0x2c]
mov ecx, edi
sbb ecx, ebx
cmp eax, edx
mov edx, ebx
sbb edx, ecx
jae 0x4db3a1
mov edx, ebx
shld edx, eax, 1
lea ecx, [eax + eax]
mov edi, eax
mov esi, dword [esp + 0x10]
sub esi, ecx
mov ecx, dword [esp + 0x2c]
sbb ecx, edx
mov edx, 0x14
mov eax, dword [esp + 0x60]
mul edx
cmp esi, eax
mov eax, edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
lea edx, [edx + esi*4]
sbb ecx, edx
jb 0x4db3a1
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0xa8]
jmp 0x4daad6
cmp dword [esp + 0x14], eax
mov edx, dword [esp]
mov ecx, edx
sbb ecx, ebx
jae 0x4db461
mov esi, eax
sub esi, dword [esp + 0x14]
sbb ebx, edx
mov ecx, dword [esp + 0x10]
sub ecx, esi
sbb edi, ebx
cmp esi, ecx
sbb ebx, edi
jb 0x4db461
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x38]
mov al, byte [ecx + esi]
inc al
mov byte [ecx + esi], al
test esi, esi
mov edx, dword [esp + 0x1c]
jle 0x4db3e8
inc esi
cmp al, 0x3a
je 0x4db447
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x4db395
jmp 0x4db55a
cmp edi, 2
mov ecx, eax
sbb ecx, 0
jb 0x4db461
add edi, 0xffffffff
adc eax, 0xffffffff
sub ebx, edi
sbb edx, eax
cmp edi, ebx
sbb eax, edx
jb 0x4db461
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 8]
mov al, byte [esi + ecx - 1]
inc al
mov byte [esi + ecx - 1], al
cmp esi, 2
mov edx, dword [esp + 0x1c]
jl 0x4db3e8
cmp al, 0x3a
jne 0x4db3e8
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 0x4db429
jmp 0x4db3e8
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 0x4db3e4
jmp 0x4db3e8
xor ebx, ebx
jmp 0x4daaeb
mov ebx, ecx
mov ecx, dword [esp + 0x20]
and ecx, 0x7fefffff
or ebx, ecx
je 0x4da72a
mov ecx, dword [esp]
add ecx, 0xfffffffe
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
shld esi, edi, 2
shl edi, 2
mov dword [esp + 0x14], ecx
jmp 0x4da72a
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x24]
jmp 0x4dabc4
mov edx, esi
mov esi, dword [esp + 8]
jmp 0x4dab5b
mov esi, eax
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 4]
jmp 0x4daf24
mov ecx, dword [esp + 8]
shld edx, ebx, 1
add ebx, ebx
dec eax
test edx, edx
js 0x4da71c
jmp 0x4db4c9
mov edx, 0xfffffbce
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov eax, ecx
shld eax, esi, 1
add esi, esi
dec edx
bt ecx, 0x13
mov ecx, eax
jb 0x4da692
jmp 0x4db4e9
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.00559560
movaps xmm1, xmmword [0x59cc00]
jmp 0x4da774
call fcn.00548540
mov ebx, dword [esp + 0x1c]
jmp 0x4db19f
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 0x4db011
jmp 0x4db545
mov byte [eax], 0x31
inc edx
jmp 0x4db395