Function at 0x436260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490210
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
push eax
push eax
push eax
push str.VNL_InstallVmusb:
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
call fcn.00443be0
push esi
push str.VNL_InstallVmusb:_args__s
push 0x80
call fcn.004439a0
add esp, 0x1c
call fcn.00431600
test eax, eax
je 0x4363e6
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 4
mov eax, str.install_vmusb
test eax, 0xffff0000
jne 0x436347
movzx eax, ax
lea ecx, [ebp - 0x5c]
push 0
push eax
call fcn.00433a40
jmp 0x436358
lea eax, [ebp - 0x5c]
push str.install_vmusb
push eax
call fcn.00435be0
add esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004359b0
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2c], 0
push ecx
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0
push eax
push 0x5006
call fcn.004317d0
add esp, 0x1c
test eax, eax
jne 0x4363b4
push str.VNL_InstallVmusb:_failed_to_handle_64_bit_properly
push 1
call fcn.004439a0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00433200
jmp 0x436589
cmp dword [ebp - 0x68], 0
mov ecx, 0x4a07e0
mov eax, 0x4a07d8
cmove eax, ecx
push eax
push str.VNL_InstallVmusb:_launched_64_bit_process__result__s
push 2
call fcn.004439a0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00433200
jmp 0x436589
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4b6554
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x436418
push eax
push str.VNL_InstallVmusb:_could_not_get_Program_Files_CommonFiles_folder_0x_08x
push 1
call fcn.004439a0
add esp, 0xc
mov dword [ebp - 0x64], 0
jmp 0x436597
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x4b6544
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x43644a
push eax
push str.VNL_InstallVmusb:_could_not_get_Program_Files_x86_CommonFiles_folder_0x_08x
push 1
call fcn.004439a0
add esp, 0xc
mov dword [ebp - 0x60], 0
jmp 0x436589
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00435ce0
push dword [ebp - 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.00435e50
lea eax, [ebp - 0x28]
push str.VMwareDrivers_vmusb_
push eax
call fcn.00435ac0
add esp, 0x18
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.00434690
lea eax, [ebp - 0x28]
push 0x492de4
push eax
call fcn.00435ac0
lea eax, [ebp - 0x28]
push str.vmusb.inf
push eax
call fcn.00435ac0
sub esp, 8
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x6c], ecx
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00434bd0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
call fcn.00445750
add esp, 0x18
test eax, eax
jne 0x436542
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x28]
push eax
push str.VNL_InstallVmusb:_INFO:_Didnt_find__S__trying__S_dir_instead
push 2
call fcn.004439a0
push dword [ebp - 0x60]
lea eax, [ebp - 0x28]
push eax
call fcn.00435e50
lea eax, [ebp - 0x28]
push str.VMwareDrivers_vmusb_
push eax
call fcn.00435ac0
add esp, 0x20
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.00434690
lea eax, [ebp - 0x28]
push 0x492de4
push eax
call fcn.00435ac0
lea eax, [ebp - 0x28]
push str.vmusb.inf
push eax
call fcn.00435ac0
add esp, 0x10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.VNL_InstallVmusb:_installing_USB_inf:__S
push 2
call fcn.004439a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5006
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00432540
add esp, 0x14
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x436589
push str.VNL_InstallVmusb:_failed_to_install_USB_inf
push 1
call fcn.004439a0
add esp, 8
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x436597
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4365a5
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.004437c0
mov esi, dword [ebp - 0x68]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4365c6
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4365f6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret 4