Function at 0x48da10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f2614
push eax
mov eax, 0x2944
mov dword fs:[0], esp
call fcn.004e33a0
push esi
mov esi, ecx
lea ecx, [ebp - 0x4c]
push edi
call dword [sym.imp.mfc140.dll_Ordinal_973]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [esi + 0x47c]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_4807]
push str._sRALFIIm.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x4c]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
jne 0x48db1c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x48da92
mov eax, dword [eax + 0x20]
push 1
push 0x23
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x18]
push str._sRALFIIRALFIIm.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x4c]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
jne 0x48db1c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x48dada
mov eax, dword [eax + 0x20]
push 1
push 0x1a
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x18]
push str._sRALFIIRALFIIm.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x4c]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
je 0x48dc4b
push 0x2800
lea eax, [ebp - 0x2950]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140.dll_Ordinal_12310]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
lea edx, [eax - 1]
lea ecx, [edi + 1]
mov dword [ebp - 0x20], edx
cmp eax, ecx
jle 0x48dbca
cmp edx, 8
jb 0x48dbca
mov eax, edx
and eax, 0x80000007
jns 0x48db5d
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [ebp - 0x14]
xorps xmm2, xmm2
sub edx, eax
xorps xmm3, xmm3
nop dword [eax + eax]
movd xmm1, dword [ebp + ecx - 0x2950]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
movd xmm1, dword [ebp + ecx - 0x294c]
punpcklbw xmm1, xmm0
add ecx, 8
punpcklwd xmm1, xmm0
paddd xmm3, xmm1
cmp ecx, edx
jl 0x48db70
mov eax, dword [ebp - 0x14]
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd edi, xmm2
mov dword [ebp - 0x1c], edi
xor edx, edx
xor esi, esi
cmp ecx, eax
jge 0x48dc14
sub eax, ecx
cmp eax, 2
jl 0x48dc05
mov edi, dword [ebp - 0x20]
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x2950]
add edx, eax
movzx eax, byte [ebp + ecx - 0x294f]
add ecx, 2
add esi, eax
mov eax, ecx
cmp ecx, edi
jl 0x48dbe0
mov edi, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jge 0x48dc0f
movzx eax, byte [ebp + ecx - 0x2950]
add edi, eax
lea eax, [edx + esi]
add edi, eax
mov ecx, dword [ebp - 0x2950]
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xff
sub edi, eax
movzx eax, cl
cmp eax, edi
je 0x48dc54
push 0
push 0
push str.ERROR:_Mapping_License_file_has_been_altered_or_is_invalid
call dword [sym.imp.mfc140.dll_Ordinal_2298]
mov byte [ebp - 0x1c], 0
jmp 0x48dda4
mov byte [ebp - 0xd], 1
cmp ch, 1
je 0x48dd6a
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea eax, [ebp - 0x294d]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1530]
push 0xa
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8322]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 2
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8718]
mov esi, eax
push 2
push 3
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8718]
mov edi, eax
push 4
push 6
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8718]
push ecx
push 1
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov edi, dword [edi]
push 1
push 1
push dword [esi]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x20], eax
call esi
add esp, 4
push eax
push edi
call esi
add esp, 4
push eax
push dword [ebp - 0x20]
call esi
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.00490690
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x30]
call fcn.004066c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x20], eax
jg 0x48dd59
jl 0x48dd53
cmp dword [ebp - 0x24], ecx
jae 0x48dd59
mov byte [ebp - 0xd], 0
jmp 0x48dd5d
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x2943]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0
push 0x50ba68
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_4656]
lea ecx, [ebp - 0x28]
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
movzx ecx, byte [ebp - 0xd]
xor eax, eax
cmp esi, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140.dll_Ordinal_1446]
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret