Function at 0x4fdd60
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 [0x5f3024]
xor ecx, ebp
mov dword [esp + 0xc0], ecx
cmp dword [ebp + 0x10], 2
jae 0x4fe50b
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 + 0x54], eax
test eax, 0x7ff00000
mov eax, edx
mov ebx, 0xfffffbce
cmove eax, ebx
mov ebx, dword [esp]
mov dword [esp + 8], eax
mov eax, esi
cmove eax, ebx
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x1c], edi
cmove eax, edi
mov dword [esp + 0xc], eax
je 0x4fec8f
mov dword [esp + 0x18], edx
shld ecx, esi, 0xb
mov dword [esp + 0x10], ecx
shl esi, 0xb
mov dword [esp + 0x20], esi
movaps xmm1, xmmword [0x5d1480]
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 0x4fecb1
mov eax, dword [esp + 8]
lea ecx, [eax - 1]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
shld edx, eax, 1
lea esi, [eax + eax]
lea edi, [eax + eax]
inc edi
mov dword [esp + 0x24], edx
mov eax, edx
mov edx, ecx
mov ebx, eax
shld eax, edi, 0xa
shl edi, 0xa
add edx, 0xfffffff6
test ebx, 0xfffff000
je 0x4fde64
test eax, eax
jns 0x4fece1
mov ebx, dword [esp]
or ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edi
je 0x4feb6a
add esi, 0xffffffff
mov edi, dword [esp + 0x24]
adc edi, 0xffffffff
sub ecx, edx
shld edi, esi, cl
shl esi, cl
xor ebx, ebx
test cl, 0x20
cmove ebx, esi
cmove esi, edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb4], esi
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 + 0x18]
sub ecx, edi
mov edx, 0xffffffab
sub edx, edi
push eax
push esi
push edx
push ecx
call fcn.004b4a30
add esp, 0x10
mov ecx, esi
mov edi, dword [esi + 4]
mov dword [esp + 0x1c], edi
mov eax, edi
mov esi, dword [esp + 0x10]
mul esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x20]
and ebx, 0xfffff800
mov eax, edi
mul ebx
mov edi, eax
mov dword [esp + 8], edx
mov ecx, dword [ecx]
mov eax, ecx
mov dword [esp], ecx
mul esi
mov dword [esp + 0x44], 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 + 0x18]
lea esi, [esp + 0x90]
add ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
adc ecx, edi
add esi, dword [esp + 8]
adc ecx, edi
mov ebx, SysReAllocString
add edx, ebx
adc esi, eax
mov dword [esp + 0x44], esi
adc ecx, edi
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0xb4]
mov eax, esi
mov ebx, dword [esp + 0x1c]
mul ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0xb0]
mov eax, edi
mul ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov eax, esi
mov ecx, dword [esp]
mul ecx
mov dword [esp + 0x4c], edx
mov esi, eax
mov eax, edi
mul ecx
xor eax, eax
add edx, esi
setb al
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0xa4]
mov eax, edi
mov esi, ebx
mul ebx
mov dword [esp + 0x54], eax
mov ecx, edx
mov ebx, dword [esp + 0xa0]
mov eax, ebx
mul esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
mov eax, edi
mov esi, dword [esp]
mul esi
mov edi, edx
mov dword [esp + 0x3c], eax
mov eax, ebx
mul esi
xor eax, eax
add edx, dword [esp + 0x3c]
setb al
add edx, dword [esp + 0x40]
mov esi, 0
adc eax, esi
add edi, dword [esp + 0x54]
adc ecx, esi
add edi, dword [esp + 0x1c]
adc ecx, esi
mov esi, SysReAllocString
add edx, esi
adc edi, eax
mov eax, 0
adc ecx, eax
add edi, 1
mov dword [esp + 0x3c], edi
adc ecx, eax
mov edx, ecx
mov ebx, dword [esp + 0x4c]
add ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
adc ecx, eax
add ebx, dword [esp + 0x24]
adc ecx, eax
xor esi, esi
mov eax, SysReAllocString
add dword [esp + 0x20], eax
adc ebx, dword [esp + 0x10]
adc ecx, esi
xor esi, esi
sub edi, ebx
mov dword [esp + 0x5c], edi
mov ebx, edx
mov dword [esp + 0x40], edx
sbb edx, ecx
mov dword [esp + 0x58], edx
add edi, 1
mov dword [esp + 0x1c], edi
adc edx, esi
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x18]
xor eax, eax
inc eax
xor esi, esi
shld esi, eax, cl
mov dword [esp + 0x24], eax
shl eax, cl
mov edi, dword [esp + 0x3c]
shrd edi, ebx, cl
mov ebx, dword [esp + 0x40]
shr ebx, cl
mov dword [esp + 0x20], ecx
test cl, 0x20
cmove ebx, edi
cmovne esi, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x64], eax
add eax, 0xffffffff
mov dword [esp + 0x70], esi
adc esi, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], esi
and ecx, esi
mov dword [esp + 8], ecx
mov edi, dword [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x4c], eax
and ecx, eax
mov dword [esp + 0xc], ecx
imul eax, dword [esp + 0x18], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x10], ebx
cmp dword [eax*4 + 0x5e62e0], ebx
lea esi, [eax + 1]
cmova esi, eax
mov ecx, edi
sub ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
sbb ebx, dword [esp + 0x14]
mov eax, ecx
mov edi, ecx
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov ecx, ebx
adc ecx, 0xffffffff
mov dword [esp + 0x3c], edi
mov eax, edi
mov edi, dword [esp + 0x1c]
add eax, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ebx
mov eax, ebx
mov ebx, 0
adc eax, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esi*4 + 0x5e62dc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
add dword [esp + 0x5c], 0xfffffffd
adc dword [esp + 0x58], 0xffffffff
mov eax, esi
sar eax, 0x1f
and eax, esi
mov dword [esp + 0x44], eax
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x38], ecx
test esi, esi
jle 0x4fe270
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
xor edx, edx
div dword [esp + 0x14]
add al, 0x30
mov esi, dword [ebp + 0x20]
mov ecx, dword [esi]
mov ebx, edi
mov edi, dword [ebp + 0x18]
mov byte [edi + ecx], al
xor esi, esi
mov edi, edx
mov ecx, dword [esp + 0x20]
shld esi, edx, cl
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
lea edx, [eax + 1]
mov dword [esp + 0x10], edi
shl edi, cl
test cl, 0x20
cmovne esi, edi
mov ecx, 0
cmovne edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], edx
add edi, dword [esp + 0xc]
adc esi, dword [esp + 8]
cmp edi, ebx
mov ecx, esi
sbb ecx, dword [esp]
jb 0x4fe9cf
mov ebx, esi
mov eax, dword [esp + 0x14]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x18]
dec esi
mov eax, dword [esp + 0x1c]
cmp edi, eax
mov edi, eax
mov edx, dword [esp]
sbb ebx, edx
jae 0x4fe19f
test byte [esp + 4], 1
je 0x4fec16
sub esi, dword [esp + 0x8c]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add esi, dword [ecx]
mov dword [eax], esi
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.0050db32
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp]
mov dword [esp], ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov ecx, 0xa
mul ecx
mov ecx, dword [esp + 8]
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0xc], eax
mov esi, eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x24]
shr ebx, cl
mov dword [esp + 0x44], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 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]
lea esi, [esi + esi*4]
lea esi, [edx + esi*2]
mov edx, dword [esp + 8]
and edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xc]
and ebx, dword [esp + 0x4c]
mov edi, eax
mov dword [esp + 0xc], ebx
cmp ebx, eax
mov eax, edx
mov dword [esp], esi
sbb eax, esi
mov ebx, dword [ecx]
lea eax, [ebx + 1]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
lea esi, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
lea eax, [eax + esi*2]
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 8], edx
jb 0x4fe346
mov esi, dword [esp + 0x18]
dec esi
cmp dword [esp + 0xc], edi
mov eax, edx
mov ecx, dword [esp]
sbb eax, ecx
jae 0x4fe27f
jmp 0x4fe231
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], ecx
mov esi, dword [esp + 0x24]
mov eax, esi
mul dword [esp + 0x3c]
mov ecx, esi
imul ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x3c]
add edx, ecx
mov ecx, eax
sub ecx, esi
mov dword [esp + 0x48], ecx
mov ebx, edx
mov ecx, dword [esp + 0x14]
sbb ebx, ecx
add eax, esi
mov dword [esp + 0x38], eax
adc edx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0xc]
sub edi, edx
mov ecx, dword [esp]
sbb ecx, dword [esp + 8]
cmp edi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
sbb ecx, edi
setb al
mov dword [esp + 0x58], eax
mov esi, edx
jb 0x4fe487
mov edx, dword [esp + 0x48]
cmp esi, edx
mov ecx, dword [esp + 8]
mov eax, ecx
mov dword [esp + 0x5c], ebx
sbb eax, ebx
mov eax, ecx
mov ecx, dword [esp + 0x64]
jae 0x4fe48b
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
add esi, ecx
mov dword [esp + 0x10], esi
adc eax, edi
cmp esi, edx
mov esi, edx
mov dword [esp + 4], eax
sbb eax, dword [esp + 0x5c]
mov ebx, dword [esp]
jb 0x4fe42e
mov eax, esi
sub eax, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov ecx, edi
sbb ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
sub ebx, esi
mov edx, dword [esp + 4]
sbb edx, edi
cmp eax, ebx
mov ebx, dword [esp]
sbb ecx, edx
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
jb 0x4fe9ba
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x50]
dec byte [eax + edx]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x10]
sbb ebx, dword [esp + 4]
cmp eax, ecx
mov edx, ecx
mov ecx, ebx
sbb ecx, edi
setb cl
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x10], esi
mov ecx, dword [esp + 4]
sbb ecx, dword [esp + 0x5c]
jae 0x4fe501
cmp eax, edx
sbb ebx, edi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, edx
mov edx, dword [esp + 0x48]
jae 0x4fe3e4
jmp 0x4fe48b
mov eax, dword [esp + 8]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x38]
mov edi, eax
mov ecx, dword [esp + 0x34]
sbb eax, ecx
jae 0x4fe4a8
cmp byte [esp + 0x58], 0
je 0x4fe7eb
mov esi, dword [esp + 0x44]
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x28]
lea ecx, [edx + ecx*4]
cmp dword [esp + 0x10], eax
mov ebx, edi
mov eax, edi
sbb eax, ecx
setae cl
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov esi, dword [esp + 0x6c]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 0x1c]
add eax, edi
adc edx, dword [esp]
cmp eax, dword [esp + 0x10]
sbb edx, ebx
setae al
and al, cl
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
jmp 0x4fe32b
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
jmp 0x4fe48b
jne 0x4fecfe
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 ebx, eax
adc ebx, 0xfffff
add esi, 1
adc ebx, 0
test edx, 0x7ff00000
je 0x4fed03
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld ebx, esi, 0xb
shl esi, 0xb
mov dword [esp + 0x14], esi
movaps xmm0, xmmword [0x5d1480]
lea ecx, [esp + 0xb0]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
mov edi, 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 + 0xc], esi
push eax
push edi
push edx
push ecx
call fcn.004b4a30
add esp, 0x10
mov esi, dword [edi + 4]
mov eax, esi
mul ebx
mov edi, edx
mov dword [esp + 8], eax
mov eax, esi
mov esi, dword [esp + 0x14]
mul esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
lea eax, [esp + 0xb0]
mov ecx, dword [eax]
mov eax, ecx
mul ebx
mov ebx, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul esi
xor eax, eax
add edx, dword [esp + 0x20]
setb al
add edx, dword [esp + 0x24]
mov ecx, 0
adc eax, ecx
mov esi, dword [esp]
lea ecx, [esp + 0xb0]
add esi, dword [ecx + 8]
mov dword [esp], esi
add ebx, dword [esp + 8]
mov ecx, 0
adc edi, ecx
add ebx, dword [esp + 0x18]
adc edi, ecx
xor ecx, ecx
add edx, 0x80000000
adc ebx, eax
adc edi, ecx
mov ecx, 0xffffffcb
sub ecx, esi
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
shl eax, cl
mov esi, ebx
shrd esi, edi, cl
mov dword [esp + 8], esi
mov esi, edi
shr esi, cl
mov dword [esp + 0x4c], ecx
test cl, 0x20
cmove esi, dword [esp + 8]
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x1c], eax
add eax, 0xffffffff
mov dword [esp + 0x10], edx
adc edx, 0xffffffff
mov dword [esp + 0x44], edx
and edi, edx
mov dword [esp + 8], edi
mov dword [esp + 0x54], eax
and ebx, eax
mov dword [esp + 0x14], ebx
imul eax, dword [esp], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x5e62e0], esi
lea edi, [eax + 1]
cmova edi, eax
mov edx, dword [edi*4 + 0x5e62dc]
mov eax, dword [ebp + 0x20]
mov dword [esp], 0
mov dword [eax], ecx
mov ebx, edx
test edi, edi
jle 0x4fe838
mov eax, esi
xor edx, edx
div ebx
add al, 0x30
mov esi, dword [ebp + 0x18]
mov ecx, ebx
mov ebx, dword [esp]
mov byte [esi + ebx], al
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
inc ebx
mov esi, ebx
mov dword [esp], ebx
mov dword [eax], ebx
mov ebx, ecx
mov esi, edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
dec edi
shr edx, 3
dec dword [esp + 0xc]
jne 0x4fe6ae
mov dword [esp + 0x18], edi
mov edx, ebx
mov ecx, dword [esp + 0x4c]
shl edx, cl
xor eax, eax
test cl, 0x20
mov edi, edx
cmovne edi, eax
mov dword [esp + 0xc], edi
xor edi, edi
shld edi, ebx, cl
test cl, 0x20
cmovne edi, edx
mov edx, esi
shl edx, cl
test cl, 0x20
mov ebx, edx
cmovne ebx, eax
shld eax, esi, cl
mov esi, dword [esp + 0xc]
test cl, 0x20
cmovne eax, edx
add ebx, dword [esp + 0x14]
adc eax, dword [esp + 8]
cmp esi, 3
mov ecx, edi
sbb ecx, 0
jb 0x4fec16
mov ecx, esi
sub ecx, ebx
mov edx, edi
sbb edx, eax
cmp ebx, ecx
mov ecx, eax
sbb ecx, edx
jae 0x4fe781
mov ecx, eax
shld ecx, ebx, 1
lea edx, [ebx + ebx]
mov esi, dword [esp + 0xc]
sub esi, edx
mov edx, edi
sbb edx, ecx
mov dword [esp + 8], 0
xor ecx, ecx
inc ecx
cmp ecx, esi
mov esi, dword [esp + 0xc]
sbb dword [esp + 8], edx
jb 0x4fe9aa
cmp ebx, 2
mov ecx, eax
sbb ecx, 0
jb 0x4fec16
add ebx, 0xffffffff
adc eax, 0xffffffff
sub esi, ebx
sbb edi, eax
cmp ebx, esi
sbb eax, edi
jb 0x4fec16
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 esi, dword [esp + 0x18]
jl 0x4febfe
cmp al, 0x3a
jne 0x4febfe
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp]
mov byte [ecx + edx - 1], 0x30
mov al, byte [ecx + edx - 2]
inc al
mov byte [ecx + edx - 2], al
dec edx
mov dword [esp], edx
cmp edx, 1
jg 0x4fe7c0
jmp 0x4febfe
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x64]
mov eax, edi
mov dword [esp + 4], edi
adc eax, dword [esp + 0x70]
cmp edx, dword [esp + 0x38]
mov ebx, ecx
mov ecx, eax
sbb ecx, ebx
jb 0x4fe827
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x10]
mov esi, ebx
sbb esi, dword [esp + 4]
sub edx, dword [esp + 0x38]
sbb eax, ebx
cmp edx, ecx
sbb eax, esi
jae 0x4fe4a8
mov dword [esp + 4], 0
mov edi, dword [esp + 0x1c]
jmp 0x4fe4f8
mov dword [esp + 0x18], edi
cmp dword [esp + 0xc], 0
je 0x4fecf5
mov esi, dword [esp]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov ebx, 1
jle 0x4fec16
cmp eax, 2
mov edx, edi
sbb edx, 0
jb 0x4fec16
mov dword [esp], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ebx
mov ecx, 0xa
mul ecx
lea ebx, [edi + edi*4]
lea ebx, [edx + ebx*2]
mov dword [esp + 8], ebx
mov esi, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x4c]
shrd esi, ebx, cl
mov eax, dword [esp + 0x20]
shr ebx, cl
mov dword [esp + 0x40], eax
mov edx, 0xa
mul edx
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 ebx, dword [esp + 0x24]
lea edi, [ebx + ebx*4]
mov dword [esp + 0x3c], edi
lea edx, [edx + edi*2]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x20]
mov ebx, dword [edx]
mov dword [esp + 4], ebx
lea edi, [ebx + 1]
mov ebx, edi
mov dword [esp], edi
mov dword [edx], edi
mov ecx, dword [esp + 0x14]
and ecx, dword [esp + 0x54]
mov edi, dword [esp + 8]
and edi, dword [esp + 0x44]
dec dword [esp + 0x18]
mov ebx, eax
cmp esi, 2
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
mov eax, ecx
jb 0x4fe916
cmp ebx, eax
mov edx, dword [esp + 0x24]
sbb edx, edi
jb 0x4fe876
cmp dword [esp + 0xc], 0
jne 0x4fec16
mov esi, dword [esp + 0x1c]
sub esi, ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
sbb ecx, edx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], ebx
sbb edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
jae 0x4fec16
cmp ebx, esi
mov edx, dword [esp + 0x24]
sbb edx, ecx
jae 0x4fec16
mov esi, dword [esp + 0x1c]
mov edx, esi
sub edx, eax
mov ecx, dword [esp + 0x10]
mov ebx, ecx
sbb ecx, edi
cmp eax, edx
mov edx, edi
sbb edx, ecx
jae 0x4feba4
mov edx, edi
shld edx, eax, 1
lea ecx, [eax + eax]
mov dword [esp + 8], edi
mov edi, eax
sub esi, ecx
sbb ebx, edx
mov edx, 0x14
mov eax, dword [esp + 0x40]
mul edx
cmp esi, eax
mov eax, edi
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x3c]
lea edx, [edx + esi*4]
sbb ebx, edx
jb 0x4feba4
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0xa0]
jmp 0x4fe243
mov dword [esp + 0x58], 0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
jmp 0x4fe48b
mov dword [esp + 0x74], eax
xor ebx, ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
cmovne ebx, edx
mov ecx, 0
cmovne edx, ecx
mov eax, dword [esp + 0x1c]
sub eax, edi
mov ecx, dword [esp]
sbb ecx, esi
mov dword [esp + 4], eax
cmp eax, edx
mov eax, ecx
sbb ecx, ebx
setb cl
mov dword [esp + 0x50], ecx
cmp edi, dword [esp + 0x48]
mov ecx, esi
sbb ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
jae 0x4feb0c
cmp dword [esp + 4], edx
sbb eax, ebx
mov edx, edi
mov ebx, esi
mov dword [esp + 4], esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
jb 0x4feb1c
mov edx, edi
mov ecx, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 4], ebx
add edx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 4]
adc ecx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov edx, ecx
sbb edx, dword [esp + 0x38]
jb 0x4feaa0
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
sbb ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 4]
sbb eax, dword [esp + 0x38]
cmp dword [esp + 0x50], edx
sbb ecx, eax
jb 0x4fec76
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x74]
dec byte [ecx + eax]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x60], ecx
cmp ecx, dword [esp + 0x30]
mov ecx, edx
sbb ecx, dword [esp + 0x2c]
setb cl
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x48]
mov ecx, dword [esp + 4]
sbb ecx, dword [esp + 0x38]
jae 0x4feb97
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x60], eax
sbb edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
jae 0x4fea50
jmp 0x4feb1c
mov edx, edi
mov ebx, esi
mov dword [esp + 4], esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
cmp eax, edx
mov eax, dword [esp + 4]
sbb eax, ecx
jae 0x4feb3b
cmp byte [esp + 0x50], 0
je 0x4fec1d
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov eax, 0
mov edx, dword [esp + 4]
sbb eax, edx
setb al
cmp dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x58]
sbb ecx, edx
setae cl
and cl, al
mov dword [esp + 4], ecx
jmp 0x4fe21d
test dword [esp + 0x54], 0x7fe00000
je 0x4fde91
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
shld ebx, esi, 2
shl esi, 2
mov dword [esp + 0x24], ebx
jmp 0x4fde91
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
jmp 0x4feb1c
mov esi, dword [esp + 0x20]
cmp esi, eax
mov edx, dword [esp + 0x24]
mov ecx, edx
sbb ecx, edi
jae 0x4fec16
sub eax, esi
sbb edi, edx
mov edx, dword [esp + 0x1c]
sub edx, eax
mov ecx, dword [esp + 0x10]
sbb ecx, edi
cmp eax, edx
sbb edi, ecx
jb 0x4fec16
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 4]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
mov esi, dword [esp + 0x18]
jle 0x4febfe
inc edx
cmp al, 0x3a
jne 0x4febfe
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 0x4febe2
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x4fe9ae
mov eax, dword [ebp + 0x18]
mov byte [eax], 0x31
inc esi
jmp 0x4fe9ae
xor ebx, ebx
jmp 0x4fe258
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
adc ecx, dword [esp + 4]
mov dword [esp + 0x30], eax
cmp eax, edx
mov eax, ecx
sbb eax, dword [esp + 0x34]
jb 0x4fec69
mov eax, edx
sub eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
sbb eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
sub eax, edx
sbb ecx, dword [esp + 0x34]
cmp eax, dword [esp + 0x18]
sbb ecx, dword [esp + 0x2c]
jae 0x4feb3b
mov dword [esp + 4], 0
jmp 0x4fe21d
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
jmp 0x4feb18
mov edx, 0xfffffbce
mov esi, ebx
mov eax, dword [esp + 0x1c]
mov ecx, eax
shld ecx, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, ecx
jb 0x4fddfe
jmp 0x4fec9c
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.00580500
movaps xmm1, xmmword [0x5d1480]
jmp 0x4fdedb
mov ebx, dword [esp]
shld eax, edi, 1
add edi, edi
dec edx
test eax, eax
js 0x4fde83
jmp 0x4fece4
mov edi, dword [esp + 0x18]
jmp 0x4fe6ef
call fcn.0053f4b0
mov edx, 0xfffffbce
mov esi, ecx
mov ebx, eax
shld ebx, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, ebx
jb 0x4fe55d
jmp 0x4fed0c