Function at 0x419d40
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 0x4dedcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x51c100]
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 - 0x168], edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x174], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebx + 8]
mov dword [edi + 0x14], 0
mov word [ebx + 8], ax
movups xmmword [edi], xmm0
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 - 0x15c], esi
push 0x40
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004a05c1
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.0049eb14
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 - 0x15c], esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push str.2.30
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a4a0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.statver
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a4a0
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00423380
mov ecx, edi
call fcn.00423430
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 eax, [ebp - 0x170]
push eax
call fcn.0048bbd0
mov edi, dword [ebp - 0x16c]
test edi, edi
je 0x419ef2
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x419ef2
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x419ef2
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x170]
lea edi, [ebp - 0x158]
mov ecx, 0x47
mov eax, 0x4fee04
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x3e], 1
mov ecx, 0x4fbcd4
cmove eax, ecx
cmp word [ebp - 0x38], 9
mov dword [ebp - 0x164], eax
mov ecx, 0x4fee18
mov eax, str.AMD64
cmovne eax, ecx
movzx ecx, word [ebp - 0x42]
mov dword [ebp - 0x160], eax
sub esp, 0x18
movzx eax, word [ebp - 0x44]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x16c], esp
mov dword [ebp - 0x15c], ecx
lea eax, [ebp - 0x164]
mov ecx, esp
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00425090
add esp, 4
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 2
movups xmmword [ecx], xmm0
push 0x4fee50
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a4a0
mov ecx, dword [ebp - 0x168]
mov byte [ebp - 4], 4
call fcn.00423380
lea ecx, [ebx + 8]
call fcn.0040a590
mov eax, dword [ebp - 0x168]
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.004a057b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18