Function at 0x426db0
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xa4], eax
xor eax, eax
push ebp
push 0x427464
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00426af0
mov byte [0x44e119], 0
mov byte [0x44e118], 0
lea eax, [ebp - 0xe0]
xor ecx, ecx
mov edx, 0x24
call fcn.004036d8
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 0x9c
call fcn.004036d8
mov byte [ebp - 0xa9], 1
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0
mov eax, dword [ebp - 0xa4]
and byte [eax + 1], 0xfd
mov eax, dword [ebp - 0xa4]
or byte [eax + 1], 1
mov eax, dword [ebp - 0xa4]
or byte [eax + 1], 8
mov dword [ebp - 0x9c], 0x9c
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x426e8c
mov eax, dword [ebp - 0xa4]
and byte [eax + 1], 0xf7
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa9], al
mov eax, dword [0x446454]
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x426f67
lea ecx, [ebp - 0xbc]
mov eax, 0x4463e0
mov edx, 6
call fcn.0041bef0
mov eax, dword [ebp - 0xbc]
call fcn.00405290
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x426ef5
lea eax, [ebp - 0xe0]
push eax
call dword [ebp - 0xa8]
jmp 0x426f01
lea eax, [ebp - 0xe0]
push eax
call sub.kernel32.dll_GetSystemInfo
lea ecx, [ebp - 0xbc]
mov eax, 0x44641c
mov edx, 6
call fcn.0041bef0
mov eax, dword [ebp - 0xbc]
call fcn.00405290
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44e120], eax
lea ecx, [ebp - 0x134]
mov eax, 0x4464f8
mov edx, 4
call fcn.0041bef0
mov eax, dword [ebp - 0x134]
call fcn.00405290
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44e0f0], eax
jmp 0x426f73
lea eax, [ebp - 0xe0]
push eax
call sub.kernel32.dll_GetSystemInfo
cmp byte [ebp - 0xa9], 0
jne 0x426f8b
mov eax, dword [ebp - 0xa4]
or byte [eax + 1], 2
jmp case.0x427079.7
mov eax, dword [ebp - 0xa0]
call fcn.00426c64
mov eax, dword [ebp - 0xa4]
test byte [eax + 1], 8
je 0x427252
mov eax, dword [ebp - 0x8c]
sub eax, 1
jb 0x426fbf
je 0x426fcd
dec eax
je 0x427051
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 1
jmp case.0x427079.7
mov eax, dword [ebp - 0x98]
sub eax, 4
jne case.0x427079.7
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x426ff6
sub eax, 9
je 0x42701e
sub eax, 0x50
je 0x427043
jmp case.0x427079.7
mov al, byte [ebp - 0x88]
add al, 0xbe
sub al, 2
jae 0x427010
mov eax, dword [ebp - 0xa4]
mov byte [eax], 3
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 2
jmp case.0x427079.7
cmp byte [ebp - 0x88], 0x41
jne 0x427035
mov eax, dword [ebp - 0xa4]
mov byte [eax], 5
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 4
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 6
jmp case.0x427079.7
mov al, byte [ebp - 0x98]
mov byte [0x44e119], al
mov al, byte [ebp - 0x94]
mov byte [0x44e118], al
mov eax, dword [ebp - 0x98]
add eax, 0xfffffffd
cmp eax, 8
ja case.0x427079.7
jmp dword [eax*4 + 0x427080]
mov eax, dword [ebp - 0xa4]
mov byte [eax], 7
jmp case.0x427079.7
mov al, byte [ebp - 2]
dec al
je 0x4270c2
sub al, 2
je 0x4270d0
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 8
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 9
jmp case.0x427079.7
cmp word [ebp - 0xe0], 9
jne 0x4270f2
mov eax, dword [ebp - 0xa4]
or byte [eax + 1], 4
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x427107
je 0x427115
dec eax
je 0x427137
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xa
jmp case.0x427079.7
cmp byte [ebp - 2], 1
jne 0x427129
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xc
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xb
jmp case.0x427079.7
cmp word [ebp - 4], 0x8000
jne 0x42714d
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xe
jmp case.0x427079.7
cmp byte [ebp - 2], 1
jne case.0x427079.7
cmp word [ebp - 0xe0], 9
jne 0x42716f
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xd
jmp case.0x427079.7
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x427188
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0xf
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x10
jmp case.0x427079.7
cmp word [ebp - 0xe0], 9
jne 0x4271aa
mov eax, dword [ebp - 0xa4]
or byte [eax + 1], 4
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x4271c2
je 0x4271e4
dec eax
je 0x427206
dec eax
je 0x427228
jmp case.0x427079.7
cmp byte [ebp - 2], 1
jne 0x4271d6
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x11
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x12
jmp case.0x427079.7
cmp byte [ebp - 2], 1
jne 0x4271f8
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x14
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x13
jmp case.0x427079.7
cmp byte [ebp - 2], 1
jne 0x42721a
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x15
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x16
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x17
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x18
jmp case.0x427079.7
mov eax, dword [ebp - 0xa4]
mov byte [eax], 0x19
jmp case.0x427079.7
lea ecx, [ebp - 0xbc]
mov eax, 0x4463ac
mov edx, 0xd
call fcn.0041bef0
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
mov eax, dword [ebp - 0xbc]
call fcn.00405290
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne case.0x427079.7
mov dword [ebp - 0xb8], 0x50
lea eax, [ebp - 0x130]
xor ecx, ecx
mov edx, dword [ebp - 0xb8]
call fcn.004036d8
lea ecx, [ebp - 0xbc]
mov eax, 0x4463f8
mov edx, 4
call fcn.0041bef0
xor eax, eax
push ebp
push 0x427325
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
mov eax, dword [ebp - 0xbc]
call fcn.00405290
push eax
mov eax, dword [ebp - 0xb0]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 0xb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42732c
mov eax, dword [ebp - 0xb0]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42746b
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00404e08
lea eax, [ebp - 0xbc]
call fcn.00404de4
ret