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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b792c
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x63506c]
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 0x4270f5
lea ecx, [ebp - 0x2fc]
push ecx
call eax
jmp 0x427102
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x2fc]
cmp ax, 9
je 0x427145
cmp ax, 6
je 0x427145
add esi, 0x478
cmp dword [esi + 0x14], 8
jb 0x427125
mov eax, dword [esi]
jmp 0x427127
mov eax, esi
push str.ImageProcessing.exe
push eax
lea eax, [ebp - 0x230]
push 0x61ca40
push eax
call fcn.00434da0
add esp, 0x10
mov edi, eax
jmp 0x427173
add esi, 0x478
cmp dword [esi + 0x14], 8
jb 0x427155
mov eax, dword [esi]
jmp 0x427157
mov eax, esi
push str.ImageProcessing.exe
push eax
lea eax, [ebp - 0x230]
push 0x61ca40
push eax
call fcn.00434da0
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x248]
cmp eax, edi
je 0x4271c0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x42719b
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 0x4271e2
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
lea ecx, [ebp - 0x31c]
call fcn.00436820
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4271f9
mov eax, dword [eax]
push 0x61c8ac
push eax
lea eax, [ebp - 0x278]
push str._s_s_
push eax
call fcn.00434da0
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x308]
cmp eax, 8
jb 0x427235
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.00436690
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x427269
mov eax, dword [eax]
push 0x61cdb0
push eax
lea eax, [ebp - 0x2d8]
push str._s_s
push eax
call fcn.00434da0
add esp, 0x10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4272a5
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.00436820
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4272d9
mov eax, dword [eax]
push 0x61cdd4
push eax
lea eax, [ebp - 0x2c0]
push str._s_s
push eax
call fcn.00434da0
add esp, 0x10
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x308]
cmp eax, 8
jb 0x427315
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.00436820
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x427349
mov eax, dword [eax]
push 0x61cdfc
push eax
lea eax, [ebp - 0x2a8]
push str._s_s
push eax
call fcn.00434da0
add esp, 0x10
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x427385
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 0x4273aa
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x290]
push str._suninst.exe
push eax
call fcn.00434da0
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 0x61ce1c
push eax
call fcn.00434da0
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 0x427523
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0x61cdb0
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push str._s_s
push eax
call fcn.00434da0
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 0x427496
mov eax, dword [ecx]
jmp 0x427498
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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 0x4274d7
mov eax, dword [ecx]
jmp 0x4274d9
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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.004278a0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x427523
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 0x427554
mov eax, dword [ecx]
jmp 0x427556
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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 0x427595
mov eax, dword [ecx]
jmp 0x427597
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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.004278a0
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 0x4275f0
mov eax, dword [ecx]
jmp 0x4275f2
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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 0x427631
mov eax, dword [ecx]
jmp 0x427633
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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.004278a0
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 0x42768c
mov eax, dword [ecx]
jmp 0x42768e
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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 0x4276cd
mov eax, dword [ecx]
jmp 0x4276cf
mov eax, ecx
xor edx, edx
push edx
push 0x61c740
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.004278a0
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x427715
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 0x427750
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 0x42778b
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 0x4277c6
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 0x427801
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 0x42783c
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 0x427877
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.00572b23
mov esp, ebp
pop ebp
ret