Function at 0x422870
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9e54
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x505034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
xor eax, eax
movups xmm0, xmmword [ebx + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebx + 8], ax
movq xmm0, qword [ebx + 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov byte [ebp - 4], 1
lea esi, [edi + 0x18]
mov dword [ebp - 0x3c], esi
push 0x40
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00479ea3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x20]
push 2
push eax
call fcn.00477f77
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
sub esp, 0x10
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x3c], esp
xor eax, eax
push 4
push str.2.30
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00415170
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
xor eax, eax
push 7
push str.statver
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00415170
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042ae80
mov ecx, edi
call fcn.0042af60
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x38]
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea ecx, [ebp - 0x290]
call fcn.004692f0
mov esi, eax
lea edi, [ebp - 0x168]
sub esp, 0x18
mov ecx, 0x47
rep movsd dword es:[edi], dword [esi]
mov edx, esp
mov dword [ebp - 0x44], esp
mov eax, 0x4e8784
cmp byte [ebp - 0x4e], 1
mov ecx, 0x4e5e14
cmove eax, ecx
cmp word [ebp - 0x38], 9
push eax
mov ecx, 0x4e8798
mov eax, str.AMD64
cmovne eax, ecx
movzx ecx, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x54]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x15c]
push dword [ebp - 0x158]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
push str.win__d__d__d__d__d__s_s
push edx
call fcn.0041fa00
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, esp
xor eax, eax
push 2
push 0x4e87d0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00415170
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0042ae80
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x422aa4
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422a9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ac6
push edx
push ecx
call fcn.00479e95
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00479e61
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.0049b19a
int3