Function at 0x4b1030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54052d
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x318], edi
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x320], 0
call dword [0x55535c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x250], xmm0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 1
call dword [0x554b38]
xor esi, esi
mov dword [ebp - 0x310], eax
push esi
push esi
push 0x1004
push dword [edi + 0x24c]
mov dword [ebp - 0x324], esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x4b12e7
nop dword [eax + eax]
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x298], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x2cc], esi
push 0
push 0x104b
push dword [edi + 0x24c]
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
movlpd qword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x2d0], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4b1184
mov eax, dword [ebp - 0x2b0]
cmp dword [eax + 0x20], 0
je 0x4b1184
push 0xf000
push esi
push 0x102c
push dword [edi + 0x24c]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
dec eax
jmp 0x4b1186
xor eax, eax
test eax, eax
je 0x4b12c3
lea ecx, [ebp - 0x244]
call dword [0x55535c]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30c]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x2d4], 0
push 0
push 0x104b
push dword [edi + 0x24c]
movlpd qword [ebp - 0x304], xmm0
movlpd qword [ebp - 0x2fc], xmm0
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
movlpd qword [ebp - 0x2dc], xmm0
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x30c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4b1234
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x31c], esp
push dword [ebp - 0x2ec]
call dword [0x55534c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call dword [0x555304]
mov ecx, dword [ebp - 0x310]
lea eax, [ebp - 0x244]
push eax
call dword [0x554b48]
test eax, eax
je 0x4b12b3
mov edi, dword [eax + 0x1f0]
mov eax, dword [edi]
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x344]
push eax
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24c]
push eax
cmp ecx, dword [ebp - 0x248]
je 0x4b128b
call dword [0x55534c]
add dword [ebp - 0x24c], 0x20
jmp 0x4b1297
push ecx
lea ecx, [ebp - 0x250]
call fcn.00406470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x344]
call dword [0x555348]
mov esi, dword [ebp - 0x324]
mov edi, dword [ebp - 0x318]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call dword [0x555348]
push 0
push 0
push 0x1004
push dword [edi + 0x24c]
inc esi
mov dword [ebp - 0x324], esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x4b10f0
push 0x55b07d
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x344]
push 0
push eax
call dword [0x555b94]
mov byte [ebp - 4], 6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x31c], esp
lea edx, [ebp - 0x244]
push edx
push eax
push ecx
call dword [0x555b98]
add esp, 0xc
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x270]
call dword [0x555304]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x344]
call dword [0x555348]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call dword [0x555348]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
push str.__Nologo
call dword [0x555358]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x220]
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4b13d2
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b13de
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x344]
push str.vm_support.vbs
call dword [0x555358]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x270]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [0x5552f8]
mov dword [ebp - 0x320], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x344]
call dword [0x555348]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x244]
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4b145b
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b1467
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
mov eax, 1
mov dword [ebp - 0x320], eax
and eax, 0xfffffffe
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
push 0x56e610
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x220]
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4b14c6
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b14d2
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
lea esi, [edi + 0x150]
mov ecx, esi
call dword [0x555334]
test al, al
jne 0x4b157b
push 0x56e614
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x220]
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4b1533
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b153f
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
mov eax, dword [ebp - 0x220]
push esi
cmp eax, dword [ebp - 0x21c]
je 0x4b156f
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b157b
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
push 0x56e618
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x220]
push ecx
cmp eax, dword [ebp - 0x21c]
je 0x4b15b6
mov ecx, eax
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b15c2
push eax
lea ecx, [ebp - 0x224]
call fcn.00406470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
push 0x56e61c
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.004ad9c0
add esp, 0xc
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x220]
push eax
cmp ecx, dword [ebp - 0x21c]
je 0x4b1626
call dword [0x55534c]
add dword [ebp - 0x220], 0x20
jmp 0x4b1632
push ecx
lea ecx, [ebp - 0x224]
call fcn.00406470
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x344]
call dword [0x555348]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call dword [0x555348]
push str.Collecting_support_data_n
call fcn.005167a7
add esp, 4
lea ecx, [ebp - 0x294]
push str._____msg.vmui.collectSupportData.runError_Unable_to_run_the_VMware_support_script._Contact_VMware_customer_support_for_further_assistance.
call dword [0x554a2c]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00515fd2
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4b16e0
push eax
push str.CVMUICollectSupportData::InvokeHostVMSupport
push str._s:_Failed_to_get_system_folder:_0x_08X_n
lfence
call fcn.005167ad
add esp, 0xc
call dword [0x555fe4]
mov edi, eax
push 0x55b07d
mov ecx, dword [edi]
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0x12
jmp 0x4b1a64
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
push 0x50
lfence
call fcn.00514bd0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x344]
push str._Scscript.exe
push eax
call dword [0x554a40]
add esp, 0x10
mov byte [ebp - 4], 0x15
mov ecx, eax
call dword [0x555340]
push eax
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [0x554fdc]
mov ecx, dword [edi + 0x124]
add esp, 0xc
mov dword [ebp - 0x318], ecx
mov dword [edi + 0x124], eax
test ecx, ecx
je 0x4b1799
mov eax, dword [ecx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x55604c]
mov ecx, dword [ebp - 0x318]
call esi
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x244]
call dword [0x555348]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x344]
call dword [0x555348]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x314]
push dword [eax + 4]
lea eax, [ebp - 0x314]
push eax
mov ecx, eax
call fcn.00483970
push 0x50
push dword [ebp - 0x314]
call fcn.00514c00
mov eax, dword [edi + 0x124]
add eax, 8
mov dword [ebp - 0x23c], 0x4b2400
mov dword [ebp - 0x318], eax
mov eax, dword [edi + 0x20]
push 0x30
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov eax, dword [eax + 4]
add eax, 0x20
mov dword [ebp - 0x228], edi
add eax, edi
mov dword [ebp - 0x22c], eax
call dword [0x554868]
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x31c], esi
mov byte [ebp - 4], 0x18
test esi, esi
je 0x4b1886
push 0x44af50
push 0x449610
push 0
mov ecx, esi
call dword [0x554860]
mov byte [ebp - 4], 0x19
movups xmm0, xmmword [ebp - 0x23c]
push dword [0x554870]
movups xmmword [esi + 0x18], xmm0
push esi
movq xmm0, qword [ebp - 0x22c]
movq qword [esi + 0x28], xmm0
mov ecx, dword [esi + 0x28]
call dword [0x554854]
mov byte [ebp - 4], 0x18
jmp 0x4b1888
xor esi, esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
push esi
call dword [0x554880]
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x314]
mov dword [eax + 4], 0x4b42b0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x314]
mov ecx, dword [ebp - 0x318]
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [0x5548b4]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
call dword [0x55488c]
push 0x44
call fcn.00514bd0
add esp, 4
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4b1900
push dword [edi + 0x124]
mov ecx, eax
call dword [0x554fd4]
jmp 0x4b1902
xor eax, eax
mov byte [ebp - 4], 0x11
mov esi, dword [edi + 0x128]
mov dword [edi + 0x128], eax
test esi, esi
je 0x4b192f
mov ecx, esi
call dword [0x554fd8]
push 0x44
push esi
call fcn.00514c00
mov eax, dword [edi + 0x128]
add esp, 8
add eax, 4
mov dword [ebp - 0x23c], 0x4b2620
mov dword [ebp - 0x318], eax
mov eax, dword [edi + 0x20]
push 0x30
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov eax, dword [eax + 4]
add eax, 0x20
mov dword [ebp - 0x228], edi
add eax, edi
mov dword [ebp - 0x22c], eax
call dword [0x554868]
mov esi, eax
add esp, 4
mov dword [ebp - 0x31c], esi
mov byte [ebp - 4], 0x20
test esi, esi
je 0x4b19ce
push 0x44af50
push 0x449610
push 0
mov ecx, esi
call dword [0x554860]
mov byte [ebp - 4], 0x21
movups xmm0, xmmword [ebp - 0x23c]
push dword [0x554870]
movups xmmword [esi + 0x18], xmm0
push esi
movq xmm0, qword [ebp - 0x22c]
movq qword [esi + 0x28], xmm0
mov ecx, dword [esi + 0x28]
call dword [0x554854]
mov byte [ebp - 4], 0x20
jmp 0x4b19d0
xor esi, esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
push esi
call dword [0x554880]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x314]
mov dword [eax + 4], 0x4b4280
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x314]
mov ecx, dword [ebp - 0x318]
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [0x5548b4]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
call dword [0x55488c]
mov byte [edi + 0x14c], 0
mov edi, dword [edi + 0x124]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
test al, al
jne 0x4b1a96
call dword [0x555fe4]
mov edi, eax
push 0x55b07d
mov ecx, dword [edi]
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x244]
call dword [0x555358]
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x294]
call dword [0x554a34]
push 1
lea ecx, [ebp - 0x244]
push ecx
push eax
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x244]
call dword [0x555348]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x294]
call dword [0x554a30]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004313d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004313d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call dword [0x555348]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret