Function at 0x100bbc4
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x224
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push edi
push 0xc
mov ebx, ecx
pop ecx
xor eax, eax
lea edi, [ebp + 0x24]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 0x2c
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
call esi
test eax, eax
jl 0x100bc97
mov eax, dword [ebp - 8]
shr eax, 0xa
imul eax, dword [ebp - 4]
push edi
mov dword [ebp + 0x30], eax
push 0x138
lea eax, [ebp - 0x1ac]
push eax
push 2
call esi
test eax, eax
jl 0x100bc97
mov eax, dword [0x1015558]
shr eax, 0xa
mov ecx, eax
imul ecx, dword [ebp - 0x180]
mov dword [ebp + 0x34], ecx
mov ecx, eax
imul ecx, dword [ebp - 0x17c]
mov edx, eax
imul edx, dword [ebp - 0x174]
mov dword [ebp + 0x48], ecx
mov ecx, eax
imul ecx, dword [ebp - 0x178]
mov dword [ebp + 0x50], edx
mov edx, eax
imul eax, dword [ebp - 0x138]
imul edx, dword [ebp - 0x13c]
mov dword [ebp + 0x40], eax
add eax, edx
push edi
mov dword [ebp + 0x44], eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0x15
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x3c], edx
mov dword [0x1015538], ecx
mov dword [0x101553c], edi
call esi
test eax, eax
jge 0x100bca1
mov eax, 0x80004005
jmp 0x100bfb6
mov eax, dword [0x1015558]
shr eax, 0xa
imul eax, dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebp + 0x38], eax
call fcn.01009ad2
cmp eax, edi
mov dword [ebp + 0x64], eax
jl 0x100bf9c
mov dword [ebp + 0x74], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp + 0x74]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100bcdb
cmp dword [esi + 4], edi
je 0x100bd5b
push eax
push dword [ebx + 0xc]
call fcn.0100a87a
cmp eax, edi
je 0x100bd3a
mov edx, dword [esi + 0x28]
mov ecx, dword [eax + 0x18]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
mov dword [ebp + 0x54], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ebp + 0x1c], edx
add edx, edi
adc ecx, ebx
mov ebx, dword [eax + 0x1c]
cmp ebx, ecx
jl 0x100bd18
jg 0x100bd0f
cmp dword [ebp + 0x54], edx
jbe 0x100bd18
or dword [eax + 8], 0xffffffff
mov ebx, dword [ebp + 0x68]
jmp 0x100bd5b
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x100bd2e
or edi, dword [esi + 0x34]
jne 0x100bd2e
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp + 0x1c]
or ecx, edx
je 0x100bd0f
mov eax, dword [ebp + 0x54]
add dword [ebp + 0x6c], eax
adc dword [ebp + 0x70], ebx
mov ebx, dword [ebp + 0x68]
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x34]
adc ecx, dword [esi + 0x2c]
add dword [ebp + 0x5c], eax
mov eax, dword [esi + 0x4c]
adc dword [ebp + 0x60], ecx
add dword [ebp + 0x24], eax
mov eax, dword [esi + 4]
add dword [ebp + 0x28], eax
inc dword [ebp + 0x2c]
mov eax, dword [esi]
add dword [ebp + 0x74], eax
cmp dword [0x1014090], 0xffffffff
jne 0x100bd7c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 0x44], eax
jne 0x100bd7c
mov eax, dword [esi + 0x50]
mov dword [0x1014090], eax
xor edi, edi
cmp dword [esi], edi
jne 0x100bcc5
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x60]
sbb ecx, dword [ebp + 0x70]
cmp dword [0x1014e58], edi
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x70], ecx
mov dword [0x101557c], eax
je 0x100bdfc
xor esi, esi
mov eax, dword [esi + 0x1014168]
lea ecx, [eax + ebx + 0x18]
mov eax, dword [ebp + eax + 0x24]
push eax
mov dword [ecx], eax
lea eax, [ebp - 0x74]
push 0x1001e78
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x1014e58]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x14]
cmp eax, edi
je 0x100bdf4
lea ecx, [ebp - 0x74]
push ecx
push dword [esi + 0x101416c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add esi, 8
cmp esi, 0x60
jb 0x100bdaa
mov dword [ebp + 0x74], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp + 0x74]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100be1d
cmp dword [esi + 4], edi
je 0x100bf42
cmp eax, edi
je 0x100be9e
push eax
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
mov dword [ebp + 0x68], eax
je 0x100be4e
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, eax
test edi, edi
je 0x100be41
mov dword [esi + 0x40], edi
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x100be9e
mov eax, dword [esi + 0x40]
cmp eax, 4
jg 0x100be5f
mov dword [esi + 0x40], 0x40
jmp 0x100be9e
cmp eax, 6
jg 0x100be6d
mov dword [esi + 0x40], 0x4000
jmp 0x100be9e
cmp eax, 8
jg 0x100be7b
mov dword [esi + 0x40], 0x20
jmp 0x100be9e
cmp eax, 0xa
jg 0x100be89
mov dword [esi + 0x40], 0x8000
jmp 0x100be9e
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.0100a87a
test eax, eax
jne 0x100bf1e
push 0xa0
call fcn.01002520
mov edx, eax
test edx, edx
pop ecx
je 0x100bed5
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 0x100bed7
xor edi, edi
test edi, edi
je 0x100bf8a
push 0
push ebx
push dword [0x1015594]
mov ecx, edi
push dword [0x1015590]
push esi
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.0100b6ff
test eax, eax
mov dword [ebp + 0x64], eax
jl 0x100bf13
mov ecx, dword [ebx + 0xc]
push edi
push dword [ecx + 8]
call fcn.01009d44
test eax, eax
jne 0x100bf42
push 1
mov ecx, edi
call fcn.01009d28
jmp 0x100bf9c
push 1
push ebx
push dword [0x1015594]
mov ecx, eax
push dword [0x1015590]
push esi
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.0100b6ff
test eax, eax
mov dword [ebp + 0x64], eax
jl 0x100bf9c
mov esi, dword [esi]
add dword [ebp + 0x74], esi
xor edi, edi
cmp esi, edi
jne 0x100bdff
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp dword [eax + 8], edi
jle 0x100bf9c
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
cmp eax, dword [0x1015590]
jne 0x100bf76
mov eax, dword [ecx + 4]
cmp eax, dword [0x1015594]
je 0x100bf93
push 1
call fcn.01009d28
mov ecx, dword [ebx + 0xc]
push 1
push esi
call fcn.01009d72
jmp 0x100bf94
mov dword [ebp + 0x64], 0x8007000e
jmp 0x100bf9c
inc esi
mov eax, dword [ebx + 0xc]
cmp esi, dword [eax + 8]
jl 0x100bf5b
add ebx, 0xc
push ebx
call fcn.0100a8f2
add dword [0x1015590], 1
mov eax, dword [ebp + 0x64]
adc dword [0x1015594], 0
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret