Function at 0x1000c6b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024180
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x60], ebx
movlpd qword [ebp - 0x34], xmm0
test edi, edi
jne 0x1000c6f8
mov dword [ebp - 0x18], 0xffffffff
jmp 0x1000c6fd
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x1c], 0
jne 0x1000c90b
cmp dword [ebp - 0x20], 1
jne 0x1000c90b
mov eax, dword [0x10033c90]
mov edx, dword [0x10033c94]
test eax, eax
jne 0x1000c75a
test edx, edx
jne 0x1000c75a
call fcn.1000a1e0
mov dword [0x10033c90], eax
mov dword [0x10033c94], edx
push edx
push eax
mov ecx, str.LdrLoadDll
call fcn.1000a5d0
mov ecx, dword [ebx + 0x10]
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
lea esi, [ecx + ecx]
mov ecx, esi
and ecx, 7
je 0x1000c785
mov eax, 8
sub eax, ecx
add esi, eax
push 4
push 0x3000
lea eax, [esi + 0x18]
mov ecx, edi
push eax
sub esp, 8
call fcn.1000b150
mov ecx, eax
mov dword [ebp - 0x2c], eax
or ecx, edx
mov dword [ebp - 0x28], edx
jne 0x1000c7af
xor eax, eax
xor edx, edx
jmp 0x1000ca17
push ecx
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
call fcn.10005e70
push eax
push edx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.1000b400
test al, al
je 0x1000c8f1
mov eax, dword [ebp - 0x60]
xor ebx, ebx
add esi, dword [ebp - 0x2c]
push ecx
adc ebx, dword [ebp - 0x28]
mov ecx, edi
mov eax, dword [eax + 0x10]
add eax, eax
push 2
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
call fcn.1000b400
test al, al
je 0x1000c8f1
push ecx
push 2
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
add ecx, 2
mov eax, ebx
adc eax, 0
push eax
push ecx
mov ecx, edi
call fcn.1000b400
test al, al
je 0x1000c8f1
push ecx
push 8
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
add ecx, 8
mov eax, ebx
adc eax, 0
push eax
push ecx
mov ecx, edi
call fcn.1000b400
test al, al
je 0x1000c8f1
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x3c]
push dword [ebp - 0x60]
mov dword [ebp - 0x4c], esi
lea ecx, [ebp - 0x6c]
add esi, 0x10
mov dword [ebp - 0x48], ebx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x5c]
movlpd qword [ebp - 0x5c], xmm0
adc ebx, 0
movlpd qword [ebp - 0x54], xmm0
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.100119b0
push 0x40
push 0x1000
push 0x1000
sub esp, 8
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.1000b150
mov esi, eax
mov ebx, edx
mov ecx, esi
or ecx, ebx
je 0x1000c8d4
push ecx
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
push esi
call fcn.1000b7e0
sub esp, 8
mov ecx, edi
push ebx
push esi
call fcn.1000b230
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1000c8f1
mov eax, dword [ebp - 0x64]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.100100f0
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov edx, dword [ebp - 0x28]
or eax, edx
je 0x1000ca11
sub esp, 8
push edx
push ecx
jmp 0x1000ca0a
mov eax, dword [ebx + 0x10]
mov ecx, edi
push 4
push 0x3000
lea eax, [eax*2 + 2]
push eax
sub esp, 8
mov dword [ebp - 0x60], eax
call fcn.1000b150
mov esi, eax
mov dword [ebp - 0x18], edx
mov ecx, esi
or ecx, edx
je 0x1000c7a6
push ecx
push dword [ebp - 0x60]
mov ecx, ebx
call fcn.10005e70
push eax
push edx
push esi
mov ecx, edi
call fcn.1000b400
mov ebx, dword [ebp - 0x18]
test al, al
je 0x1000ca05
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x6c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], esi
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], ebx
push eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.100119b0
push 0x40
push 0x1000
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x1000
cdq
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x60], edx
call fcn.1000b150
mov ecx, eax
mov dword [ebp - 0x18], eax
or ecx, edx
mov dword [ebp - 0x1c], edx
je 0x1000c9e8
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x20]
push edx
push eax
call fcn.1000b7e0
sub esp, 8
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.1000b230
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1000ca05
mov eax, dword [ebp - 0x64]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.100100f0
sub esp, 8
push ebx
push esi
mov ecx, edi
call fcn.1000b230
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100127b8
mov esp, ebp
pop ebp
ret 4