Function at 0x438dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496b48
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
push eax
push eax
push eax
push str.VNL_InstallVmusb:
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
call fcn.00447210
push edi
push str.VNL_InstallVmusb:_args__s
push 0x80
call fcn.00446b80
add esp, 0x1c
call fcn.00435210
test eax, eax
je 0x438fc3
push str.install_vmusb
lea ecx, [ebp - 0x58]
call fcn.00436910
mov byte [ebp - 4], 4
test edi, edi
je 0x438f43
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
cmp edx, 0x10
cmovae eax, ecx
cmp edi, eax
jb 0x438f29
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x58]
cmp edx, 0x10
cmovae eax, ecx
add eax, esi
cmp edi, eax
ja 0x438f29
mov ecx, edi
lfence
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438ed0
sub ecx, ebx
lfence
lea eax, [esi + ecx]
cmp edx, eax
ja 0x438f14
push edi
lea ecx, [ebp - 0x70]
call fcn.00436c90
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x438efa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00438060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00437cf0
jmp 0x438f43
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438f20
jmp 0x438f37
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438f30
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.00438060
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push eax
push 0x5006
call fcn.004353c0
add esp, 0x14
test eax, eax
jne 0x438f91
push str.VNL_InstallVmusb:_failed_to_handle_64_bit_properly
push 1
call fcn.00446b80
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00437cf0
jmp 0x439258
cmp dword [ebp - 0x7c], 0
mov ecx, 0x4a7b90
mov eax, 0x4a7b88
cmove eax, ecx
push eax
push str.VNL_InstallVmusb:_launched_64_bit_process__result__s
push 2
call fcn.00446b80
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00437cf0
jmp 0x439258
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x4bdf6c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x438ff8
push eax
push str.VNL_InstallVmusb:_could_not_get_Program_Files_CommonFiles_folder_0x_08x
push 1
lfence
call fcn.00446b80
add esp, 0xc
mov dword [ebp - 0x78], 0
jmp 0x439266
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x4bdf5c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x43902d
push eax
push str.VNL_InstallVmusb:_could_not_get_Program_Files_x86_CommonFiles_folder_0x_08x
push 1
lfence
call fcn.00446b80
add esp, 0xc
mov dword [ebp - 0x74], 0
jmp 0x439258
test edi, edi
je 0x439125
mov esi, edi
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x439040
sub esi, ecx
je 0x439125
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 1]
cmp ecx, eax
ja 0x43906f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x43907f
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
lfence
call fcn.004381c0
push 1
call fcn.0047e474
mov ebx, eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push esi
push edi
push esi
push ecx
call fcn.00437c00
add esp, 0x18
mov edi, eax
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4390e0
mov ecx, dword [ebx]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x499490]
mov ecx, ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x4390e0
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x499490]
mov ecx, ebx
call esi
test edi, edi
je 0x4390fd
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4390e7
mov eax, dword [ebp - 0x18]
sub edi, ecx
sar edi, 1
cmp edi, eax
ja 0x439113
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x43913c
push 0
sub edi, eax
lea ecx, [ebp - 0x28]
push edi
lfence
call fcn.004381c0
jmp 0x43913c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.004372d0
push str.VMwareDrivers_vmusb_
lea ecx, [ebp - 0x40]
call fcn.00437630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004383a0
push 0x49a1f0
lea ecx, [ebp - 0x40]
call fcn.00437630
push str.vmusb.inf
lea ecx, [ebp - 0x40]
call fcn.00437630
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.00436bd0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 3
call fcn.004491c0
add esp, 0x18
test eax, eax
jne 0x439211
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x40]
push eax
push str.VNL_InstallVmusb:_INFO:_Didnt_find__S__trying__S_dir_instead
push 2
call fcn.00446b80
add esp, 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x74]
call fcn.004372d0
push str.VMwareDrivers_vmusb_
lea ecx, [ebp - 0x40]
call fcn.00437630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004383a0
push 0x49a1f0
lea ecx, [ebp - 0x40]
call fcn.00437630
push str.vmusb.inf
lea ecx, [ebp - 0x40]
call fcn.00437630
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.VNL_InstallVmusb:_installing_USB_inf:__S
push 2
call fcn.00446b80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x5006
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00436170
add esp, 0x14
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x439258
push str.VNL_InstallVmusb:_failed_to_install_USB_inf
push 1
call fcn.00446b80
add esp, 8
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x439266
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x439274
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.00446aa0
mov esi, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4392ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4392b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43933f
push edx
push ecx
call fcn.0047de50
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43930b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439301
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43933f
push edx
push ecx
call fcn.0047de50
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, esi
mov dword [ebp - 0x2c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret 4
call fcn.004052e8
int3