Function at 0x426570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4566e4]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00423dc0
add esp, 8
push 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 0x21c
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x894], 1
cmp dword [ebp + 0x10], 0
je 0x4265f6
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x21c
push ecx
call fcn.0040537c
add esp, 8
test eax, eax
je 0x4265f6
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x21c
push eax
call fcn.00405590
add esp, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x894], 0
push 0x44dfd0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042a950
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x426618
mov eax, dword [ebp - 0xc]
jmp 0x426885
push 0x44dfe0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042a950
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42663a
mov eax, dword [ebp - 0xc]
jmp 0x426885
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x860]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x850]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x224], 0
je 0x426664
cmp dword [ebp - 0x14], 0
jne 0x42667a
mov edx, dword [ebp + 0xc]
push edx
call fcn.00425c60
add esp, 4
mov eax, 0x3eb
jmp 0x426885
push 0x44dff4
push 0x44e010
mov eax, dword [ebp - 0x224]
push eax
call fcn.0042a680
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4266c7
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x14
push edx
call fcn.00405590
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0040564f
add esp, 4
mov edx, dword [ebp + 0xc]
add edx, 0x88c
push edx
push str.CurrentBuildNumber
push str.MicrosoftWindows_NTCurrentVersion
mov eax, dword [ebp - 0x224]
push eax
call fcn.0042a6f0
add esp, 0x10
test eax, eax
je 0x4266fb
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x88c], 0xa28
lea edx, [ebp - 0x10]
push edx
mov eax, dword [0x45a5e8]
push eax
push 0
push str.WoW6432Node
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426731
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x895], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push str.Default
push str.Select
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042a6f0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4267a0
mov eax, dword [ebp - 8]
push eax
push str.ControlSet_03u
lea ecx, [ebp - 0x220]
push ecx
call fcn.004054ca
add esp, 0xc
mov edx, dword [ebp + 0xc]
add edx, 0x864
push edx
mov eax, dword [0x45a5e8]
push eax
push 0
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4267a0
mov eax, dword [ebp - 0xc]
jmp 0x426885
push str.ComputerName
push str.ControlComputerNameComputerName
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x864]
push ecx
call fcn.0042a680
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4267fe
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x424
push eax
call fcn.00405590
add esp, 8
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.0040564f
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call fcn.004302e0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x426818
mov eax, dword [ebp - 0xc]
jmp 0x426885
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004262c0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x426832
mov eax, dword [ebp - 0xc]
jmp 0x426885
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x864]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x860]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004251b0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x426864
mov eax, dword [ebp - 0xc]
jmp 0x426885
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00426380
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x426882
mov eax, dword [ebp - 0xc]
jmp 0x426885
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00403b8c
mov esp, ebp
pop ebp
ret