Function at 0x100c0230
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f083b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10252964]
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.1007b520
mov edi, eax
test esi, esi
jne 0x100c027e
mov al, 1
jmp 0x100c058b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0x10045148
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], 0x10045148
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 0x100c0547
push 1
push dword [ebp + 0x1c]
push esi
push dword [ebp - 0x64]
call fcn.100bfab0
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 0x100c0547
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 0x100c0392
cmp ecx, dword [ebp - 0x6c]
je 0x100c0427
lea ecx, [ebp - 0x24]
call fcn.1008deb0
mov dword [ebp - 0x68], edi
mov edi, dword [0x102638c8]
mov dword [ebp - 0x6c], 0
test edi, edi
jne 0x100c0412
push 0xc8
call fcn.101c1316
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x100c040a
push 0xc8
push 0
push edi
call fcn.101d82a0
mov dword [edi], 0x10044cb4
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x10044c38
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x100c040c
xor edi, edi
mov dword [0x102638c8], edi
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x70]
add eax, dword [ebp - 0x64]
push eax
call fcn.1008de50
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 0x100c04dc
ja 0x100c0455
cmp edx, ecx
jbe 0x100c04dc
mov edi, dword [0x102638c8]
test edi, edi
jne 0x100c04c3
push 0xc8
call fcn.101c1316
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x100c04bb
push 0xc8
push 0
push edi
call fcn.101d82a0
mov dword [edi], 0x10044cb4
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x10044c38
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x100c04bd
xor edi, edi
mov dword [0x102638c8], 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.1008de50
mov byte [ebp - 0x5d], 1
mov eax, dword [ebp - 0x8c]
movzx eax, ax
cmp eax, 0xa
ja case.0x100c04f5.5
movzx eax, byte [eax + 0x100c06b0]
jmp dword [eax*4 + 0x100c06a0]
call fcn.1007b520
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x74]
add dword [eax], ecx
jmp case.0x100c04f5.0
call fcn.1007b520
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 0x100c0535
lea ecx, [ebp - 0x38]
call fcn.1008deb0
xor cl, cl
mov byte [ebp - 0x5d], cl
mov eax, dword [ebp - 0x90]
add esi, 8
cmp esi, dword [eax + 4]
jne 0x100c0342
lea ecx, [ebp - 0x24]
call fcn.1008deb0
mov byte [ebp - 0x5d], 1
cmp byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], 0x10045148
je 0x100c056c
lea ecx, [ebp - 0x38]
call fcn.1008deb0
cmp byte [ebp - 0x14], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x24], 0x10045148
je 0x100c0588
lea ecx, [ebp - 0x24]
call fcn.1008deb0
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.101c1860
mov esp, ebp
pop ebp
ret 0x18
movzx eax, word [0x102636c3]
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.100d4ea0
mov esi, 0x10044b20
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 0x100c05e4
sub edx, ecx
lea ecx, [ebp - 0xc4]
push edx
push edi
call fcn.1007e870
mov dword [ebp - 0xc8], 0x10044c38
movzx eax, word [0x102636d7]
mov ecx, dword [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.100d4ea0
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 0x100c0640
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.1007e870
mov dword [ebp - 0xac], 0x10044c38
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.10087f10
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.10076960
lea ecx, [ebp - 0xc8]
call fcn.10076960
mov byte [ebp - 0x5d], 0
jmp 0x100c0553