Function at 0x10005290
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 0x10124637
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x10193008]
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 0x10005315
call fcn.10004af0
jmp 0x100055f5
lea ecx, [ebp - 0x44]
call fcn.10004af0
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.100fdf90
add esp, 0xc
mov dword [ebp - 0x198], 0x11c
lea ecx, [ebp - 0x198]
call fcn.100562f0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1a8], eax
call fcn.10056260
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 0x100053a0
sub ecx, edx
lea eax, [ebp - 0x184]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004c40
xor eax, eax
cmp dword [ebp - 0x194], 5
jne 0x10005406
mov ecx, dword [ebp - 0x190]
cmp ecx, 2
jne 0x100053fd
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [ebp - 0x7e], 1
jne 0x100053f6
cmp word [ebp - 0x1d4], 9
jne 0x100053f6
xor eax, eax
jmp 0x10005411
mov eax, 1
jmp 0x10005411
cmp ecx, 1
ja 0x10005406
xor eax, eax
jmp 0x10005411
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.10057130
add esp, 0x18
cmp dword [ebp - 0x1c], 0
je 0x1000549c
push 0x5f
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.10056cc0
add esp, 4
lea eax, [ebp - 0x2c]
mov edx, 0x10153558
lea ecx, [ebp - 0x74]
push eax
call fcn.10005920
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10005488
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10005880
lea ecx, [ebp - 0x74]
call fcn.10004be0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10004be0
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.10005880
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.10004be0
push dword [ebp - 0x1ac]
mov edx, 0x10153590
lea ecx, [ebp - 0x74]
call fcn.10005920
add esp, 4
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100054ef
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005880
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.10004be0
push dword [ebp - 0x1b0]
mov edx, str.cid
lea ecx, [ebp - 0x74]
call fcn.10005920
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1000552b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005880
lea ecx, [ebp - 0x74]
call fcn.10004be0
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.10004f70
test al, al
je 0x100055a3
lea eax, [ebp - 0x2c]
mov edx, str.id
push eax
lea ecx, [ebp - 0x74]
call fcn.10005920
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1000558b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10005880
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.10004be0
push 3
push 0x101535c4
lea ecx, [ebp - 0x44]
call fcn.10005880
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.10004be0
lea ecx, [ebp - 0x44]
call fcn.10004be0
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.100fc1a9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret