Function at 0x48afc0
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 [0x511014]
xor ecx, ebp
mov dword [esp + 0xc8], ecx
cmp dword [ebp + 0x10], 2
jae 0x48b711
movsd qword [esp + 0x80], xmm0
mov edi, dword [esp + 0x80]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x84]
mov ecx, eax
and ecx, 0xfffff
add edi, 0xffffffff
mov ebx, ecx
adc ebx, 0xfffff
add edi, 1
adc ebx, 0
mov edx, eax
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x3c], eax
test eax, 0x7ff00000
mov eax, edx
mov esi, 0xfffffbce
cmove eax, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, edi
cmove eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
cmove ebx, ecx
je 0x48befa
mov dword [esp + 0x10], edx
shld dword [esp + 0x20], edi, 0xb
shl edi, 0xb
mov dword [esp + 0x2c], edi
xor ecx, ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], ecx
cmp dword [ebp + 0x10], 0
jne 0x48bf2a
mov eax, dword [esp + 0x28]
lea edx, [eax - 1]
mov dword [esp + 0x48], ebx
mov edi, ebx
mov ecx, dword [esp + 0x14]
shld edi, ecx, 1
lea eax, [ecx + ecx]
lea ebx, [ecx + ecx]
inc ebx
mov dword [esp + 0x24], edi
mov ecx, edx
mov esi, edi
shld edi, ebx, 0xa
shl ebx, 0xa
add ecx, 0xfffffff6
test esi, 0xfffff000
je 0x48b0c2
mov dword [esp + 0x38], ebx
test edi, edi
mov ebx, edi
jns 0x48bf70
mov esi, dword [esp + 0x1c]
or esi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
je 0x48bddb
mov dword [esp + 0x18], ebx
add eax, 0xffffffff
adc esi, 0xffffffff
sub edx, ecx
mov ecx, edx
shld esi, eax, cl
shl eax, cl
xor ecx, ecx
test dl, 0x20
cmovne esi, eax
mov dword [esp + 0x24], esi
cmove ecx, eax
mov dword [esp + 0x14], ecx
mov eax, 0xffffffce
sub eax, dword [esp + 0x10]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x5053f0]
movsd qword [esp], xmm0
call fcn.004bd750
fstp qword [esp + 0x90]
cvttsd2si ecx, qword [esp + 0x90]
lea eax, [ecx + 0x15b]
add ecx, 0x162
test eax, eax
cmovns ecx, eax
add ecx, ecx
and ecx, 0xfffffff0
mov edi, dword [ecx + 0x50675c]
mov dword [esp + 0x28], ecx
mov eax, edi
mov esi, dword [esp + 0x20]
mul esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x2c]
and ebx, 0xfffff800
mov eax, edi
mul ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov ecx, dword [ecx + 0x506758]
mov eax, ecx
mov dword [esp + 0x1c], ecx
mul esi
mov dword [esp + 0x34], edx
mov esi, eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, esi
setb al
xor ecx, ecx
add edx, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
adc eax, ecx
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x24]
mov eax, ebx
mov esi, edi
mul edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
mul edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
mov eax, ebx
mov edi, dword [esp + 0x1c]
mul edi
mov ebx, edx
mov dword [esp + 0x24], eax
mov eax, ecx
mul edi
mov eax, dword [esp + 0x28]
movsx eax, word [eax + 0x506760]
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
xor eax, eax
add edx, dword [esp + 0x24]
setb al
add edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x18]
mov eax, edi
mul esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x38]
mov eax, ecx
mul esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], eax
mov eax, edi
mov esi, dword [esp + 0x1c]
mul esi
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, ecx
mul esi
xor eax, eax
add edx, dword [esp + 0x18]
setb al
add edx, dword [esp + 0x68]
mov ecx, 0
adc eax, ecx
add edi, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
adc esi, ecx
add edi, dword [esp + 0x48]
adc esi, ecx
mov ecx, 0x80000000
add edx, ecx
mov edx, 0x80000000
adc edi, eax
adc esi, 0
add edi, 1
adc esi, 0
add ebx, dword [esp + 0x3c]
mov eax, 0
mov ecx, dword [esp + 0x20]
adc ecx, eax
add ebx, dword [esp + 0x2c]
adc ecx, eax
add dword [esp + 0x10], edx
adc ebx, dword [esp + 0x24]
adc ecx, 0
mov edx, edi
mov dword [esp + 0x58], edi
sub edx, ebx
mov ebx, esi
mov eax, esi
sbb eax, ecx
add edx, 1
mov dword [esp + 0x1c], edx
adc eax, 0
mov dword [esp + 0x10], eax
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x14]
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x2c], eax
shl eax, cl
mov esi, edi
shrd esi, ebx, cl
mov edi, ebx
mov dword [esp + 0x60], ebx
shr ebx, cl
mov dword [esp + 0x38], ecx
test cl, 0x20
cmove ebx, esi
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x68], eax
add eax, 0xffffffff
mov dword [esp + 0x78], edx
adc edx, 0xffffffff
mov esi, edi
mov dword [esp + 0x48], edx
and esi, edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
and ecx, eax
imul eax, dword [esp + 0x14], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x14], ebx
cmp dword [eax*4 + 0x5053fc], ebx
lea edx, [eax + 1]
cmova edx, eax
mov ebx, dword [esp + 0x34]
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov edi, 0
adc eax, edi
add ebx, dword [esp + 0x30]
adc eax, edi
mov edi, 0x80000000
add dword [esp + 0x44], edi
adc ebx, dword [esp + 0x74]
adc eax, 0
sub dword [esp + 0x58], ebx
sbb dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
movsx eax, word [eax + 0x506762]
mov dword [esp + 0x74], eax
mov edi, dword [edx*4 + 0x5053f8]
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], ebx
mov eax, edx
sar eax, 0x1f
and eax, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
test edx, edx
jle 0x48b480
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x14]
xor edx, edx
div edi
add al, 0x30
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x18], edi
mov edi, ecx
mov ecx, dword [ebx]
mov esi, dword [ebp + 0x18]
mov byte [esi + ecx], al
xor ebx, ebx
mov esi, edx
mov ecx, dword [esp + 0x38]
shld ebx, edx, cl
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
lea edx, [eax + 1]
mov dword [esp + 0x14], esi
shl esi, cl
test cl, 0x20
cmovne ebx, esi
mov ecx, 0
cmovne esi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
add esi, edi
adc ebx, dword [esp + 0x24]
cmp esi, ecx
mov ecx, ebx
sbb ecx, dword [esp + 0x10]
jb 0x48bc12
mov eax, dword [esp + 0x18]
mov ecx, 0xcccccccd
mul ecx
mov edi, edx
shr edi, 3
mov edx, dword [esp + 0x28]
dec edx
cmp esi, dword [esp + 0x1c]
sbb ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jae 0x48b3ae
test byte [esp + 0xc], 1
je 0x48be85
sub edx, dword [esp + 0x74]
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.00496ce3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], edx
mov eax, ecx
mov edi, 0xa
mul edi
lea ecx, [esi + esi*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0x20], eax
mov esi, eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x2c]
shr ebx, cl
mov dword [esp + 0x64], eax
mul edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mul edi
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov ecx, dword [ebp + 0x20]
mov esi, dword [ecx]
mov edi, dword [ebp + 0x18]
mov byte [edi + esi], bl
mov esi, dword [esp + 0x10]
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov ebx, dword [esp + 0x24]
and ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
and esi, dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x20], esi
cmp esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edx
sbb ebx, edx
mov esi, dword [ecx]
lea eax, [esi + 1]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov edx, dword [esp + 0x18]
lea edx, [edx + ecx*2]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jb 0x48b549
mov edx, dword [esp + 0x28]
dec edx
mov ecx, dword [esp + 0x20]
cmp ecx, edi
mov esi, dword [esp + 0x24]
mov eax, esi
sbb eax, dword [esp + 0x10]
jae 0x48b48c
jmp 0x48b444
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x2c]
mov eax, ebx
mov esi, dword [esp + 0x58]
mul esi
mov ecx, eax
mov eax, ebx
imul eax, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x14]
imul edx, esi
add edx, eax
mov eax, dword [esp + 0x14]
mov esi, ecx
sub esi, ebx
mov dword [esp + 0xc], esi
mov esi, edx
sbb esi, eax
mov dword [esp + 0x30], esi
add ecx, ebx
mov dword [esp + 0x44], ecx
adc edx, eax
mov dword [esp + 0x54], edx
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
sbb ecx, edi
cmp eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
sbb ecx, ebx
setb al
mov dword [esp + 0x34], eax
jb 0x48b689
cmp edx, dword [esp + 0xc]
mov eax, edi
mov esi, dword [esp + 0x30]
sbb eax, esi
mov ecx, edx
jae 0x48b68b
mov eax, edx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ecx, edx
mov dword [esp + 0x6c], edi
mov edx, dword [esp + 0x68]
add ecx, edx
adc edi, ebx
cmp ecx, dword [esp + 0xc]
mov eax, edi
sbb eax, esi
mov dword [esp + 0x18], edi
jb 0x48b62c
mov edx, dword [esp + 0xc]
mov eax, edx
sub eax, dword [esp + 0x40]
mov edi, ecx
mov esi, dword [esp + 0x30]
mov ecx, esi
sbb ecx, dword [esp + 0x6c]
mov ebx, edi
sub ebx, edx
mov edx, dword [esp + 0x18]
sbb edx, esi
cmp eax, ebx
sbb ecx, edx
mov ecx, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
jb 0x48bbfd
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x5c]
dec byte [eax + esi]
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ebx, dword [esp + 0x10]
sbb ebx, edi
cmp eax, edx
mov edi, ecx
mov ecx, ebx
mov esi, dword [esp + 0x78]
sbb ecx, esi
setb cl
mov dword [esp + 0x34], ecx
cmp edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x30]
jae 0x48b706
cmp eax, edx
sbb ebx, esi
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, edi
mov edi, eax
mov ebx, esi
mov esi, dword [esp + 0x30]
jae 0x48b5e2
jmp 0x48b68b
mov ecx, edx
mov eax, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
cmp ecx, edi
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x54]
sbb eax, ebx
mov esi, dword [esp + 0x64]
jae 0x48b6b2
cmp byte [esp + 0x34], 0
je 0x48ba33
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x4c]
lea ecx, [edx + ecx*4]
cmp dword [esp + 0xc], eax
mov ebx, dword [esp + 0x18]
mov eax, ebx
sbb eax, ecx
setae cl
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov esi, dword [esp + 0x50]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 0x1c]
add eax, edi
adc edx, dword [esp + 0x10]
cmp eax, dword [esp + 0xc]
sbb edx, ebx
setae al
and al, cl
mov dword [esp + 0xc], eax
jmp 0x48b529
mov ecx, edi
mov edi, dword [esp + 0x18]
jmp 0x48b68b
jne 0x48bf94
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 0x48bf99
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x10], edx
shld edi, esi, 0xb
mov dword [esp + 0x14], edi
shl esi, 0xb
mov dword [esp + 0x2c], esi
mov eax, 0xffffffce
sub eax, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x5053f0]
movsd qword [esp], xmm0
call fcn.004bd750
fstp qword [esp + 0x98]
cvttsd2si edx, qword [esp + 0x98]
lea eax, [edx + 0x15b]
add edx, 0x162
test eax, eax
cmovns edx, eax
add edx, edx
and edx, 0xfffffff0
mov ecx, dword [edx + 0x50675c]
mov ebx, edx
mov eax, ecx
mul edi
mov edi, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
mov ecx, ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [ebx + 0x506758]
mov eax, ebx
mul dword [esp + 0x14]
mov esi, edx
mov dword [esp + 0x14], eax
mov eax, ebx
mul dword [esp + 0x2c]
xor ebx, ebx
add edx, dword [esp + 0x14]
setb bl
xor eax, eax
add edx, dword [esp + 0x28]
adc ebx, eax
movsx eax, word [ecx + 0x506760]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
add esi, dword [esp + 0x20]
mov ecx, 0
adc edi, ecx
add esi, dword [esp + 0x1c]
adc edi, ecx
add edx, 0x80000000
adc esi, ebx
adc edi, 0
mov ecx, 0xffffffcb
sub ecx, eax
xor eax, eax
inc eax
xor ebx, ebx
shld ebx, eax, cl
shl eax, cl
mov edx, esi
shrd edx, edi, cl
mov dword [esp + 0x20], edx
mov edx, edi
shr edx, cl
mov dword [esp + 0x38], ecx
test cl, 0x20
mov ecx, edx
cmove ecx, dword [esp + 0x20]
cmovne ebx, eax
mov dword [esp + 0x14], ebx
mov edx, 0
cmovne eax, edx
mov dword [esp + 0x2c], eax
add eax, 0xffffffff
adc ebx, 0xffffffff
mov dword [esp + 0x64], ebx
and edi, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], eax
and esi, eax
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0x14]
imul eax, dword [esp + 0x10], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x5053fc], ecx
lea edi, [eax + 1]
cmova edi, eax
mov eax, dword [esp + 0x24]
movsx eax, word [eax + 0x506762]
mov dword [esp + 0x3c], eax
mov edx, dword [edi*4 + 0x5053f8]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], 0
xor ebx, ebx
mov dword [eax], ebx
mov ebx, edx
test edi, edi
mov edx, edi
mov dword [esp + 0x10], ebx
jle 0x48ba78
mov eax, ecx
mov edi, edx
xor edx, edx
div ebx
add al, 0x30
mov ebx, dword [ebp + 0x18]
mov ecx, esi
mov esi, dword [esp + 0x24]
mov byte [ebx + esi], al
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
inc esi
mov ebx, esi
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x10]
mov dword [eax], esi
mov esi, ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
dec edi
shr edx, 3
dec esi
jne 0x48b8d2
mov dword [esp + 0x28], edi
mov edi, ebx
mov esi, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
shl edi, cl
xor ebx, ebx
test cl, 0x20
mov edx, edi
cmovne edx, ebx
mov dword [esp + 0x14], edx
xor eax, eax
mov edx, dword [esp + 0x10]
shld eax, edx, cl
test cl, 0x20
cmovne eax, edi
shl esi, cl
test cl, 0x20
mov edx, esi
cmovne edx, ebx
mov dword [esp + 0x10], edx
xor edi, edi
mov edx, dword [esp + 0x2c]
shld edi, edx, cl
mov edx, eax
mov eax, dword [esp + 0x10]
test cl, 0x20
cmovne edi, esi
mov esi, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
adc edi, dword [esp + 0x20]
cmp esi, 3
mov ecx, edx
sbb ecx, 0
jb 0x48b468
mov ecx, esi
sub ecx, eax
mov ebx, edx
sbb ebx, edi
cmp eax, ecx
mov ecx, edi
sbb ecx, ebx
mov ebx, esi
jae 0x48b9c8
mov ecx, edi
shld ecx, eax, 1
lea esi, [eax + eax]
mov ebx, dword [esp + 0x14]
sub ebx, esi
mov esi, edx
sbb esi, ecx
mov dword [esp + 0x10], esi
xor ecx, ecx
xor esi, esi
inc esi
cmp esi, ebx
mov ebx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x10]
jb 0x48bbee
cmp eax, 2
mov ecx, edi
sbb ecx, 0
jb 0x48be85
mov esi, ebx
add eax, 0xffffffff
adc edi, 0xffffffff
sub esi, eax
sbb edx, edi
cmp eax, esi
sbb edi, edx
jb 0x48be85
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0x24]
mov al, byte [edi + ecx - 1]
inc al
mov byte [edi + ecx - 1], al
cmp edi, 2
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jl 0x48be6d
cmp al, 0x3a
jne 0x48be6d
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edi - 1], 0x30
mov al, byte [ecx + edi - 2]
inc al
mov byte [ecx + edi - 2], al
dec edi
cmp edi, 1
jg 0x48ba0e
jmp 0x48be6d
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
adc eax, dword [esp + 0x78]
cmp edx, edi
mov ecx, eax
sbb ecx, ebx
jb 0x48ba67
mov ecx, edi
sub ecx, dword [esp + 0xc]
mov edi, ebx
sbb edi, dword [esp + 0x18]
sub edx, dword [esp + 0x44]
sbb eax, ebx
cmp edx, ecx
sbb eax, edi
jae 0x48b6b2
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x1c]
jmp 0x48b529
test esi, esi
je 0x48bf8d
xor ebx, ebx
test esi, esi
mov edi, dword [esp + 0x1c]
jle 0x48b468
cmp edi, 2
mov eax, dword [esp + 0x20]
sbb eax, 0
jb 0x48b468
mov dword [esp + 0x18], esi
xor ecx, ecx
mov ebx, dword [esp + 0x20]
xor esi, esi
inc esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edx
mov eax, edi
mov edx, 0xa
mul edx
lea edi, [ebx + ebx*4]
lea ebx, [edx + edi*2]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov edi, eax
mov ecx, dword [esp + 0x38]
shrd edi, ebx, cl
shr ebx, cl
mov dword [esp + 0x60], esi
mov eax, esi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, edi
add bl, 0x30
mov edi, dword [ebp + 0x18]
mov esi, dword [esp + 0x24]
mov byte [edi + esi], bl
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x58], ecx
lea ecx, [edx + ecx*2]
mov edx, dword [ebp + 0x20]
mov esi, dword [edx]
mov dword [esp + 0xc], esi
inc esi
mov edi, esi
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x1c]
mov dword [edx], esi
mov edx, dword [esp + 0x28]
and edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
and ebx, dword [esp + 0x64]
dec edx
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, 2
lea eax, [eax - 1]
mov dword [esp + 0x18], eax
jb 0x48bb48
cmp esi, edi
mov eax, ecx
sbb eax, ebx
jb 0x48baab
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edx
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
jne 0x48be85
mov eax, ebx
sub eax, esi
mov dword [esp + 0x24], eax
mov ecx, edx
mov eax, dword [esp + 0x10]
sbb ecx, eax
mov edx, ebx
xor ebx, ebx
cmp esi, edx
mov edx, eax
sbb edx, dword [esp + 0x14]
jae 0x48b468
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x24]
sbb eax, ecx
jae 0x48b468
mov ebx, dword [esp + 0x2c]
mov eax, ebx
sub eax, edi
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x20]
sbb ecx, edx
cmp edi, eax
mov eax, edx
sbb eax, ecx
jae 0x48be13
mov eax, edx
shld eax, edi, 1
lea ecx, [edi + edi]
mov ebx, dword [esp + 0x2c]
sub ebx, ecx
sbb esi, eax
mov edx, 0x14
mov eax, dword [esp + 0x60]
mul edx
cmp ebx, eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
sbb esi, eax
jb 0x48be13
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
sub edx, esi
jmp 0x48b453
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x6c]
jmp 0x48b68b
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x58]
mov ecx, edx
add ecx, 0xffffffff
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x60]
mov ecx, edi
adc ecx, 0xffffffff
mov dword [esp + 0x34], ecx
add edx, 1
mov dword [esp + 0x6c], edx
adc edi, 0
mov dword [esp + 0x50], edi
xor edi, edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
shld edi, edx, cl
mov edx, dword [esp + 0x18]
shl edx, cl
test cl, 0x20
cmovne edi, edx
mov ecx, 0
cmovne edx, ecx
mov eax, dword [esp + 0x1c]
sub eax, esi
mov ecx, dword [esp + 0x10]
sbb ecx, ebx
mov dword [esp + 0xc], eax
cmp eax, edx
mov eax, ecx
sbb ecx, edi
setb cl
mov dword [esp + 0x40], ecx
cmp esi, dword [esp + 0x44]
mov ecx, ebx
sbb ecx, dword [esp + 0x34]
mov ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
jae 0x48bd7b
cmp dword [esp + 0xc], edx
sbb eax, ecx
mov edx, esi
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x50]
jb 0x48bd85
mov ecx, esi
mov edx, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0xc], ebx
mov edx, esi
add edx, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
mov eax, edx
mov edx, dword [esp + 0xc]
adc edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0xc], edx
sbb edx, dword [esp + 0x34]
jb 0x48bd10
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
sbb ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0xc]
sbb eax, dword [esp + 0x34]
cmp dword [esp + 0x40], edx
sbb ecx, eax
jb 0x48bee1
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x7c]
dec byte [ecx + eax]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
sbb edx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
cmp ecx, eax
mov ecx, edx
sbb ecx, dword [esp + 0x54]
setb cl
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x34]
jae 0x48be06
cmp dword [esp + 0x5c], eax
sbb edx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x50]
jae 0x48bcc2
jmp 0x48bd85
mov edx, esi
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x50]
mov eax, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
cmp eax, edx
mov eax, dword [esp + 0xc]
sbb eax, ecx
jae 0x48bda4
cmp byte [esp + 0x40], 0
je 0x48be8c
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffc
mov ecx, dword [esp + 0x10]
adc ecx, 0xffffffff
xor edx, edx
inc edx
cmp edx, dword [esp + 0x30]
mov edx, 0
sbb edx, dword [esp + 0xc]
setb dl
cmp eax, dword [esp + 0x30]
sbb ecx, dword [esp + 0xc]
setae al
and al, dl
mov dword [esp + 0xc], eax
jmp 0x48b429
test dword [esp + 0x3c], 0x7fe00000
je 0x48b0f6
mov edx, dword [esp + 0x28]
add edx, 0xfffffffe
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
shld edi, eax, 2
shl eax, 2
mov esi, edi
jmp 0x48b0f6
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
jmp 0x48bd85
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
mov esi, dword [esp + 0x10]
mov eax, esi
sbb eax, edx
jae 0x48be85
sub edi, ecx
sbb edx, esi
sub ebx, edi
mov eax, dword [esp + 0x14]
sbb eax, edx
cmp edi, ebx
sbb edx, eax
jb 0x48be85
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0xc]
mov al, byte [ecx + edi]
inc al
mov byte [ecx + edi], al
test edi, edi
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jle 0x48be6d
inc edi
cmp al, 0x3a
jne 0x48be6d
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edi - 1], 0x30
mov al, byte [ecx + edi - 2]
inc al
mov byte [ecx + edi - 2], al
dec edi
cmp edi, 1
jg 0x48be51
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x48bbf6
mov eax, dword [ebp + 0x18]
mov byte [eax], 0x31
inc edx
jmp 0x48bbf6
xor ebx, ebx
jmp 0x48b468
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
adc eax, dword [esp + 0xc]
cmp dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sbb eax, ecx
jb 0x48bed4
mov eax, edx
sub eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
sbb ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
sub eax, edx
mov edx, dword [esp + 0x54]
sbb edx, dword [esp + 0x50]
cmp eax, dword [esp + 0x34]
sbb edx, ecx
jae 0x48bda4
mov dword [esp + 0xc], 0
jmp 0x48b429
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
jmp 0x48bd81
mov edx, 0xfffffbce
mov edi, esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov eax, ebx
mov ebx, dword [esp + 0x20]
shld ebx, edi, 1
add edi, edi
dec edx
bt ecx, 0x13
mov dword [esp + 0x20], ebx
mov ecx, ebx
mov ebx, eax
jb 0x48b067
jmp 0x48bf09
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0xa4]
movss dword [ecx], xmm0
lea esi, [esp + 0xa8]
mov dword [esp], esi
lea edi, [esp + 0xb8]
mov edx, edi
call fcn.004df340
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
jmp 0x48b11c
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
shld ebx, edi, 1
add edi, edi
mov dword [esp + 0x38], edi
dec ecx
test ebx, ebx
js 0x48b0e8
jmp 0x48bf74
mov edi, edx
jmp 0x48b91e
call fcn.004bfb30
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 0x48b763
jmp 0x48bfa2