Function at 0x1000cb80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100437a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x100c7140]
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 edi, [eax + 8]
mov eax, dword [edi]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1000cd1b
mov esi, dword [ebp + 0x10]
nop dword [eax + eax]
mov eax, dword [eax]
cmp dword [eax + 4], esi
jb 0x1000cd07
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000cd07
nop dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edi
cmp eax, esi
jb 0x1000ccf4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x1000cc39
mov edx, dword [eax]
mov ecx, edi
mov esi, edx
sub ecx, edx
sub esi, edi
cmp edi, edx
cmovbe ecx, esi
cmp ecx, dword [ebp + 0x14]
ja 0x1000ccf1
mov ecx, dword [ebp + 0xc]
add eax, 4
cmp eax, dword [ecx + 4]
jne 0x1000cc13
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
lea eax, [edi + esi]
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x30]
call fcn.10009da0
test al, al
je 0x1000cef5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], esi
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov dword [ebp - 0x38], edi
call fcn.1000a390
mov byte [esi + 0x10], 1
mov ecx, dword [ebp - 0x40]
or esi, 0xffffffff
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1000cd82
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000cd82
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1000cd82
push edx
push eax
call fcn.1000c760
mov ecx, dword [ebp - 0x3c]
xor edi, edi
test ecx, ecx
je 0x1000cd85
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1000cd85
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x1000cd85
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000cd85
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1000cbf0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, ecx
jne 0x1000cbd0
mov edi, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x64]
push eax
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x48]
dec esi
push dword [ebp + 0x14]
add esi, eax
dec eax
not eax
and esi, eax
lea eax, [ebp - 0x30]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
push eax
call fcn.1000b510
add esp, 0x10
cmp byte [ebp - 0x2c], 0
jne 0x1000cdb8
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 0x30]
mov byte [ecx], al
mov eax, ecx
mov byte [ecx + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1000cedf
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1000cedf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1000cedf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x1000cedf
push 0xc
call fcn.1002307e
add esp, 4
test eax, eax
je 0x1000cddc
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1000cdde
xor eax, eax
mov dword [ebp + 0x14], eax
mov ecx, edi
lea eax, [ebp + 0x14]
push eax
call fcn.1000a360
mov ecx, dword [ebp - 0x30]
mov edi, eax
push 0xc
mov eax, dword [edi]
mov dword [eax], ecx
mov eax, dword [edi]
mov dword [eax + 4], esi
call fcn.1002307e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000ce20
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
jmp 0x1000ce22
xor ecx, ecx
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov dword [eax + 8], ecx
test esi, esi
je 0x1000ce47
mov eax, dword [esi]
test eax, eax
je 0x1000ce3c
push eax
mov ecx, esi
call fcn.1000af60
push 0xc
push esi
call fcn.100230ae
add esp, 8
mov eax, dword [edi]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x18]
mov eax, dword [eax + 8]
add ecx, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
add ecx, esi
mov eax, dword [eax + 8]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x30]
call fcn.10009da0
test al, al
je 0x1000cef5
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x38], esi
call fcn.1000a390
mov byte [edi + 0x10], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.1000c6f0
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1000cedf
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1000cedf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1000cedf
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.1000b350
int3