Function at 0x100e6bf
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x101e4ac]
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
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 0x100e7af
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 0x100e7af
mov eax, dword [0x102014c]
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 [0x1020130], ecx
mov dword [0x1020134], edi
call esi
test eax, eax
jge 0x100e7b9
mov eax, 0x80004005
jmp 0x100eae7
mov eax, dword [0x102014c]
shr eax, 0xa
imul eax, dword [ebp - 0xdc]
mov ecx, ebx
mov dword [ebp - 0x84], eax
call fcn.0100b9b0
cmp eax, edi
mov dword [ebp - 0x58], eax
jl 0x100eacd
mov dword [ebp - 0x48], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x48]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100e7f9
cmp dword [esi + 4], edi
je 0x100e888
push eax
push dword [ebx + 0xc]
call fcn.0100c286
cmp eax, edi
je 0x100e85e
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 0x100e839
jg 0x100e830
cmp dword [ebp - 0x68], edx
jbe 0x100e839
or dword [eax + 8], 0xffffffff
mov ebx, dword [ebp - 0x54]
jmp 0x100e888
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x100e852
or edi, dword [esi + 0x34]
jne 0x100e852
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xa0]
or ecx, edx
je 0x100e830
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 [0x101e0b0], 0xffffffff
jne 0x100e8a9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 0x44], eax
jne 0x100e8a9
mov eax, dword [esi + 0x50]
mov dword [0x101e0b0], eax
xor edi, edi
cmp dword [esi], edi
jne 0x100e7e3
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
sbb ecx, dword [ebp - 0x4c]
cmp dword [0x101fa54], edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], ecx
mov dword [0x1020170], eax
je 0x100e930
xor esi, esi
mov eax, dword [esi + 0x101e188]
lea ecx, [eax + ebx + 0x18]
mov eax, dword [ebp + eax - 0x98]
push eax
push 0x10020c4
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.01004bd8
mov ecx, dword [0x101fa54]
mov eax, dword [ecx]
add esp, 0x10
call dword [eax + 0x14]
cmp eax, edi
je 0x100e928
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x101e18c]
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 0x100e8da
mov dword [ebp - 0x48], edi
mov esi, dword [ebx + 0x10]
add esi, dword [ebp - 0x48]
mov eax, dword [esi + 0x44]
cmp eax, edi
jne 0x100e951
cmp dword [esi + 4], edi
je 0x100ea73
cmp eax, edi
je 0x100e9d2
push eax
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
mov dword [ebp - 0x54], eax
je 0x100e982
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, eax
test edi, edi
je 0x100e975
mov dword [esi + 0x40], edi
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x100e9d2
mov eax, dword [esi + 0x40]
cmp eax, 4
jg 0x100e993
mov dword [esi + 0x40], 0x40
jmp 0x100e9d2
cmp eax, 6
jg 0x100e9a1
mov dword [esi + 0x40], 0x4000
jmp 0x100e9d2
cmp eax, 8
jg 0x100e9af
mov dword [esi + 0x40], 0x20
jmp 0x100e9d2
cmp eax, 0xa
jg 0x100e9bd
mov dword [esi + 0x40], 0x8000
jmp 0x100e9d2
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.0100c286
test eax, eax
jne 0x100ea4f
push 0xa0
call fcn.010038d5
mov edx, eax
test edx, edx
pop ecx
je 0x100ea06
push 0x28
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x10], 0x340
mov edi, edx
jmp 0x100ea08
xor edi, edi
test edi, edi
je 0x100eabb
push 0
push ebx
push dword [0x102018c]
mov ecx, edi
push dword [0x1020188]
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0100e141
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x100ea44
mov ecx, dword [ebx + 0xc]
push edi
push dword [ecx + 8]
call fcn.0100c022
test eax, eax
jne 0x100ea73
push 1
mov ecx, edi
call fcn.0100bb77
jmp 0x100eacd
push 1
push ebx
push dword [0x102018c]
mov ecx, eax
push dword [0x1020188]
push esi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0100e141
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x100eacd
mov esi, dword [esi]
add dword [ebp - 0x48], esi
xor edi, edi
cmp esi, edi
jne 0x100e933
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp dword [eax + 8], edi
jle 0x100eacd
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
cmp eax, dword [0x1020188]
jne 0x100eaa7
mov eax, dword [ecx + 4]
cmp eax, dword [0x102018c]
je 0x100eac4
push 1
call fcn.0100bb77
mov ecx, dword [ebx + 0xc]
push 1
push esi
call fcn.0100c059
jmp 0x100eac5
mov dword [ebp - 0x58], 0x8007000e
jmp 0x100eacd
inc esi
mov eax, dword [ebx + 0xc]
cmp esi, dword [eax + 8]
jl 0x100ea8c
add ebx, 0xc
push ebx
call fcn.0100c30e
add dword [0x1020188], 1
mov eax, dword [ebp - 0x58]
adc dword [0x102018c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01013809
leave
ret