Function at 0x10005260
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 0x10124917
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x19c], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1a4], 0
cmp dword [edx + 0x10], 0
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a0], eax
push edx
jne 0x100052e5
call fcn.10004ac0
jmp 0x100055c5
lea ecx, [ebp - 0x44]
call fcn.10004ac0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0x118
push eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 2
push eax
call fcn.100fe280
add esp, 0xc
mov dword [ebp - 0x198], 0x11c
lea ecx, [ebp - 0x198]
call fcn.10056590
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1a8], eax
call fcn.10056500
mov ecx, 0x40
test al, al
mov edi, 0x20
cmovne edi, ecx
lea ecx, [ebp - 0x184]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005370
sub ecx, edx
lea eax, [ebp - 0x184]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004c10
xor eax, eax
cmp dword [ebp - 0x194], 5
jne 0x100053d6
mov ecx, dword [ebp - 0x190]
cmp ecx, 2
jne 0x100053cd
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [ebp - 0x7e], 1
jne 0x100053c6
cmp word [ebp - 0x1d4], 9
jne 0x100053c6
xor eax, eax
jmp 0x100053e1
mov eax, 1
jmp 0x100053e1
cmp ecx, 1
ja 0x100053d6
xor eax, eax
jmp 0x100053e1
mov ecx, 1
cmp byte [ebp - 0x7e], cl
cmovne eax, ecx
push edi
push eax
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x19c]
xor ecx, ecx
mov dword [ebp - 0x48], 7
push str.os_ver_u._u._u._u
push eax
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x1a4], 2
call fcn.100573d0
add esp, 0x18
cmp dword [ebp - 0x1c], 0
je 0x1000546c
push 0x5f
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.10056f60
add esp, 4
lea eax, [ebp - 0x2c]
mov edx, 0x10154558
lea ecx, [ebp - 0x74]
push eax
call fcn.100058f0
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10005458
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10005850
lea ecx, [ebp - 0x74]
call fcn.10004bb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10004bb0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
call fcn.10005850
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.10004bb0
push dword [ebp - 0x1ac]
mov edx, 0x10154590
lea ecx, [ebp - 0x74]
call fcn.100058f0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100054bf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005850
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.10004bb0
push dword [ebp - 0x1b0]
mov edx, str.cid
lea ecx, [ebp - 0x74]
call fcn.100058f0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100054fb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005850
lea ecx, [ebp - 0x74]
call fcn.10004bb0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x1a0]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.10004f40
test al, al
je 0x10005573
lea eax, [ebp - 0x2c]
mov edx, str.id
push eax
lea ecx, [ebp - 0x74]
call fcn.100058f0
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1000555b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005850
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.10004bb0
push 3
push 0x101545c4
lea ecx, [ebp - 0x44]
call fcn.10005850
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x44], ax
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.10004bb0
lea ecx, [ebp - 0x44]
call fcn.10004bb0
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.100fc499
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret