Function at 0x426ed0
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b754c
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
push str.GetNativeSystemInfo
push str.kernel32
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426f45
lea ecx, [ebp - 0x2fc]
push ecx
call eax
jmp 0x426f52
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x2fc]
cmp ax, 9
je 0x426f95
cmp ax, 6
je 0x426f95
add esi, 0x478
cmp dword [esi + 0x14], 8
jb 0x426f75
mov eax, dword [esi]
jmp 0x426f77
mov eax, esi
push str.DriverGrand.exe
push eax
lea eax, [ebp - 0x230]
push 0x61ba20
push eax
call fcn.00434960
add esp, 0x10
mov edi, eax
jmp 0x426fc3
add esi, 0x478
cmp dword [esi + 0x14], 8
jb 0x426fa5
mov eax, dword [esi]
jmp 0x426fa7
mov eax, esi
push str.DriverGrand.exe
push eax
lea eax, [ebp - 0x230]
push 0x61ba20
push eax
call fcn.00434960
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x248]
cmp eax, edi
je 0x427010
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x426feb
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x234], 7
push edi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
call fcn.004230a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x427032
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
lea ecx, [ebp - 0x31c]
call fcn.004363e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x427049
mov eax, dword [eax]
push 0x61b8b0
push eax
lea eax, [ebp - 0x278]
push str._s_s_
push eax
call fcn.00434960
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x308]
cmp eax, 8
jb 0x427085
inc eax
lea ecx, [ebp - 0x31c]
push eax
push dword [ebp - 0x31c]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x308], 7
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x30c], 0
mov word [ebp - 0x31c], ax
call fcn.00436250
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4270b9
mov eax, dword [eax]
push 0x61bd90
push eax
lea eax, [ebp - 0x2d8]
push str._s_s
push eax
call fcn.00434960
add esp, 0x10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4270f5
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004363e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x427129
mov eax, dword [eax]
push 0x61bdb8
push eax
lea eax, [ebp - 0x2c0]
push str._s_s
push eax
call fcn.00434960
add esp, 0x10
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x308]
cmp eax, 8
jb 0x427165
inc eax
lea ecx, [ebp - 0x31c]
push eax
push dword [ebp - 0x31c]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x308], 7
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x30c], 0
mov word [ebp - 0x31c], ax
call fcn.004363e0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x427199
mov eax, dword [eax]
push 0x61bde8
push eax
lea eax, [ebp - 0x2a8]
push str._s_s
push eax
call fcn.00434960
add esp, 0x10
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4271d5
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x4271fa
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x290]
push str._suninst.exe
push eax
call fcn.00434960
add esp, 0xc
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
cmovae eax, dword [ebp - 0x278]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push 0x61be0c
push eax
call fcn.00434960
add esp, 0xc
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
jne 0x427373
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0x61bd90
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push str._s_s
push eax
call fcn.00434960
sub esp, 8
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x300], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4272e6
mov eax, dword [ecx]
jmp 0x4272e8
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x427327
mov eax, dword [ecx]
jmp 0x427329
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
push ecx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004276f0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x427373
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x304], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4273a4
mov eax, dword [ecx]
jmp 0x4273a6
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4273e5
mov eax, dword [ecx]
jmp 0x4273e7
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
push ecx
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004276f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x304], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x427440
mov eax, dword [ecx]
jmp 0x427442
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x427481
mov eax, dword [ecx]
jmp 0x427483
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
push ecx
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004276f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x304], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4274dc
mov eax, dword [ecx]
jmp 0x4274de
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x42751d
mov eax, dword [ecx]
jmp 0x42751f
mov eax, ecx
xor edx, edx
push edx
push 0x61b740
mov word [eax], dx
call fcn.00423580
push ecx
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004276f0
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x427565
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x4275a0
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x280], 0
cmp eax, 8
jb 0x4275db
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x298], 0
cmp eax, 8
jb 0x427616
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2b0], 0
cmp eax, 8
jb 0x427651
inc eax
lea ecx, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2d8]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x2c8], 0
cmp eax, 8
jb 0x42768c
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x268], 0
cmp eax, 8
jb 0x4276c7
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00423720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret