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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
movsd xmm0, qword [ebp + 8]
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0xa8], eax
cmp dword [ebp + 0x10], 2
jae 0x4ccfa4
movsd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x80]
mov dword [esp + 8], esi
mov eax, dword [esp + 0x84]
mov ecx, eax
and ecx, 0xfffff
add esi, 0xffffffff
mov ebx, ecx
adc ebx, 0xfffff
add esi, 1
adc ebx, 0
mov edx, eax
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x18], eax
test eax, 0x7ff00000
mov eax, edx
mov edi, 0xfffffbce
cmove eax, edi
mov dword [esp + 0x38], eax
mov eax, esi
cmove eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0x14], ecx
cmove eax, ecx
mov dword [esp + 0x30], eax
jne 0x4cc8e3
mov eax, 0x80000
mov edx, 0xfffffbce
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov ebx, edi
shld ebx, esi, 1
add esi, esi
dec edx
test edi, eax
mov edi, ebx
je 0x4cc8d6
mov dword [esp + 0x24], edx
mov eax, 0x1000
shld ebx, esi, 0xb
mov dword [esp + 0xc], ebx
shl esi, 0xb
mov dword [esp + 0x3c], esi
cmp dword [ebp + 0x10], 0
je 0x4cc976
cvtsd2ss xmm0, xmm0
movd edx, xmm0
mov ecx, edx
shr ecx, 0x17
movzx ecx, cl
add ecx, 0xffffff6a
mov edi, edx
and edi, 0x7fffff
lea esi, [edi + 0x800000]
and edx, 0x7f800000
mov dword [esp + 0x14], edx
mov edx, 0xffffff6b
cmovne edx, ecx
mov dword [esp + 8], edi
cmove esi, edi
mov dword [esp + 0x1c], edx
dec edx
lea ecx, [esi + esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 0
mov dword [esp + 0x38], esi
lea ebx, [esi*2 + 1]
xor esi, esi
mov ecx, edx
mov edi, esi
shld esi, ebx, 0xa
shl ebx, 0xa
add edx, 0xfffffff6
cmp edi, eax
jb 0x4cc961
jmp 0x4cca07
mov ecx, dword [esp + 0x38]
lea edx, [ecx - 1]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
shld esi, edi, 1
lea ecx, [edi + edi]
mov dword [esp + 0x10], ecx
lea ebx, [edi*2 + 1]
mov dword [esp + 4], esi
mov ecx, edx
mov edi, edx
mov edx, esi
shld esi, ebx, 0xa
shl ebx, 0xa
add edi, 0xfffffff6
cmp edx, eax
jb 0x4cc99f
test esi, esi
js 0x4cc9cc
mov eax, dword [esp + 8]
shld esi, ebx, 1
add ebx, ebx
dec edi
test esi, esi
jns 0x4cc9b7
or dword [esp + 0x14], eax
je 0x4cc9d2
sub ecx, edi
jmp 0x4cca30
mov eax, dword [esp + 8]
jmp 0x4cc9c2
mov edx, dword [esp + 0x18]
and edx, 0x7fefffff
or eax, edx
je 0x4cc9c8
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffffe
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
shld edx, eax, 2
shl eax, 2
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x4cc9c8
shld esi, ebx, 1
add ebx, ebx
dec edx
test esi, esi
jns 0x4cca00
cmp dword [esp + 8], 0
jne 0x4cca2e
test dword [esp + 0x14], 0x7f7fffff
je 0x4cca2e
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffe
mov eax, dword [esp + 0x38]
shl eax, 2
mov dword [esp + 0x10], eax
sub ecx, edx
mov edx, dword [esp + 0x10]
add edx, 0xffffffff
mov edi, dword [esp + 4]
adc edi, 0xffffffff
shld edi, edx, cl
shl edx, cl
xor eax, eax
test cl, 0x20
cmovne edi, edx
mov dword [esp + 4], edi
cmovne edx, eax
mov dword [esp + 0x10], edx
movaps xmm0, xmmword [0x51f2e0]
lea ecx, [esp + 0x98]
movups xmmword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x94]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
mov edi, dword [esp + 0x24]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
lea edi, [esp + 0x9c]
push edi
push edx
push ecx
call fcn.004d6a50
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, ecx
mov dword [esp + 8], ecx
mul dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x3c]
and edi, 0xfffff800
mov eax, ecx
mul edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x98]
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x3c], ecx
mul dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], eax
mov eax, ecx
mul edi
xor eax, eax
add edx, dword [esp + 0xc]
setb al
add edx, dword [esp + 0x18]
adc eax, 0
mov edi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x98]
add eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
adc ecx, 0
add eax, dword [esp + 0x1c]
adc ecx, 0
add edx, 0x80000000
adc eax, edi
mov dword [esp + 0x30], eax
adc ecx, 0
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov eax, ecx
mul dword [esp + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], eax
mov eax, ecx
mov edi, dword [esp + 0x10]
mul edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x3c]
mov eax, ecx
mul dword [esp + 4]
mov dword [esp + 4], edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul edi
xor eax, eax
add edx, dword [esp + 0x20]
setb al
add edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
adc eax, 0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov eax, ecx
mul esi
mov edi, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul ebx
mov dword [esp + 8], edx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
mov eax, ecx
mul esi
mov esi, edx
mov dword [esp + 0x28], eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, dword [esp + 0x28]
setb al
add edx, dword [esp + 0x2c]
adc eax, 0
add esi, dword [esp + 0x20]
adc edi, 0
add esi, dword [esp + 8]
adc edi, 0
add edx, 0x80000000
adc esi, eax
adc edi, 0
add esi, 1
adc edi, 0
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
adc eax, 0
add ecx, dword [esp + 0x1c]
adc eax, 0
add dword [esp + 0x10], 0x80000000
adc ecx, dword [esp + 0x18]
adc eax, 0
mov edx, esi
sub edx, ecx
mov dword [esp + 0x54], edx
mov ecx, edi
sbb ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, edx
add eax, 1
mov dword [esp + 0x10], eax
mov eax, ecx
adc eax, 0
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 + 0x3c], eax
shl eax, cl
mov ebx, esi
shrd ebx, edi, cl
mov dword [esp + 0x58], edi
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 + 0x68], eax
add eax, 0xffffffff
mov dword [esp + 0x5c], edx
adc edx, 0xffffffff
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x78], edx
and ebx, edx
mov ecx, esi
mov dword [esp + 0x7c], 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 + 0x537314], edi
lea edx, [eax + 1]
cmova edx, eax
sub esi, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
sbb edi, dword [esp + 0x14]
mov eax, esi
add eax, 0xffffffff
mov dword [esp + 0x50], eax
mov eax, edi
adc eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x6c], esi
add esi, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], edi
mov eax, edi
adc eax, 0
mov dword [esp + 0x44], eax
mov esi, dword [edx*4 + 0x537310]
mov eax, dword [ebp + 0x20]
xor edi, edi
mov dword [eax], edi
add dword [esp + 0x54], 0xfffffffd
adc dword [esp + 0x4c], 0xffffffff
mov eax, edx
sar eax, 0x1f
and eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
jmp 0x4ccdf0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], edx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
adc edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
cmp eax, ebx
mov eax, edx
sbb eax, dword [esp + 0x44]
jb 0x4cd7b7
mov eax, ebx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
sub eax, ebx
sbb edx, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
sbb edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
jae 0x4ccd99
jmp 0x4cd7b7
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
jmp 0x4ccd80
mov esi, dword [esp + 0x30]
mov edx, esi
mov edi, eax
mov ebx, dword [esp + 0x74]
cmp edx, ebx
mov ecx, eax
sbb eax, dword [esp + 0x44]
jae 0x4ccd99
cmp byte [esp + 0x34], 0
je 0x4ccd07
xor eax, eax
inc eax
cmp eax, edx
mov eax, 0
mov ebx, ecx
sbb eax, ecx
setb al
cmp dword [esp + 0x54], edx
mov ecx, dword [esp + 0x4c]
sbb ecx, ebx
setae cl
and cl, al
mov dword [esp + 0x28], ecx
jmp 0x4ccdd1
mov eax, dword [esp + 0x14]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
dec edx
cmp esi, dword [esp + 0x10]
sbb edi, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jb 0x4cd38c
test edx, edx
jle 0x4cd3fc
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
xor edx, edx
div esi
add al, 0x30
mov edi, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x18]
mov byte [esi + ecx], al
xor edi, edi
mov ecx, dword [esp + 0x38]
shld edi, edx, cl
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 0x2c], esi
lea eax, [esi + 1]
mov dword [esp + 0x1c], edx
mov esi, edx
shl esi, cl
test cl, 0x20
cmovne edi, esi
mov edx, 0
cmovne esi, edx
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
add esi, dword [esp + 0xc]
adc edi, ebx
cmp esi, dword [esp + 0x10]
mov eax, edi
sbb eax, dword [esp + 4]
jae 0x4ccdbf
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x14]
shld edx, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne edx, ebx
cmovne ebx, eax
mov eax, esi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov ecx, dword [esp + 4]
sbb ecx, edi
cmp esi, ebx
mov dword [esp + 0x20], edi
mov edi, ecx
sbb edi, edx
setb al
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov eax, edi
sbb edi, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ebx
jae 0x4ccd78
cmp esi, ebx
sbb ecx, edx
mov esi, dword [esp + 0x30]
mov edx, esi
mov edi, eax
mov ecx, dword [esp + 0x18]
jb 0x4ccd80
mov edx, esi
mov eax, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
add edx, dword [esp + 0x48]
adc eax, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
cmp edx, edi
mov ebx, eax
sbb eax, ecx
jb 0x4ccf10
mov eax, edi
sub eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
sbb ecx, dword [esp + 0x60]
mov eax, edx
sub eax, edi
mov edi, ebx
sbb edi, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
sbb ecx, edi
jb 0x4ccd62
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x2c]
dec byte [eax + edi]
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov eax, dword [esp + 4]
sbb eax, ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
cmp ecx, edx
mov edi, eax
sbb edi, dword [esp + 0x28]
mov edi, ebx
setb bl
mov dword [esp + 0x34], ebx
mov ebx, edi
mov edi, dword [esp + 0x40]
cmp edi, dword [esp + 0x50]
mov edi, ebx
sbb edi, dword [esp + 0x18]
jb 0x4ccf60
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov eax, ebx
jmp 0x4ccd80
cmp ecx, edx
sbb eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, ebx
jb 0x4ccd80
jmp 0x4cced8
mov ecx, 0x80000
mov edi, 0xfffffbce
mov ebx, edx
mov esi, eax
shld esi, ebx, 1
add ebx, ebx
dec edi
test eax, ecx
mov eax, esi
je 0x4ccf95
jmp 0x4ccff2
jne 0x4cd7a5
movsd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov eax, edi
and eax, 0xfffff
mov ebx, edx
add ebx, 0xffffffff
mov esi, eax
adc esi, 0xfffff
add ebx, 1
adc esi, 0
test edi, 0x7ff00000
je 0x4ccf87
shr edi, 0x14
and edi, 0x7ff
add edi, 0xfffffbcd
shld esi, ebx, 0xb
shl ebx, 0xb
movaps xmm0, xmmword [0x51f2e0]
lea ecx, [esp + 0x98]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
lea eax, [esp + 0x94]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x9c]
push eax
push edx
push ecx
call fcn.004d6a50
add esp, 0x10
lea eax, [esp + 0x98]
mov ecx, dword [eax + 4]
mov eax, ecx
mul esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, ecx
mul ebx
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
lea eax, [esp + 0x98]
mov ecx, dword [eax]
mov eax, ecx
mul esi
mov esi, edx
mov dword [esp + 0x14], eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, dword [esp + 0x14]
setb al
add edx, dword [esp + 0x24]
adc eax, 0
lea ecx, [esp + 0x98]
add edi, dword [ecx + 8]
add esi, dword [esp + 4]
mov ecx, dword [esp + 0xc]
adc ecx, 0
add esi, dword [esp + 8]
adc ecx, 0
add edx, 0x80000000
adc esi, eax
mov dword [esp + 0x14], esi
adc ecx, 0
mov ebx, ecx
mov dword [esp + 0xc], ecx
mov ecx, 0xffffffcb
sub ecx, edi
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
shl eax, cl
mov esi, dword [esp + 0x14]
shrd esi, ebx, cl
mov ebx, dword [esp + 0xc]
shr ebx, cl
mov dword [esp + 0x3c], ecx
test cl, 0x20
cmove ebx, esi
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x18], eax
add eax, 0xffffffff
mov dword [esp + 0x20], edx
adc edx, 0xffffffff
mov dword [esp + 0x1c], edx
and dword [esp + 0xc], edx
mov dword [esp + 0x38], eax
and dword [esp + 0x14], eax
imul eax, edi, 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x537314], ebx
lea ecx, [eax + 1]
cmova ecx, eax
mov edx, dword [ecx*4 + 0x537310]
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], 0
xor esi, esi
mov dword [eax], esi
mov edi, edx
test ecx, ecx
jle 0x4cd299
mov eax, ebx
xor edx, edx
div edi
add al, 0x30
mov esi, dword [ebp + 0x18]
mov ebx, dword [esp + 4]
mov byte [esi + ebx], al
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
inc ebx
mov esi, ebx
mov dword [esp + 4], ebx
mov dword [eax], ebx
mov ebx, edx
mov eax, edi
mov edx, 0xcccccccd
mul edx
dec ecx
shr edx, 3
dec dword [esp + 0x10]
jne 0x4cd147
mov dword [esp + 0x24], ecx
mov edx, edi
mov ecx, dword [esp + 0x3c]
shl edx, cl
xor esi, esi
test cl, 0x20
mov eax, edx
cmovne eax, esi
mov dword [esp + 0x10], eax
xor eax, eax
shld eax, edi, cl
test cl, 0x20
cmovne eax, edx
mov edx, ebx
shl edx, cl
test cl, 0x20
mov edi, edx
cmovne edi, esi
shld esi, ebx, cl
mov ebx, eax
mov eax, dword [esp + 0x10]
test cl, 0x20
cmovne esi, edx
add edi, dword [esp + 0x14]
adc esi, dword [esp + 0xc]
cmp eax, 3
mov ecx, ebx
sbb ecx, 0
jb 0x4cd372
mov ecx, eax
sub ecx, edi
mov edx, ebx
sbb edx, esi
cmp edi, ecx
mov ecx, esi
sbb ecx, edx
jae 0x4cd21a
mov ecx, esi
shld ecx, edi, 1
lea edx, [edi + edi]
mov eax, ebx
mov ebx, dword [esp + 0x10]
sub ebx, edx
mov edx, eax
sbb edx, ecx
mov dword [esp + 0xc], 0
xor ecx, ecx
inc ecx
cmp ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x10]
sbb dword [esp + 0xc], edx
jb 0x4cd290
cmp edi, 2
mov ecx, esi
sbb ecx, 0
jb 0x4cd372
add edi, 0xffffffff
adc esi, 0xffffffff
sub eax, edi
sbb ebx, esi
cmp edi, eax
sbb esi, ebx
jb 0x4cd372
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 4]
mov al, byte [edx + ecx - 1]
inc al
mov byte [edx + ecx - 1], al
cmp edx, 2
jl 0x4cd26e
cmp al, 0x3a
jne 0x4cd26e
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 0x4cd252
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
mov edx, dword [esp + 0x24]
jne 0x4cd393
mov byte [eax], 0x31
inc edx
jmp 0x4cd393
mov ecx, dword [esp + 0x24]
jmp 0x4cd186
mov edx, dword [esp + 0x24]
jmp 0x4cd393
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4cd287
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
jle 0x4cd372
cmp ebx, 2
mov eax, edi
sbb eax, 0
jb 0x4cd372
mov dword [esp + 8], 0
xor edx, edx
inc edx
mov dword [esp + 0x10], ecx
mov eax, ebx
mov ebx, edx
mov ecx, 0xa
mul ecx
lea ecx, [edi + edi*4]
lea edx, [edx + ecx*2]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [esp + 0x3c]
shrd esi, edx, cl
mov eax, ebx
mov ebx, edx
shr ebx, cl
mov dword [esp + 0x30], eax
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 4]
mov byte [ecx + esi], bl
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 8]
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x20]
mov edi, dword [edx]
mov dword [esp + 0x10], edi
inc edi
mov ebx, edi
mov dword [esp + 4], edi
mov ebx, dword [esp + 0x14]
mov dword [edx], edi
mov edi, dword [esp + 0xc]
and ebx, dword [esp + 0x38]
and edi, dword [esp + 0x1c]
dec dword [esp + 0x24]
mov edx, eax
cmp ecx, 2
lea ecx, [ecx - 1]
jb 0x4cd366
cmp edx, ebx
mov eax, dword [esp + 8]
sbb eax, edi
jb 0x4cd2cc
mov dword [esp + 4], edx
test ecx, ecx
je 0x4cd6b5
xor ebx, ebx
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test byte [esp + 0x28], 1
je 0x4cd372
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
jmp 0x4cd374
mov esi, dword [esp + 0x1c]
add esi, dword [esp + 0x68]
mov eax, ebx
mov dword [esp + 0x20], ebx
adc eax, dword [esp + 0x5c]
cmp esi, edi
mov ecx, eax
sbb ecx, edx
jb 0x4cd7aa
mov ecx, edi
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
sub esi, edi
sbb eax, edx
cmp esi, dword [esp + 0x34]
sbb eax, dword [esp + 0x2c]
jae 0x4cd42e
jmp 0x4cd7aa
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x70]
jmp 0x4cd49e
mov eax, edi
mov ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x48]
cmp eax, edi
mov ebx, ecx
mov eax, ecx
sbb eax, edx
jae 0x4cd42e
cmp byte [esp + 0x34], 0
je 0x4cd3b1
mov esi, dword [esp + 0x30]
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x50]
lea ecx, [edx + ecx*4]
mov edi, dword [esp + 0x1c]
cmp edi, eax
mov eax, ebx
sbb eax, ecx
setae byte [esp + 0x18]
mov eax, esi
mov ecx, 0xffffffd8
mul ecx
sub edx, esi
mov ecx, dword [esp + 0x28]
shl ecx, 3
lea ecx, [ecx + ecx*4]
sub edx, ecx
add eax, dword [esp + 0x10]
adc edx, dword [esp + 4]
cmp eax, edi
sbb edx, ebx
setae al
and al, byte [esp + 0x18]
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
dec edx
cmp esi, dword [esp + 0x10]
mov eax, ebx
sbb eax, dword [esp + 4]
mov ecx, esi
jb 0x4cd38c
mov dword [esp + 0x24], edx
mov eax, ecx
mov edi, 0xa
mul edi
lea ecx, [ebx + ebx*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov esi, eax
mov ecx, dword [esp + 0x38]
shrd esi, ebx, cl
mov eax, dword [esp + 0x3c]
shr ebx, cl
mov dword [esp + 0x30], eax
mul edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
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 ebx, dword [esp + 8]
mov ecx, dword [esp + 4]
lea esi, [ecx + ecx*4]
lea ecx, [edx + esi*2]
mov esi, dword [esp + 0xc]
and ebx, dword [esp + 0x78]
and esi, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
cmp esi, eax
mov eax, ebx
mov dword [esp + 4], ecx
sbb eax, ecx
mov ecx, dword [ebp + 0x20]
mov edi, dword [ecx]
lea eax, [edi + 1]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx*4]
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx*2]
mov dword [esp + 0x14], eax
jae 0x4cd487
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x3c]
mov eax, edi
mul dword [esp + 0x6c]
mov dword [esp + 0x1c], edx
mov ecx, edi
imul ecx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x14]
mov esi, edx
imul esi, dword [esp + 0x6c]
add esi, dword [esp + 0x1c]
add esi, ecx
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x40], ecx
mov ebx, esi
sbb ebx, edx
add eax, edi
mov dword [esp + 0x48], eax
adc esi, edx
mov edx, dword [esp + 8]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edi, ecx
sub eax, ecx
mov ecx, dword [esp + 4]
sbb ecx, edx
mov esi, dword [esp + 0x68]
cmp eax, esi
sbb ecx, dword [esp + 0x5c]
setb al
mov dword [esp + 0x34], eax
jb 0x4cd40d
mov ecx, edi
mov edi, dword [esp + 0x40]
cmp ecx, edi
mov eax, edx
mov dword [esp + 0x2c], ebx
sbb eax, ebx
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x18]
jae 0x4cd415
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
add eax, esi
mov dword [esp + 0x1c], eax
adc ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
cmp eax, edi
mov eax, ecx
sbb eax, dword [esp + 0x2c]
jb 0x4cd62b
mov eax, edi
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
sbb ecx, dword [esp + 0x44]
mov edx, edi
mov edi, dword [esp + 0x1c]
sub edi, edx
mov eax, dword [esp + 0x20]
sbb eax, ebx
cmp dword [esp + 0x34], edi
mov edi, edx
sbb ecx, eax
jb 0x4cd6a0
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x54]
dec byte [eax + ecx]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
sub ecx, ebx
mov eax, dword [esp + 4]
sbb eax, dword [esp + 0x20]
cmp ecx, esi
mov edx, edi
mov edi, eax
mov esi, dword [esp + 0x5c]
sbb edi, esi
mov edi, ebx
setb bl
mov dword [esp + 0x34], ebx
mov ebx, edi
cmp edi, edx
mov edi, dword [esp + 0x20]
sbb edi, dword [esp + 0x2c]
jb 0x4cd675
mov eax, ebx
mov ecx, dword [esp + 0x20]
jmp 0x4cd411
mov edx, dword [esp + 0x68]
cmp ecx, edx
sbb eax, esi
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov esi, edx
mov eax, ebx
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
jb 0x4cd415
jmp 0x4cd5e7
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
jmp 0x4cd411
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
sbb ecx, edx
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x20]
jae 0x4cd372
mov eax, dword [esp + 0xc]
cmp dword [esp + 4], eax
mov eax, dword [esp + 8]
sbb eax, ecx
jae 0x4cd372
mov eax, dword [esp + 0x18]
sub eax, ebx
mov edx, dword [esp + 0x20]
mov ecx, edx
sbb ecx, edi
cmp ebx, eax
mov eax, edi
sbb eax, ecx
jae 0x4cd73a
mov eax, edi
shld eax, ebx, 1
lea ecx, [ebx + ebx]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
sub ebx, ecx
mov ecx, edx
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0x30]
mul edx
cmp ebx, eax
mov ebx, dword [esp + 0x14]
lea eax, [edx + esi*4]
sbb ecx, eax
jae 0x4cd290
cmp dword [esp + 4], ebx
mov eax, dword [esp + 8]
sbb eax, edi
jae 0x4cd372
sub ebx, dword [esp + 4]
sbb edi, dword [esp + 8]
mov ecx, dword [esp + 0x18]
sub ecx, ebx
mov eax, dword [esp + 0x20]
sbb eax, edi
cmp ebx, ecx
sbb edi, eax
jb 0x4cd372
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
jle 0x4cd26e
inc edx
cmp al, 0x3a
jne 0x4cd26e
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 0x4cd780
jmp 0x4cd26e
call fcn.00510900
mov dword [esp + 0x28], 0
jmp 0x4cd47f
mov dword [esp + 0x28], 0
jmp 0x4ccdd1