Function at 0x4588b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4b77
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x104], esi
mov eax, dword [0x556b60]
mov dword [ebp - 0x108], 0
test al, 1
jne 0x45892a
or eax, 1
mov dword [0x556b78], 7
mov dword [0x556b60], eax
xor eax, eax
push 0x4f5b10
mov dword [0x556b74], 0
mov word [0x556b64], ax
call fcn.00465946
add esp, 4
cmp dword [0x556b74], 0
jne 0x458cb1
lea ecx, [ebp - 0xdc]
call fcn.00459280
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0
call fcn.004592a0
mov edi, eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00459170
mov ebx, eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.004591b0
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00458ef0
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00458d60
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4589be
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4589e1
lea ecx, [ebp - 0x4c]
push ecx
call eax
jmp 0x4589eb
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x4c]
cmp ax, 9
je 0x4589fb
cmp ax, 6
jne 0x458a02
mov edx, 0x40
jmp 0x458a07
mov edx, 0x20
cmp dword [edi + 0x14], 8
jb 0x458a0f
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x458a17
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x14], 8
jb 0x458a25
mov eax, dword [eax]
mov ecx, dword [ebp - 0xfc]
cmp dword [ecx + 0x14], 8
jb 0x458a39
mov ecx, dword [ecx]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0x100]
cmp dword [ecx + 0x14], 8
jb 0x458a4d
mov ecx, dword [ecx]
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0xf8]
push ecx
push edx
push edi
push ebx
push eax
push ecx
call fcn.00458d00
add esp, 4
push eax
mov eax, dword [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x100]
push eax
push 0x533648
push 0x533650
push 0x533658
push 0x53365c
push 0x533664
lea eax, [ebp - 0xf4]
push str.PR______ls___________CO______ls___________QV______ls___________PL______ls___________PB______ls___________PPVN____ls___________COVC____ls___________CHID____d____________RL______ls___________MO______ls___________VE______ls___________BIT_____d____________OS______ls
push eax
call fcn.00437b70
add esp, 0x3c
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x458ab2
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x458adb
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x80]
cmp eax, 8
jb 0x458b0a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x98]
cmp eax, 8
jb 0x458b42
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
mov eax, dword [ebp - 0xb0]
cmp eax, 8
jb 0x458b7d
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], 0
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xc8]
cmp eax, 8
jb 0x458bbc
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0xc8], 7
push eax
push 0x52cac0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.00415df0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x52eb90
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00415df0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xf4]
call fcn.0041c250
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x458c4a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
xor eax, eax
mov byte [ebp - 4], 0xc
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x458c77
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xf4]
mov ecx, 0x556b64
push eax
call fcn.004159f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe0]
cmp eax, 8
jb 0x458cb1
inc eax
lea ecx, [ebp - 0xf4]
push eax
push dword [ebp - 0xf4]
call fcn.00418d80
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x556b64
mov word [esi], ax
call fcn.004159f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret