Function at 0x10005ce0
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 0x1002d380
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0xc]
lea esi, [eax + 8]
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x10005e84
mov esi, dword [ebx + 0x10]
nop dword [eax]
mov eax, dword [eax]
cmp dword [eax + 4], esi
jb 0x10005e70
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10005e70
nop dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edi
cmp eax, esi
jb 0x10005e5d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x10005da9
mov esi, dword [eax]
mov ecx, edi
mov edx, esi
sub ecx, esi
sub edx, edi
cmp edi, esi
cmovbe ecx, edx
cmp ecx, dword [ebx + 0x14]
ja 0x10005e5a
mov ecx, dword [ebx + 0xc]
add eax, 4
cmp eax, dword [ecx + 4]
jne 0x10005d83
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [edi + esi]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10007f10
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebx + 8]
mov ecx, esi
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], edi
call fcn.10005580
mov byte [esi + 0x10], 1
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x10005edc
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10005edc
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x10005edc
push edx
push eax
call fcn.10005b50
mov ecx, dword [ebp - 0x34]
xor edi, edi
test ecx, ecx
je 0x10005edf
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10005edf
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x10005edf
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10005edf
mov esi, dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10005d60
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jne 0x10005d40
mov esi, dword [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x6c]
push eax
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x50]
dec edi
push dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
add edi, eax
dec eax
not eax
and edi, eax
push edi
mov dword [ebp - 0x20], edi
call fcn.10006060
add esp, 8
cmp byte [ebp - 0x3c], 0
jne 0x10005f12
mov ecx, dword [ebx + 8]
mov al, byte [ebp - 0x40]
mov byte [ecx], al
mov eax, ecx
mov byte [ecx + 0x10], 0
jmp 0x1000603e
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1000603b
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1000603b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1000603b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x1000603b
push 0xc
call fcn.10018558
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10005f4b
mov dword [ecx], eax
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 4]
mov dword [ecx + 0xc], eax
jmp 0x10005f59
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.10008180
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [ebp - 0x40]
push 0xc
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax + 4], edi
call fcn.10018558
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [esi]
mov edi, dword [ecx + 8]
mov dword [ecx + 8], eax
test edi, edi
je 0x10005fa6
mov eax, dword [edi]
test eax, eax
je 0x10005f9b
push eax
call fcn.10007f70
push 0xc
push edi
call fcn.100188a7
add esp, 8
mov eax, dword [esi]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov eax, dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
add ecx, edi
mov eax, dword [eax + 8]
mov dword [eax + 8], ecx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10007f10
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], edi
mov edi, dword [ebx + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10005580
mov byte [edi + 0x10], 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.100056f0
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x1000603b
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1000603b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1000603b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10