Function at 0x438b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490306
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4e7018]
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 eax, dword [ebp + 0x10]
mov esi, 0x5000
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2d0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], eax
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], eax
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 7
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], eax
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], eax
mov ecx, 0x4b898c
mov dword [ebp - 0x2b8], eax
mov eax, edi
movups xmmword [ebp - 0x2cc], xmm0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438c79
test dx, dx
je 0x438c75
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438c79
add eax, 4
add ecx, 4
test dx, dx
jne 0x438c53
xor eax, eax
jmp 0x438c7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438c93
lea eax, [ebp - 0x2b4]
push eax
call fcn.004412c0
jmp 0x438dbf
mov ecx, 0x4b9fb4
mov eax, edi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438cc6
test dx, dx
je 0x438cc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438cc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x438ca0
xor eax, eax
jmp 0x438ccb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438ce0
lea eax, [ebp - 0x2b4]
push eax
call fcn.00440550
jmp 0x438dbf
mov ecx, str.VMnetuserif
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438d0d
test dx, dx
je 0x438d09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438d0d
add eax, 4
add ecx, 4
test dx, dx
jne 0x438ce7
xor eax, eax
jmp 0x438d12
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438d27
lea eax, [ebp - 0x2b4]
push eax
call fcn.004402b0
jmp 0x438dbf
mov ecx, 0x4b90b8
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438d56
test dx, dx
je 0x438d52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438d56
add eax, 4
add ecx, 4
test dx, dx
jne 0x438d30
xor eax, eax
jmp 0x438d5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438d72
lea eax, [ebp - 0x2b4]
push eax
call fcn.0043ff70
mov esi, 0x5006
jmp 0x438dbf
mov ecx, 0x4b92b4
mov eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438da6
test dx, dx
je 0x438da2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438da6
add eax, 4
add ecx, 4
test dx, dx
jne 0x438d80
xor eax, eax
jmp 0x438dab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x439205
lea eax, [ebp - 0x2b4]
push eax
call fcn.00440110
add esp, 4
test eax, eax
js 0x439224
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0040f160
add esp, 0xc
mov dword [ebp - 0x238], 0x105
sub esi, 0x5000
je 0x438e27
sub esi, 6
jne 0x438e52
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004148d0
test eax, eax
jne 0x438e52
push str.CreateLegacyInfDriverManager:_using_generic_path_for_installing_USB
push 2
call fcn.004439a0
add esp, 8
mov dword [ebp - 0x238], 0x105
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004145c0
test eax, eax
jne 0x438e52
push str.CreateLegacyInfDriverManager:_failed_to_get_generic_product_install_path
push 1
call fcn.004439a0
add esp, 8
jmp 0x439235
lea eax, [ebp - 0x2bc]
push eax
push 0
push 0
push 0x4b6554
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x438e8a
push eax
push str.CreateLegacyInfDriverManager:_could_not_get_Program_Files_CommonFiles_folder_0x_08x
push 1
call fcn.004439a0
add esp, 0xc
mov dword [ebp - 0x2bc], 0
jmp 0x439235
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0
push 0x4b6544
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x438ec2
push eax
push str.CreateLegacyInfDriverManager:_could_not_get_Program_Files_x86_CommonFiles_folder_0x_08x
push 1
call fcn.004439a0
add esp, 0xc
mov dword [ebp - 0x2b8], 0
jmp 0x439235
lea eax, [ebp - 0x280]
push ebx
push eax
call fcn.00435ce0
add esp, 8
lea ecx, [ebp - 0x280]
push 0x492f68
call fcn.00439410
mov esi, eax
lea ecx, [ebp - 0x280]
push esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.00439c80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x268]
push eax
call fcn.00438ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.00433280
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x280]
call fcn.00439d60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x298]
push eax
call fcn.00438ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.00433280
cmp dword [ebp - 0x258], 0
je 0x439235
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.0040ca46
xor ebx, ebx
add esp, 4
cmp eax, 3
mov ecx, str.VMnetuserif
mov eax, edi
setl bl
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438faa
test dx, dx
je 0x438fa6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438faa
add eax, 4
add ecx, 4
test dx, dx
jne 0x438f84
xor eax, eax
jmp 0x438faf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438fce
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00435e50
add esp, 8
jmp 0x43912e
push dword [ebp - 0x2bc]
lea eax, [ebp - 0x234]
push eax
call fcn.00435e50
lea eax, [ebp - 0x234]
push str.VMwareDrivers_
push eax
call fcn.00435ac0
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.00435ac0
lea eax, [ebp - 0x234]
push 0x492de4
push eax
call fcn.00435ac0
add esp, 0x20
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0x234]
push 0xffffffffffffffff
push 0
push eax
call fcn.00434690
lea eax, [ebp - 0x234]
push 0x492de4
push eax
call fcn.00435ac0
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x234]
add esp, 8
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.0043fc20
test eax, eax
jne 0x43912e
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00432ce0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x234]
push dword [ebp - 0x2b8]
push eax
call fcn.00435e50
lea eax, [ebp - 0x234]
push str.VMwareDrivers_
push eax
call fcn.00435ac0
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.00435ac0
lea eax, [ebp - 0x234]
push 0x492de4
push eax
call fcn.00435ac0
add esp, 0x20
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0x234]
push 0xffffffffffffffff
push 0
push eax
call fcn.00434690
lea eax, [ebp - 0x234]
push 0x492de4
push eax
call fcn.00435ac0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x2b0]
cmovae ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x29c], 8
push ecx
cmovae eax, dword [ebp - 0x2b0]
push eax
push edi
push str.CreateLegacyInfDriverManager:_INFO:_Didnt_find_Inf_for__S_at__S__trying__S_dir_instead
push 2
call fcn.004439a0
add esp, 0x1c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.00433280
mov eax, 0x4b90b8
mov cx, word [edi]
cmp cx, word [eax]
jne 0x439159
test cx, cx
je 0x439155
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x439159
add edi, 4
add eax, 4
test cx, cx
jne 0x439133
xor eax, eax
jmp 0x43915e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43918a
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x250]
push eax
call fcn.00435e50
lea eax, [ebp - 0x250]
push str.VMwareUSBx86
push eax
call fcn.00435ac0
add esp, 0x10
jmp 0x4391a0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00435e50
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x2c0], ebx
lea edx, [ebp - 0x2cc]
cmovae eax, dword [ebp - 0x234]
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2b4]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x492480]
call esi
jmp 0x439235
push edi
push str.CreateLegacyInfDriverManager:_ERROR:_Unrecognized_DriverId__S
push 1
call fcn.004439a0
add esp, 0xc
mov dword [ebp - 0x2b4], 0
mov eax, 0x80070057
push eax
push edi
push str.CreateLegacyInfDriverManager:_ERROR:_Failed_creating_DriverManager_for_ID__S__08x
push 1
call fcn.004439a0
add esp, 0x10
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x439284
mov eax, dword [esi]
push esi
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x492480]
call esi
cmp eax, 1
mov ecx, 0x8007139f
cmove eax, ecx
test eax, eax
jns 0x43927e
mov eax, dword [ebp - 0x2b4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x492480]
call esi
xor esi, esi
mov dword [ebp - 0x2b4], esi
jmp 0x439284
mov esi, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x43929b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x4392b2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x2b4]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x26c]
cmp eax, 8
jb 0x4392d4
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x439313
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], 0
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x439352
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x439391
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4393d3
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, esi
mov dword [ebp - 0x224], 0
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.00401bf1
mov esp, ebp
pop ebp
ret