Function at 0x48d480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4f25b9
push eax
mov eax, 0x294c
mov dword fs:[0], esp
call fcn.004e33a0
push esi
mov esi, ecx
mov dword [ebp - 0x2c], 0
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x20], esi
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._sRALFII.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x54]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
jne 0x48d5a8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x48d50c
mov eax, dword [eax + 0x20]
push 1
push 0x23
lea ecx, [ebp - 0x158]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18]
push str._sRALFIIRALFII.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x54]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
jne 0x48d5a8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x48d554
mov eax, dword [eax + 0x20]
push 1
push 0x1a
lea ecx, [ebp - 0x158]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18]
push str._sRALFIIRALFII.lic
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x54]
push 0
push 0x8000
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
jne 0x48d5a8
push eax
push eax
push str.ERROR:_Unable_to_locate_the_license_file
call dword [sym.imp.mfc140.dll_Ordinal_2298]
mov byte [ebp - 0xd], 0
jmp 0x48d9d3
push 0x2800
lea eax, [ebp - 0x2958]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140.dll_Ordinal_12310]
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
lea edx, [eax - 1]
lea ecx, [edi + 1]
mov dword [ebp - 0x24], edx
cmp eax, ecx
jle 0x48d64a
cmp edx, 8
jb 0x48d64a
mov eax, edx
and eax, 0x80000007
jns 0x48d5e5
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [ebp - 0x1c]
xorps xmm2, xmm2
sub edx, eax
xorps xmm3, xmm3
movd xmm1, dword [ebp + ecx - 0x2958]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
movd xmm1, dword [ebp + ecx - 0x2954]
punpcklbw xmm1, xmm0
add ecx, 8
punpcklwd xmm1, xmm0
paddd xmm3, xmm1
cmp ecx, edx
jl 0x48d5f0
mov eax, dword [ebp - 0x1c]
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 - 0x14], edi
xor edx, edx
xor esi, esi
cmp ecx, eax
jge 0x48d694
sub eax, ecx
cmp eax, 2
jl 0x48d685
mov edi, dword [ebp - 0x24]
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x2958]
add edx, eax
movzx eax, byte [ebp + ecx - 0x2957]
add ecx, 2
add esi, eax
mov eax, ecx
cmp ecx, edi
jl 0x48d660
mov edi, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x48d68f
movzx eax, byte [ebp + ecx - 0x2958]
add edi, eax
lea eax, [edx + esi]
add edi, eax
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, byte [ebp - 0x2958]
cmp eax, edi
je 0x48d6d2
push 0
push 0
push str.ERROR:_License_file_has_been_altered_or_is_invalid
call dword [sym.imp.mfc140.dll_Ordinal_2298]
mov byte [ebp - 0xd], 0
jmp 0x48d9d3
cmp byte [ebp - 0x2957], 1
mov byte [ebp - 0xd], 1
je 0x48d971
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x2955]
add edi, 0x498
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48d6f5
sub ecx, edx
lea eax, [ebp - 0x2955]
push ecx
push eax
mov ecx, edi
call fcn.00401820
push 0xa
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00405f40
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00401680
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d745
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00434910
mov dword [ebp - 0x24], eax
push 2
push 3
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00434910
mov esi, eax
push 4
push 6
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00434910
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov edi, dword [esi]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
push ecx
push 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
push 1
push 1
push dword [eax]
call esi
add esp, 4
push eax
push edi
call esi
add esp, 4
push eax
push dword [ebp - 0x14]
call esi
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00490690
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d7db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d7f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d817
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.004066c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x24], eax
jg 0x48d8d5
jl 0x48d838
cmp dword [ebp - 0x28], ecx
jae 0x48d8d5
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x498]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48d859
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x48d871
call fcn.00401bb0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x48d9f8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0x498]
mov edx, str.License_expired_on
push dword [eax - 0xc]
push eax
push 0x13
call fcn.004061b0
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x498]
push eax
call fcn.00401680
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48d8cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 0
jmp 0x48d971
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x498]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48d8f6
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x48d90e
call fcn.00401bb0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x48da02
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0x498]
mov edx, str.License_expires_on
push dword [eax - 0xc]
push eax
push 0x13
call fcn.004061b0
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x498]
push eax
call fcn.00401680
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 0xd], 1
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48d971
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 1
mov edi, dword [ebp - 0x20]
lea edx, [ebp - 0x294b]
lea esi, [edx + 1]
lea ecx, [edi + 0x494]
mov al, byte [edx]
inc edx
test al, al
jne 0x48d983
sub edx, esi
lea eax, [ebp - 0x294b]
push edx
push eax
call fcn.00401820
movzx esi, byte [ebp - 0x2956]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jge 0x48d9d3
nop dword [eax + eax]
movzx eax, word [ebp + esi - 0x2958]
lea ecx, [edi + 0x158]
push eax
push dword [edi + 0x160]
call dword [sym.imp.mfc140.dll_Ordinal_13201]
add esi, 2
cmp esi, dword [ebp - 0x1c]
jl 0x48d9b0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140.dll_Ordinal_1446]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f30
push 0x80004005
call fcn.00401f30
int3