Function at 0x100ca54
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1015494]
push ebx
push esi
mov esi, dword [0x1001448]
push edi
push 0xc
mov ebx, ecx
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 0x2c
lea eax, [ebp - 0xcc]
push eax
push edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
call esi
test eax, eax
jl 0x100cb44
mov eax, dword [ebp - 0xc4]
shr eax, 0xa
imul eax, dword [ebp - 0xc0]
push edi
mov dword [ebp - 0x8c], eax
push 0x138
lea eax, [ebp - 0x228]
push eax
push 2
call esi
test eax, eax
jl 0x100cb44
mov eax, dword [0x1016580]
shr eax, 0xa
mov ecx, eax
imul ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x88], ecx
mov ecx, eax
imul ecx, dword [ebp - 0x1f8]
mov edx, eax
imul edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x74], ecx
mov ecx, eax
imul ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x6c], edx
mov edx, eax
imul eax, dword [ebp - 0x1b4]
imul edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x7c], eax
add eax, edx
push edi
mov dword [ebp - 0x78], eax
push 0x24
lea eax, [ebp - 0xf0]
push eax
push 0x15
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x80], edx
mov dword [0x1016560], ecx
mov dword [0x1016564], edi
call esi
test eax, eax
jge 0x100cb4e
mov eax, 0x80004005
jmp 0x100ce7e
mov eax, dword [0x1016580]
shr eax, 0xa
imul eax, dword [ebp - 0xdc]
mov ecx, ebx
mov dword [ebp - 0x84], eax
call fcn.0100a6af
cmp eax, edi
mov dword [ebp - 0x58], eax
jl 0x100ce64
mov dword [ebp - 0x48], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x48]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100cb8e
cmp dword [esi + 4], edi
je 0x100cc1d
push eax
push dword [ebx + 0xc]
call fcn.0100b5ea
cmp eax, edi
je 0x100cbf3
mov edx, dword [esi + 0x28]
mov ecx, dword [eax + 0x18]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0xa0], edx
add edx, edi
adc ecx, ebx
mov ebx, dword [eax + 0x1c]
cmp ebx, ecx
jl 0x100cbce
jg 0x100cbc5
cmp dword [ebp - 0x68], edx
jbe 0x100cbce
or dword [eax + 8], 0xffffffff
mov ebx, dword [ebp - 0x54]
jmp 0x100cc1d
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x100cbe7
or edi, dword [esi + 0x34]
jne 0x100cbe7
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xa0]
or ecx, edx
je 0x100cbc5
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x50], eax
adc dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x34]
adc ecx, dword [esi + 0x2c]
add dword [ebp - 0x60], eax
mov eax, dword [esi + 0x4c]
adc dword [ebp - 0x5c], ecx
add dword [ebp - 0x98], eax
mov eax, dword [esi + 4]
add dword [ebp - 0x94], eax
inc dword [ebp - 0x90]
mov eax, dword [esi]
add dword [ebp - 0x48], eax
cmp dword [0x1015090], 0xffffffff
jne 0x100cc3e
call dword [0x1001130]
cmp dword [esi + 0x44], eax
jne 0x100cc3e
mov eax, dword [esi + 0x50]
mov dword [0x1015090], eax
xor edi, edi
cmp dword [esi], edi
jne 0x100cb78
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
sbb ecx, dword [ebp - 0x4c]
cmp dword [0x1015e80], edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], ecx
mov dword [0x10165a4], eax
je 0x100ccc4
xor esi, esi
mov eax, dword [esi + 0x1015168]
lea ecx, [eax + ebx + 0x18]
mov eax, dword [ebp + eax - 0x98]
push eax
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push 0x1001e98
push eax
call dword [0x1001388]
mov ecx, dword [0x1015e80]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x14]
cmp eax, edi
je 0x100ccbc
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x101516c]
push eax
call dword [fcn.010013a0]
push eax
call dword [fcn.010013c0]
add esi, 8
cmp esi, 0x60
jb 0x100cc6f
mov dword [ebp - 0x48], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x48]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100cce5
cmp dword [esi + 4], edi
je 0x100ce0a
cmp eax, edi
je 0x100cd66
push eax
push edi
push 0x400
call dword [0x10010b4]
cmp eax, edi
mov dword [ebp - 0x54], eax
je 0x100cd16
push eax
call dword [0x10010c4]
mov edi, eax
test edi, edi
je 0x100cd09
mov dword [esi + 0x40], edi
push dword [ebp - 0x54]
call dword [0x1001178]
test edi, edi
jne 0x100cd66
mov eax, dword [esi + 0x40]
cmp eax, 4
jg 0x100cd27
mov dword [esi + 0x40], 0x40
jmp 0x100cd66
cmp eax, 6
jg 0x100cd35
mov dword [esi + 0x40], 0x4000
jmp 0x100cd66
cmp eax, 8
jg 0x100cd43
mov dword [esi + 0x40], 0x20
jmp 0x100cd66
cmp eax, 0xa
jg 0x100cd51
mov dword [esi + 0x40], 0x8000
jmp 0x100cd66
xor ecx, ecx
cmp eax, 0xd
setg cl
dec ecx
and ecx, 0xffffff80
add ecx, 0x100
mov dword [esi + 0x40], ecx
push dword [esi + 0x44]
push dword [ebx + 0xc]
call fcn.0100b5ea
test eax, eax
jne 0x100cde6
push 0xa0
call fcn.01002665
mov edx, eax
test edx, edx
pop ecx
je 0x100cd9d
push 0x28
xor eax, eax
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
and dword [edx + 0xc], eax
mov dword [edx + 0x10], 0x340
mov edi, edx
jmp 0x100cd9f
xor edi, edi
test edi, edi
je 0x100ce52
push 0
push ebx
push dword [0x10165bc]
mov ecx, edi
push dword [0x10165b8]
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0100c524
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x100cddb
mov ecx, dword [ebx + 0xc]
push edi
push dword [ecx + 8]
call fcn.0100a99e
test eax, eax
jne 0x100ce0a
push 1
mov ecx, edi
call fcn.0100a978
jmp 0x100ce64
push 1
push ebx
push dword [0x10165bc]
mov ecx, eax
push dword [0x10165b8]
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0100c524
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x100ce64
mov esi, dword [esi]
add dword [ebp - 0x48], esi
xor edi, edi
cmp esi, edi
jne 0x100ccc7
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp dword [eax + 8], edi
jle 0x100ce64
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
cmp eax, dword [0x10165b8]
jne 0x100ce3e
mov eax, dword [ecx + 4]
cmp eax, dword [0x10165bc]
je 0x100ce5b
push 1
call fcn.0100a978
mov ecx, dword [ebx + 0xc]
push 1
push esi
call fcn.0100a9d5
jmp 0x100ce5c
mov dword [ebp - 0x58], 0x8007000e
jmp 0x100ce64
inc esi
mov eax, dword [ebx + 0xc]
cmp esi, dword [eax + 8]
jl 0x100ce23
add ebx, 0xc
push ebx
call fcn.0100b672
add dword [0x10165b8], 1
mov eax, dword [ebp - 0x58]
adc dword [0x10165bc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010120da
leave
ret