Function at 0x4c4420
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1128]
mov eax, 0x1128
call fcn.005e00d0
push 0xfffffffffffffffe
push 0x672128
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1124], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x1130]
mov eax, dword [ebp + 0x1134]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x1138]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x113c]
mov dword [ebp - 0x28], edx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4c4550
cmp eax, ebx
je 0x4c44a2
mov byte [eax], bl
cmp ecx, ebx
je 0x4c44a8
mov byte [ecx], bl
cmp edx, ebx
je 0x4c44ae
mov byte [edx], bl
xor edi, edi
mov dword [ebp - 0x24], edi
call fcn.004d96c0
push esi
test eax, eax
jne 0x4c455c
push str.__ProgramFiles__Microsoft_Office_s
lea eax, [ebp + 0xf1c]
push eax
call fcn.005dfb23
add esp, 0xc
push 1
lea ecx, [ebp + 0xf1c]
push ecx
call fcn.00515650
cmp dword [0x748e14], ebx
je 0x4c44ff
lea edx, [ebp + 0xf1c]
push edx
push str.OffDir_x32_:__s_n
call fcn.005e0e7f
add esp, 8
lea eax, [ebp + 0xf1c]
push eax
push str._sOSPP.VBS
lea ecx, [ebp + 0xe18]
push ecx
call fcn.005dfb23
push 1
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp + 0xe18]
push edx
call fcn.004e8950
add esp, 0x24
test eax, eax
je 0x4c4685
cmp dword [0x748e14], ebx
je 0x4c4550
lea eax, [ebp + 0xe18]
push eax
push str.VBS_not_found:__s_n
call fcn.005e0e7f
add esp, 8
mov dword [ebp - 4], 0xfffffffe
jmp 0x4c4b04
push str.__ProgramFiles_x86___Microsoft_Office_s
lea ecx, [ebp + 0xf1c]
push ecx
call fcn.005dfb23
add esp, 0xc
push 1
lea edx, [ebp + 0xf1c]
push edx
call fcn.00515650
cmp dword [0x748e14], ebx
je 0x4c459a
lea eax, [ebp + 0xf1c]
push eax
push str.OffDir_x32_:__s_n
call fcn.005e0e7f
add esp, 8
lea ecx, [ebp + 0xf1c]
push ecx
push str._sOSPP.VBS
lea edx, [ebp + 0xe18]
push edx
call fcn.005dfb23
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0xe18]
push eax
call fcn.004e8950
add esp, 0x24
test eax, eax
je 0x4c4685
cmp dword [0x748e14], ebx
je 0x4c45eb
lea ecx, [ebp + 0xe18]
push ecx
push str.VBS_x32__not_found:__s_n
call fcn.005e0e7f
add esp, 8
push 0x60c81c
push 0x61b06c
lea edx, [ebp + 0xf1c]
push edx
call fcn.004e9030
add esp, 0xc
cmp dword [0x748e14], ebx
je 0x4c4620
lea eax, [ebp + 0xf1c]
push eax
push str.OffDir_x64_:__s_n
call fcn.005e0e7f
add esp, 8
lea ecx, [ebp + 0xf1c]
push ecx
push str._sOSPP.VBS
lea edx, [ebp + 0xe18]
push edx
call fcn.005dfb23
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0xe18]
push eax
call fcn.004e8950
add esp, 0x24
test eax, eax
je 0x4c467d
cmp dword [0x748e14], ebx
je 0x4c4550
lea ecx, [ebp + 0xe18]
push ecx
push str.VBS_x64__not_found:__s_n
call fcn.005e0e7f
add esp, 8
mov dword [ebp - 4], 0xfffffffe
jmp 0x4c4b04
mov edi, 1
mov dword [ebp - 0x24], edi
mov byte [ebp + 0xa08], bl
push 0x103
push ebx
lea edx, [ebp + 0xa09]
push edx
call fcn.005dfd60
mov byte [ebp + 0x1020], bl
push 0x103
push ebx
lea eax, [ebp + 0x1021]
push eax
call fcn.005dfd60
add esp, 0x18
lea ecx, [ebp + 0xa08]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp + 0x1020]
push edx
push ebx
push 0x6427e8
lea eax, [ebp + 0xa08]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp byte [ebp + 0x1020], bl
jne 0x4c4740
push 0x104
lea ecx, [ebp + 0x1020]
push ecx
call fcn.004ebf90
lea edx, [ebp + 0x1020]
push edx
call fcn.004e2520
add esp, 0xc
lea eax, [ebp + 0x1020]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4c4713
mov ecx, dword [str.tempCSRN.TMP]
mov dword [eax], ecx
mov edx, dword [0x6427dc]
mov dword [eax + 4], edx
mov ecx, dword [0x6427e0]
mov dword [eax + 8], ecx
mov dx, word [0x6427e4]
mov word [eax + 0xc], dx
cmp edi, ebx
je 0x4c4753
lea eax, [ebp - 0x1c]
push eax
call fcn.004f77e0
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0x1020]
push ecx
call fcn.004e0670
add esp, 4
cmp dword [0x748e14], ebx
je 0x4c477e
lea edx, [ebp + 0x1020]
push edx
push str.OutputFile:__s_n
call fcn.005e0e7f
add esp, 8
call fcn.005ddc70
lea eax, [ebp + 0xe18]
push eax
push str.cscript___Nologo__s__dstatus
lea ecx, [ebp]
push ecx
call fcn.005dfb23
lea edx, [ebp]
push edx
mov eax, dword [0x768d6c]
push eax
mov ecx, dword [0x768d84]
push ecx
call fcn.005ddb80
add esp, 0x18
cmp eax, ebx
jne 0x4c47fc
cmp dword [0x748e14], ebx
je 0x4c47ca
push str.Launch_Failed__n
call fcn.005e0e7f
add esp, 4
push 0x768d84
call fcn.004dca10
push 0x768d6c
call fcn.004dca10
push 0x76950c
call fcn.004dca10
lea edx, [ebp + 0x1020]
push edx
call fcn.004e0670
add esp, 4
jmp 0x4c4aec
push 0x768d84
call fcn.004dca10
push 0x768d6c
call fcn.004dca10
lea eax, [ebp + 0x1020]
push eax
mov ecx, dword [0x76861c]
push ecx
call fcn.004c4240
add esp, 8
push 0x76950c
call fcn.004dca10
mov byte [ebp + 0xc10], bl
push 0x103
push ebx
lea edx, [ebp + 0xc11]
push edx
call fcn.005dfd60
mov byte [ebp + 0xb0c], bl
push 0x103
push ebx
lea eax, [ebp + 0xb0d]
push eax
call fcn.005dfd60
mov byte [ebp + 0xd14], bl
push 0x103
push ebx
lea ecx, [ebp + 0xd15]
push ecx
call fcn.005dfd60
push 0x20
push ebx
lea edx, [ebp + 0x1020]
push edx
call fcn.004da9f0
add esp, 0x30
mov esi, eax
cmp esi, ebx
je 0x4c4a5d
push ebx
push 1
push ebx
push ebx
push esi
push 0x7ff
lea eax, [ebp + 0x208]
push eax
call fcn.004e1760
add esp, 0x1c
test eax, eax
je 0x4c4a54
lea ecx, [ebp + 0x208]
push ecx
call fcn.004e1290
add esp, 4
mov al, byte [ebp + 0x208]
cmp al, bl
je 0x4c4894
cmp al, 0x2d
je 0x4c4894
push str.LICENSE_NAME:
lea edx, [ebp + 0x208]
push edx
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x4c4935
lea ecx, [ebp + 0x215]
lea edx, [ebp + 0xc10]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c48f7
lea eax, [ebp + 0xc10]
push eax
call fcn.004e1290
add esp, 4
cmp dword [0x748e14], ebx
je 0x4c4894
lea ecx, [ebp + 0xc10]
push ecx
push str.LicName:__s_n
call fcn.005e0e7f
add esp, 8
jmp 0x4c4894
push str.LICENSE_STATUS
lea edx, [ebp + 0x208]
push edx
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x4c49b4
lea ecx, [ebp + 0x217]
lea edx, [ebp + 0xd14]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c4960
lea eax, [ebp + 0xd14]
push eax
call fcn.004e1290
push 0x60c81c
push 0x6111b4
lea ecx, [ebp + 0xd14]
push ecx
call fcn.004e9030
add esp, 0x10
cmp dword [0x748e14], ebx
je 0x4c4894
lea edx, [ebp + 0xd14]
push edx
push str.LicStatus:__s_n
call fcn.005e0e7f
add esp, 8
jmp 0x4c4894
push str.Last_5_characters_of_installed_product_key:
lea eax, [ebp + 0x208]
push eax
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x4c4894
lea ecx, [ebp + 0x233]
lea edx, [ebp + 0xb0c]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c49e0
lea ecx, [ebp + 0xb0c]
push ecx
call fcn.004e1290
add esp, 4
cmp dword [0x748e14], ebx
je 0x4c4a15
lea edx, [ebp + 0xb0c]
push edx
push str.LastChars:__s_n
call fcn.005e0e7f
add esp, 8
cmp byte [ebp + 0xd14], bl
je 0x4c4894
push ebx
push str.LICENSED
lea eax, [ebp + 0xd14]
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x4c4894
cmp dword [0x748e14], ebx
je 0x4c4a54
push str.BREAKING___License_already_available__n
call fcn.005e0e7f
add esp, 4
push esi
call fcn.005dff6d
add esp, 4
cmp dword [0x748e14], ebx
jne 0x4c4a74
lea ecx, [ebp + 0x1020]
push ecx
call fcn.004e0670
add esp, 4
cmp byte [ebp + 0xd14], bl
je 0x4c4aec
mov esi, dword [ebp - 0x30]
cmp esi, ebx
je 0x4c4aa3
lea ecx, [ebp + 0xc10]
mov edx, esi
jmp 0x4c4a90
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c4a90
push esi
call fcn.004c43a0
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, ebx
je 0x4c4aba
lea ecx, [ebp + 0xb0c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c4ab0
mov edx, dword [ebp - 0x28]
cmp edx, ebx
je 0x4c4aec
lea ecx, [ebp + 0xd14]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4c4ac7
jmp 0x4c4aec
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp - 0x20], ebx
je 0x4c4b04
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f7860
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1124]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x1128
mov esp, ebp
pop ebp
ret