Function at 0x1008c120
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc6fb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
call fcn.10047520
mov edi, eax
test esi, esi
jne 0x1008c16e
mov al, 1
jmp 0x1008c47b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0x10011148
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x10011148
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x24]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
je 0x1008c437
push 1
push dword [ebp + 0x1c]
push esi
push dword [ebp - 0x64]
call fcn.1008b9a0
xor cl, cl
mov dword [ebp - 0x90], eax
add esp, 0x10
mov byte [ebp - 0x5d], cl
xorps xmm0, xmm0
mov esi, dword [eax]
movlpd qword [ebp - 0x84], xmm0
cmp esi, dword [eax + 4]
je 0x1008c437
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
movzx edx, word [esi]
mov edi, dword [esi]
mov ax, dx
mov ecx, dword [esi + 4]
and edx, 0xfff
shr ax, 0xc
movzx eax, ax
mov dword [ebp - 0x8c], eax
mov eax, edx
shrd edi, ecx, 4
cdq
mov ecx, 0
and edi, 0xfffff000
add eax, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x68]
adc edx, ecx
mov dword [ebp - 0x88], edx
cmp edi, eax
jne 0x1008c282
cmp ecx, dword [ebp - 0x6c]
je 0x1008c317
lea ecx, [ebp - 0x24]
call fcn.10059eb0
mov dword [ebp - 0x68], edi
mov edi, dword [0x1022f8c8]
mov dword [ebp - 0x6c], 0
test edi, edi
jne 0x1008c302
push 0xc8
call fcn.1018d216
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x1008c2fa
push 0xc8
push 0
push edi
call fcn.101a4190
mov dword [edi], 0x10010cb4
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x10010c38
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x1008c2fc
xor edi, edi
mov dword [0x1022f8c8], edi
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x70]
add eax, dword [ebp - 0x64]
push eax
call fcn.10059e50
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
add ecx, eax
mov edi, dword [ebp - 0x88]
mov eax, 0
adc eax, dword [ebp - 0x6c]
add edx, 4
adc edi, 0
cmp edi, eax
jb 0x1008c3cc
ja 0x1008c345
cmp edx, ecx
jbe 0x1008c3cc
mov edi, dword [0x1022f8c8]
test edi, edi
jne 0x1008c3b3
push 0xc8
call fcn.1018d216
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x1008c3ab
push 0xc8
push 0
push edi
call fcn.101a4190
mov dword [edi], 0x10010cb4
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x10010c38
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x1008c3ad
xor edi, edi
mov dword [0x1022f8c8], edi
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x70]
add eax, dword [ebp - 0x64]
push ecx
add eax, ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.10059e50
mov byte [ebp - 0x5d], 1
mov eax, dword [ebp - 0x8c]
movzx eax, ax
cmp eax, 0xa
ja case.0x1008c3e5.5
movzx eax, byte [eax + 0x1008c5a0]
jmp dword [eax*4 + 0x1008c590]
call fcn.10047520
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x74]
add dword [eax], ecx
jmp case.0x1008c3e5.0
call fcn.10047520
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x74]
add dword [eax], ecx
adc dword [eax + 4], 0
cmp byte [ebp - 0x5d], 0
je 0x1008c425
lea ecx, [ebp - 0x38]
call fcn.10059eb0
xor cl, cl
mov byte [ebp - 0x5d], cl
mov eax, dword [ebp - 0x90]
add esi, 8
cmp esi, dword [eax + 4]
jne 0x1008c232
lea ecx, [ebp - 0x24]
call fcn.10059eb0
mov byte [ebp - 0x5d], 1
cmp byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], 0x10011148
je 0x1008c45c
lea ecx, [ebp - 0x38]
call fcn.10059eb0
cmp byte [ebp - 0x14], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x24], 0x10011148
je 0x1008c478
lea ecx, [ebp - 0x24]
call fcn.10059eb0
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d760
mov esp, ebp
pop ebp
ret 0x18
movzx eax, word [0x1022f6c3]
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.100a0d90
mov esi, 0x10010b20
mov dword [ebp - 0xb4], 0
test eax, eax
mov dword [ebp - 0xb0], 0xf
mov edi, esi
mov byte [ebp - 0xc4], 0
cmovne edi, eax
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1008c4d4
sub edx, ecx
lea ecx, [ebp - 0xc4]
push edx
push edi
call fcn.1004a870
mov dword [ebp - 0xc8], 0x10010c38
movzx eax, word [0x1022f6d7]
mov ecx, dword [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.100a0d90
test eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
cmovne esi, eax
mov byte [ebp - 0xa8], 0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008c530
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.1004a870
mov dword [ebp - 0xac], 0x10010c38
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10053f10
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.10042960
lea ecx, [ebp - 0xc8]
call fcn.10042960
mov byte [ebp - 0x5d], 0
jmp 0x1008c443