Function at 0x43000d
Capabilities:
Get common file path

Disassembly:
push 0x89c
mov eax, 0x4a0770
call fcn.0045201c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x89c], eax
mov bl, 1
push 0x400
lea eax, [ebp - 0x810]
movlpd qword [ebp - 0x8a4], xmm0
push eax
mov byte [ebp - 0x889], 0
mov byte [ebp - 0x88a], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x43006a
push str.updtDispDevEnumClass::GetDriverFileInfocannot_get_the_system_dir
push 1
call fcn.00401235
pop ecx
pop ecx
xor al, al
jmp 0x4302ff
call fcn.0043129b
and dword [ebp - 0x898], 0
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4302f4
mov edx, dword [ebp - 0x8a0]
mov esi, edi
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - 0x894], edx
mov dword [ebp - 0x890], ecx
push str._impure_
push eax
call fcn.0047b2d0
pop ecx
pop ecx
test eax, eax
jne 0x4300b9
mov byte [ebp - 0x889], 1
jmp 0x4302d4
push dword [esi]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x410]
push str._s_s
push eax
call fcn.00431978
lea eax, [ebp - 0x840]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x410]
movlpd qword [ebp - 0x820], xmm0
push eax
call fcn.0047bc9b
add esp, 0x18
test eax, eax
jne 0x4302d4
push 0x48
call fcn.00451ccc
mov ebx, eax
pop ecx
mov ecx, ebx
mov dword [ebp - 0x8a0], ebx
call fcn.00401a80
and dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
call fcn.00401a80
mov byte [ebp - 4], 1
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.00401a80
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x820]
push eax
mov dword [ebp - 0x8a0], ebx
call fcn.0047bca6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x858]
call fcn.0040a53a
mov dword [ebp - 4], 3
mov ecx, esi
push eax
call fcn.0040165f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.004020b0
mov ecx, esi
call fcn.00401634
mov ecx, esi
mov dword [ebp - 0x8a8], eax
call fcn.00401ffa
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x43018d
mov ecx, dword [eax]
mov edx, dword [ebp - 0x8a8]
push 0xa
pop esi
cmp si, word [ecx + edx*2 - 2]
jne 0x4301ac
cmp dword [eax + 0x14], 8
jb 0x4301a5
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + edx*2 - 2], cx
cmp byte [ebp - 0x889], 0
jne 0x43020a
mov ecx, dword [ebp - 0x820]
mov eax, ecx
mov edx, dword [ebp - 0x81c]
or eax, edx
je 0x43020a
mov eax, dword [ebp - 0x890]
mov esi, dword [ebp - 0x894]
or eax, esi
jne 0x4301e5
mov dword [ebp - 0x890], ecx
mov dword [ebp - 0x894], edx
jmp 0x43020a
sub ecx, dword [ebp - 0x890]
sbb edx, esi
push edx
push ecx
call fcn.0047b2ab
pop ecx
pop ecx
test edx, edx
jl 0x43020a
jg 0x430203
cmp eax, 0xb4
jbe 0x43020a
mov byte [ebp - 0x88a], 0
lea esi, [ebx + 0x18]
push 0x4b4498
mov ecx, esi
call fcn.004016ad
push esi
lea eax, [ebp - 0x410]
push eax
call fcn.0042ff58
test al, al
jne 0x430238
push str.GetBasicFileVersion_failed
push 2
call fcn.00401235
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push 0x5c
push eax
call fcn.0046c850
pop ecx
pop ecx
test eax, eax
jne 0x430278
lea edx, [ebp - 0x410]
lea ecx, [ebp - 0x870]
call fcn.0040a53a
mov dword [ebp - 4], 4
mov ecx, ebx
push eax
call fcn.0040165f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x870]
jmp 0x43029f
lea edx, [eax + 1]
lea ecx, [ebp - 0x888]
call fcn.0040a53a
mov dword [ebp - 4], 5
mov ecx, ebx
push eax
call fcn.0040165f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.004020b0
mov esi, dword [ebp - 0x89c]
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x4c], eax
je 0x4302c4
push eax
push 4
call fcn.00402248
pop ecx
pop ecx
mov dword [eax], ebx
add dword [esi + 0x48], 4
jmp 0x4302d4
lea ecx, [ebp - 0x8a0]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.0041443e
mov eax, dword [ebp - 0x898]
inc eax
mov dword [ebp - 0x898], eax
lea esi, [edi + eax*4]
mov eax, dword [esi]
test eax, eax
jne 0x43009c
mov bl, byte [ebp - 0x88a]
mov eax, dword [ebp - 0x89c]
mov byte [eax + 0x31], bl
mov al, 1
call fcn.00451fc5
ret 4