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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
movsd xmm0, qword [ebp + 8]
mov ecx, dword [0x54a010]
xor ecx, ebp
mov dword [esp + 0xc0], ecx
cmp dword [ebp + 0x10], 2
jae 0x48068b
movsd qword [esp + 0x78], xmm0
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov eax, dword [esp + 0x7c]
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 + 0x2c], eax
test eax, 0x7ff00000
mov eax, edx
mov ebx, 0xfffffbce
cmove eax, ebx
mov ebx, dword [esp]
mov dword [esp + 4], eax
mov eax, esi
cmove eax, ebx
mov dword [esp + 0xc], eax
mov eax, ecx
mov dword [esp + 0x38], edi
cmove eax, edi
mov dword [esp + 0x14], eax
je 0x480dd7
mov dword [esp + 0x24], edx
shld ecx, esi, 0xb
mov dword [esp + 0x1c], ecx
shl esi, 0xb
mov dword [esp + 0x20], esi
movaps xmm1, xmmword [0x52f050]
movups xmmword [esp + 0xb0], xmm1
xor ecx, ecx
mov dword [esp + 0xb8], ecx
movups xmmword [esp + 0xa0], xmm1
mov dword [esp + 0xa8], ecx
cmp dword [ebp + 0x10], 0
jne 0x480df9
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
shld esi, edx, 1
lea eax, [edx + edx]
lea edi, [edx*2 + 1]
mov dword [esp + 8], esi
mov edx, ecx
mov ebx, esi
shld esi, edi, 0xa
shl edi, 0xa
add edx, 0xfffffff6
test ebx, 0xfffff000
je 0x47fff5
test esi, esi
jns 0x480e29
mov ebx, dword [esp]
or ebx, dword [esp + 0x38]
mov dword [esp + 0x18], edi
je 0x480cc8
add eax, 0xffffffff
mov edi, dword [esp + 8]
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 + 0x18]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb8], edx
lea ecx, [esp + 0x90]
movups xmmword [ecx], xmm1
xor eax, eax
mov dword [ecx + 8], eax
mov esi, ecx
lea eax, [esp + 0x8c]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
mov edi, dword [esp + 0x24]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
push esi
push edx
push ecx
call fcn.0044ec20
add esp, 0x10
mov ecx, esi
mov edi, dword [esi + 4]
mov dword [esp], edi
mov eax, edi
mov esi, dword [esp + 0x1c]
mul esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x20]
and ebx, 0xfffff800
mov eax, edi
mul ebx
mov edi, eax
mov dword [esp + 4], edx
mov ecx, dword [ecx]
mov eax, ecx
mov dword [esp + 0x2c], ecx
mul esi
mov dword [esp + 0x18], 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 + 0x24]
lea esi, [esp + 0x90]
add ecx, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x18]
add esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
adc ecx, edi
add esi, dword [esp + 4]
adc ecx, edi
mov ebx, 0x80000000
add edx, ebx
adc esi, eax
mov dword [esp + 0x18], esi
adc ecx, edi
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0xb4]
mov eax, esi
mov ecx, dword [esp]
mul ecx
mov dword [esp + 4], eax
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0xb0]
mov eax, edi
mul ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], eax
mov eax, esi
mov ecx, dword [esp + 0x2c]
mul ecx
mov dword [esp + 0x20], edx
mov esi, eax
mov eax, edi
mul ecx
mov edi, ecx
xor eax, eax
add edx, esi
setb al
add edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
adc eax, ebx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0xa4]
mov eax, ebx
mov esi, dword [esp]
mul esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0xa0]
mov eax, ecx
mul esi
mov dword [esp], edx
mov dword [esp + 0x54], eax
mov eax, ebx
mul edi
mov esi, edx
mov ebx, eax
mov eax, ecx
mul edi
xor eax, eax
add edx, ebx
setb al
add edx, dword [esp + 0x54]
mov ecx, 0
adc eax, ecx
add esi, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
adc edi, ecx
add esi, dword [esp]
adc edi, ecx
mov ebx, 0x80000000
add edx, ebx
adc esi, eax
adc edi, ecx
add esi, 1
adc edi, ecx
mov edx, dword [esp + 0x20]
add edx, dword [esp + 4]
mov eax, dword [esp + 0x14]
adc eax, ecx
add edx, dword [esp + 8]
adc eax, ecx
add dword [esp + 0x1c], ebx
adc edx, dword [esp + 0x38]
adc eax, ecx
xor ecx, ecx
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x50], ebx
mov edx, edi
mov dword [esp + 0x44], edi
sbb edx, eax
mov dword [esp + 0x40], edx
mov eax, ebx
add eax, 1
mov dword [esp + 8], eax
mov eax, edx
adc eax, ecx
mov dword [esp + 4], eax
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x24]
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x20], eax
shl eax, cl
mov ebx, esi
shrd ebx, edi, cl
mov edi, dword [esp + 0x44]
shr edi, cl
mov dword [esp + 0x38], ecx
test cl, 0x20
cmove edi, ebx
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x6c], eax
add eax, 0xffffffff
mov dword [esp + 0x54], edx
adc edx, 0xffffffff
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x64], edx
and ecx, edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
and ecx, eax
imul eax, dword [esp + 0x24], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x1c], edi
cmp dword [eax*4 + 0x53fe90], edi
lea edx, [eax + 1]
cmova edx, eax
sub esi, dword [esp + 0x18]
mov edi, ebx
sbb edi, dword [esp + 0xc]
mov eax, esi
add eax, 0xffffffff
mov dword [esp + 0x4c], eax
mov eax, edi
adc eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], esi
add esi, 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], edi
mov esi, edi
mov edi, dword [esp + 8]
mov eax, 0
adc esi, eax
mov eax, dword [edx*4 + 0x53fe8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], ebx
add dword [esp + 0x50], 0xfffffffd
adc dword [esp + 0x40], 0xffffffff
mov eax, edx
sar eax, 0x1f
and eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], esi
test edx, edx
jle 0x4803f1
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
xor edx, edx
div dword [esp + 0xc]
add al, 0x30
mov edi, dword [ebp + 0x20]
mov esi, ecx
mov ecx, dword [edi]
mov edi, dword [ebp + 0x18]
mov byte [edi + ecx], al
xor eax, eax
mov edi, edx
mov ecx, dword [esp + 0x38]
shld eax, edx, cl
mov edx, dword [ebp + 0x20]
mov ebx, dword [edx]
lea edx, [ebx + 1]
mov dword [esp + 0x1c], edi
shl edi, cl
test cl, 0x20
cmovne eax, edi
mov ecx, 0
cmovne edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 4]
add edi, esi
adc eax, dword [esp]
cmp edi, dword [esp + 8]
mov dword [esp + 0x18], eax
sbb eax, edx
jb 0x480915
mov eax, dword [esp + 0xc]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
dec edx
mov esi, dword [esp + 8]
cmp edi, esi
mov edi, esi
mov eax, dword [esp + 4]
sbb dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
jae 0x480317
test byte [esp + 0x10], 1
je 0x480cc1
sub edx, dword [esp + 0x8c]
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 + 0xc0]
xor ecx, ebp
call fcn.004a0403
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x60]
mov dword [esp + 0x24], edx
mov eax, ecx
mov ecx, 0xa
mul ecx
mov ecx, dword [esp]
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x20]
shr ebx, cl
mov dword [esp + 0x1c], eax
mov edx, 0xa
mul edx
mov dword [esp + 8], edx
mov dword [esp + 0x20], eax
mov eax, edi
mov edx, 0xa
mul edx
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 + 4]
lea esi, [esi + esi*4]
lea esi, [edx + esi*2]
mov ebx, dword [esp]
and ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
and edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x14], edx
cmp edx, eax
mov dword [esp], ebx
mov eax, ebx
sbb eax, esi
mov ebx, dword [ecx]
lea eax, [ebx + 1]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx*4]
mov eax, dword [esp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
jb 0x4804bb
mov edx, dword [esp + 0x24]
dec edx
mov ecx, dword [esp + 0x14]
cmp ecx, edi
mov eax, dword [esp]
sbb eax, esi
jae 0x4803fd
jmp 0x4803b2
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov ebx, dword [esp + 0x74]
mul ebx
mov dword [esp + 8], edx
imul ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
imul edx, ebx
add edx, dword [esp + 8]
add edx, ecx
mov ebx, eax
sub ebx, dword [esp + 0x20]
mov ecx, edx
sbb ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
adc edx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 8], edi
mov eax, edi
mov edi, dword [esp + 0x14]
sub eax, edi
mov edx, esi
mov esi, dword [esp]
sbb edx, esi
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
mov eax, dword [esp + 0x54]
sbb edx, eax
setb dl
mov dword [esp + 0x40], edx
mov edx, esi
jb 0x48060a
mov dword [esp + 0x50], ebx
cmp edi, ebx
mov eax, edx
mov ebx, dword [esp + 0x10]
sbb eax, ebx
mov eax, edx
mov esi, dword [esp + 0x1c]
jae 0x480610
mov edi, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edx
add edi, ecx
adc eax, dword [esp + 0x54]
cmp edi, dword [esp + 0x50]
mov dword [esp + 0x18], eax
sbb eax, ebx
jb 0x48059f
mov eax, dword [esp + 0x50]
mov ecx, eax
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov edx, ebx
sbb edx, dword [esp + 0x30]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x18]
sbb eax, ebx
cmp dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
sbb edx, eax
jb 0x480c58
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x5c]
dec byte [eax + edx]
mov edx, dword [esp + 8]
sub edx, edi
mov eax, dword [esp + 4]
sbb eax, dword [esp + 0x18]
cmp edx, ecx
mov dword [esp + 0x48], edi
mov edi, ecx
mov ecx, eax
mov esi, dword [esp + 0x54]
sbb ecx, esi
setb cl
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x48]
mov ebx, ecx
cmp ecx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x10]
jae 0x48067f
cmp edx, edi
sbb eax, esi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, edi
mov esi, dword [esp + 0x1c]
mov edi, ebx
mov ebx, dword [esp + 0x10]
jae 0x48055f
jmp 0x480610
mov eax, edx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov ebx, edi
cmp edi, ecx
mov edi, eax
mov edx, dword [esp + 0x3c]
sbb eax, edx
mov dword [esp + 0x18], edi
jae 0x480631
cmp byte [esp + 0x40], 0
je 0x480a4d
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x34]
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 + 0x4c]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 8]
add eax, edi
mov esi, dword [esp + 4]
adc edx, esi
cmp eax, ebx
sbb edx, dword [esp + 0x18]
setae al
and al, cl
mov dword [esp + 0x10], eax
jmp 0x4804a0
mov esi, dword [esp + 0x1c]
mov edi, ebx
mov eax, dword [esp + 0x18]
jmp 0x480610
jne 0x480e3d
movsd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
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 0x480e42
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld edi, esi, 0xb
shl esi, 0xb
mov dword [esp + 0xc], esi
movaps xmm0, xmmword [0x52f050]
lea ecx, [esp + 0xb0]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
mov ebx, ecx
lea eax, [esp + 0xa0]
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 + 0x14], esi
push eax
push ebx
push edx
push ecx
call fcn.0044ec20
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 + 0xc]
mul ecx
mov dword [esp + 8], eax
mov dword [esp + 0x24], edx
lea eax, [esp + 0xb0]
mov esi, dword [eax]
mov eax, esi
mul edi
mov edi, edx
mov dword [esp + 0x20], eax
mov eax, esi
mul ecx
xor eax, eax
add edx, dword [esp + 0x20]
setb al
add edx, dword [esp + 8]
mov ecx, 0
adc eax, ecx
mov esi, dword [esp]
lea ecx, [esp + 0xb0]
add esi, dword [ecx + 8]
mov dword [esp], esi
add edi, dword [esp + 4]
mov ecx, 0
adc ebx, ecx
add edi, dword [esp + 0x24]
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 + 8], 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 + 0x1c], edx
adc edx, 0xffffffff
mov dword [esp + 0x18], edx
and ebx, edx
mov dword [esp + 4], ebx
mov dword [esp + 0x38], eax
and edi, eax
mov dword [esp + 0xc], edi
imul eax, dword [esp], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x53fe90], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov edx, dword [ebx*4 + 0x53fe8c]
mov eax, dword [ebp + 0x20]
mov dword [esp], 0
mov dword [eax], ecx
mov edi, edx
test ebx, ebx
jle 0x480aa2
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 esi, 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 + 0x14]
jne 0x48082e
mov dword [esp + 0x24], ebx
mov edx, edi
mov ecx, dword [esp + 8]
shl edx, cl
xor eax, eax
test cl, 0x20
mov ebx, edx
cmovne ebx, eax
mov dword [esp + 0x20], 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
test cl, 0x20
cmovne eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x20]
add edi, dword [esp + 0xc]
adc eax, dword [esp + 4]
cmp ebx, 3
mov ecx, edx
sbb ecx, 0
jb 0x480cc1
mov ecx, ebx
sub ecx, edi
mov dword [esp + 0x14], edx
sbb edx, eax
cmp edi, ecx
mov ecx, eax
sbb ecx, edx
jae 0x480c6d
mov ecx, eax
shld ecx, edi, 1
lea edx, [edi + edi]
mov esi, ebx
sub esi, edx
mov edx, dword [esp + 0x14]
sbb edx, ecx
mov dword [esp + 4], 0
xor ecx, ecx
inc ecx
cmp ecx, esi
sbb dword [esp + 4], edx
jae 0x480c6d
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0xa0]
jmp 0x4803c4
mov esi, edx
mov dword [esp + 0x70], ebx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
shld eax, edx, cl
shl edx, cl
test cl, 0x20
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
mov ebx, dword [esp + 8]
sub ebx, edi
mov ecx, esi
mov esi, dword [esp + 0x18]
sbb ecx, esi
mov dword [esp + 0x10], ebx
cmp ebx, edx
mov ebx, ecx
sbb ecx, eax
setb cl
mov dword [esp + 0x28], ecx
cmp edi, dword [esp + 0x4c]
mov ecx, esi
sbb ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edx
jae 0x480cf5
cmp dword [esp + 0x10], edx
sbb ebx, eax
mov eax, edi
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
jb 0x480cff
mov eax, edi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x58], edi
mov dword [esp + 0x68], esi
add eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
adc esi, ebx
cmp eax, dword [esp + 0x4c]
mov edx, esi
sbb edx, dword [esp + 0x3c]
jb 0x4809e3
mov ebx, dword [esp + 0x4c]
mov ecx, ebx
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
sbb ecx, dword [esp + 0x68]
mov edx, eax
sub edx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x28]
sbb esi, dword [esp + 0x3c]
cmp dword [esp + 0x10], edx
sbb ecx, esi
mov esi, dword [esp + 0x28]
jb 0x480da3
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x70]
dec byte [ecx + edx]
mov ecx, dword [esp + 8]
sub ecx, eax
mov edx, dword [esp + 4]
sbb edx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
cmp ecx, eax
mov ecx, edx
sbb ecx, ebx
setb cl
mov dword [esp + 0x28], ecx
mov ecx, esi
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x4c]
mov esi, ecx
sbb ecx, dword [esp + 0x3c]
jae 0x480d46
cmp dword [esp + 0x58], eax
sbb edx, ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
jae 0x480993
jmp 0x480cff
mov esi, edx
mov edx, ebx
mov dword [esp + 0x48], ebx
add edx, dword [esp + 0x6c]
mov eax, edi
adc eax, dword [esp + 0x54]
cmp edx, ecx
mov ecx, eax
sbb ecx, esi
jb 0x480a8d
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
sbb esi, dword [esp + 0x18]
sub edx, dword [esp + 0x60]
sbb eax, dword [esp + 0x3c]
cmp edx, ecx
sbb eax, esi
mov esi, dword [esp + 0x1c]
jae 0x480631
mov dword [esp + 0x10], 0
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x4804a0
mov edx, dword [esp + 0x14]
test edx, edx
je 0x48086f
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov edi, 1
jle 0x480cc1
cmp ebx, 2
mov eax, esi
sbb eax, 0
jb 0x480cc1
mov dword [esp + 0x2c], 0
mov eax, ebx
mov ebx, edx
mov ecx, 0xa
mul ecx
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov esi, eax
mov ecx, dword [esp + 8]
shrd esi, edx, cl
mov eax, edi
mov edi, edx
shr edi, cl
mov dword [esp + 0x14], eax
mov edx, 0xa
mul edx
test cl, 0x20
mov ecx, edi
cmove ecx, esi
add cl, 0x30
mov esi, dword [ebp + 0x18]
mov edi, dword [esp]
mov byte [esi + edi], cl
mov edi, ebx
mov esi, dword [esp + 0x2c]
lea esi, [esi + esi*4]
mov dword [esp + 0x64], esi
lea edx, [edx + esi*2]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x20]
mov esi, dword [edx]
mov dword [esp + 0x44], esi
inc esi
mov ebx, esi
mov dword [esp], esi
mov ebx, dword [esp + 0xc]
mov dword [edx], esi
mov esi, dword [esp + 4]
and ebx, dword [esp + 0x38]
and esi, dword [esp + 0x18]
dec dword [esp + 0x24]
cmp edi, 2
lea edx, [edi - 1]
mov edi, eax
jb 0x480b73
cmp edi, ebx
mov eax, dword [esp + 0x2c]
sbb eax, esi
jb 0x480adb
test edx, edx
jne 0x480cc1
mov eax, dword [esp + 0x20]
sub eax, edi
mov dword [esp], edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
sbb ecx, edx
mov edi, dword [esp + 0x20]
cmp dword [esp], edi
sbb edx, dword [esp + 0x1c]
mov edx, dword [esp]
jae 0x480cc1
cmp edx, eax
mov eax, dword [esp + 0x2c]
sbb eax, ecx
jae 0x480cc1
mov eax, dword [esp + 0x20]
sub eax, ebx
mov edx, dword [esp + 0x1c]
mov ecx, edx
sbb ecx, esi
cmp ebx, eax
mov eax, esi
sbb eax, ecx
jae 0x480bf5
mov eax, esi
shld eax, ebx, 1
lea ecx, [ebx + ebx]
mov edi, dword [esp + 0x20]
sub edi, ecx
mov ecx, edx
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0x14]
mul edx
cmp edi, eax
mov eax, dword [esp + 0x64]
lea eax, [edx + eax*4]
sbb ecx, eax
jae 0x480905
mov ecx, dword [esp]
cmp ecx, ebx
mov edx, dword [esp + 0x2c]
mov eax, edx
sbb eax, esi
jae 0x480cc1
sub ebx, ecx
sbb esi, edx
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov eax, dword [esp + 0x1c]
sbb eax, esi
cmp ebx, ecx
sbb esi, eax
jb 0x480cc1
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x44]
mov al, byte [ecx + esi]
inc al
mov byte [ecx + esi], al
test esi, esi
mov edx, dword [esp + 0x24]
jle 0x480cac
inc esi
cmp al, 0x3a
jne 0x480cac
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 0x480c3a
jmp 0x480cac
mov dword [esp + 0x40], 0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
jmp 0x480610
cmp edi, 2
mov ecx, eax
sbb ecx, 0
mov ecx, dword [esp + 0x14]
jb 0x480cc1
add edi, 0xffffffff
adc eax, 0xffffffff
sub ebx, edi
sbb ecx, eax
cmp edi, ebx
sbb eax, ecx
jb 0x480cc1
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp]
mov al, byte [esi + ecx - 1]
inc al
mov byte [esi + ecx - 1], al
cmp esi, 2
mov edx, dword [esp + 0x24]
jl 0x480cac
cmp al, 0x3a
je 0x480db6
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x480909
mov byte [eax], 0x31
inc edx
jmp 0x480909
xor ebx, ebx
jmp 0x4803d9
test dword [esp + 0x2c], 0x7fe00000
je 0x480022
mov ecx, dword [esp + 4]
add ecx, 0xfffffffe
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
shld ebx, eax, 2
shl eax, 2
mov dword [esp + 8], ebx
jmp 0x480022
mov eax, edi
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp eax, ecx
mov dword [esp + 0x28], esi
sbb esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
jae 0x480d17
test bl, bl
je 0x480d50
xor eax, eax
inc eax
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov eax, 0
mov esi, dword [esp + 0x28]
sbb eax, esi
setb al
cmp dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
sbb ecx, esi
setae cl
and cl, al
mov dword [esp + 0x10], ecx
jmp 0x480397
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
jmp 0x480cfb
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
adc ecx, dword [esp + 0x28]
cmp esi, dword [esp + 0x34]
mov eax, ecx
mov ebx, dword [esp + 0x5c]
sbb eax, ebx
jb 0x480d96
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x30]
sbb ebx, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
sub esi, dword [esp + 0x34]
sbb ecx, dword [esp + 0x5c]
cmp esi, eax
sbb ecx, dword [esp + 0x30]
jae 0x480d17
mov dword [esp + 0x10], 0
jmp 0x480397
xor ebx, ebx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
jmp 0x480cff
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 0x480ca4
jmp 0x480cac
mov edx, 0xfffffbce
mov esi, ebx
mov eax, dword [esp + 0x38]
mov ecx, eax
shld ecx, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, ecx
jb 0x47ff8e
jmp 0x480de4
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0x90]
movss dword [ecx], xmm0
lea eax, [esp + 0xa0]
lea edx, [esp + 0xb0]
push eax
push edx
call fcn.0050c5d0
movaps xmm1, xmmword [0x52f050]
jmp 0x48006c
mov ebx, dword [esp]
shld esi, edi, 1
add edi, edi
dec edx
test esi, esi
js 0x480014
jmp 0x480e2c
call fcn.004eed10
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 0x4806dd
jmp 0x480e4b