Function at 0x100682c0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101a12fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x101ba224], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jne 0x100682ff
call fcn.10068070
push str._dbg_enumhandles
push 0x4000
call fcn.100cac00
mov edi, 0x4000
mov esi, eax
push edi
push 0
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
call fcn.100dd9d6
add esp, 0x14
mov eax, dword [0x101a0448]
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0
push edi
mov eax, dword [eax + 8]
push esi
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], eax
call ebx
cmp eax, 0xc0000004
jne 0x10068381
mov edi, edi
push str._dbg_enumhandles
add edi, edi
push edi
push esi
call fcn.100cac80
push edi
mov esi, eax
mov dword [ebp - 0x38], edi
push 0
push esi
mov dword [ebp - 0x3c], esi
call fcn.100dd9d6
add esp, 0x18
push 0
push edi
push esi
push 0x10
call ebx
cmp eax, 0xc0000004
je 0x10068350
test eax, eax
je 0x1006838c
xor bl, bl
jmp 0x10068538
mov ebx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov edi, dword [esi]
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x100683c5
cmp edi, 0x15555555
jbe 0x100683bd
push str.vector_T__too_long
call dword [0x100ef2ac]
push edi
mov ecx, ebx
call fcn.100a5ac0
lea ecx, [ebp - 0x1d]
call fcn.10067d40
mov ecx, 0x101ba200
mov byte [ebp - 4], 1
call fcn.10021a90
mov eax, dword [0x101ba200]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
mov ecx, 0x101ba208
mov eax, dword [0x101ba208]
push 0x10
push eax
mov dword [0x101ba20c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008d1d0
xor ebx, ebx
mov dword [0x101ba214], 7
mov dword [0x101ba218], 8
cmp dword [esi], ebx
jbe 0x100684ee
mov ecx, dword [ebp - 0x30]
lea edi, [esi + 8]
jmp 0x10068430
movzx eax, word [edi - 4]
cmp eax, ecx
jne 0x100684e2
movzx eax, word [edi + 2]
mov ecx, 0x101ba220
mov dword [ebp - 0x1c], eax
mov al, byte [edi]
mov byte [ebp - 0x18], al
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.10069c40
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x101ba220]
je 0x100684d3
movzx ecx, word [edi + 2]
mov dword [ebp - 0x24], ecx
lea ecx, [eax + 0xc]
mov eax, dword [0x101ba200]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov eax, dword [eax]
mov ecx, 0x101ba200
mov dword [ebp - 0x2c], eax
push dword [eax + 4]
push eax
call fcn.10069ef0
mov edx, dword [0x101ba204]
mov ecx, 0x71c71c6
sub ecx, edx
mov dword [ebp - 0x24], eax
cmp ecx, 1
jb 0x10068522
mov ecx, dword [ebp - 0x2c]
inc edx
mov dword [0x101ba204], edx
mov dword [ecx + 4], eax
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov ecx, 0x101ba200
mov eax, dword [0x101ba200]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1006a130
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
call fcn.10096270
mov ecx, dword [ebp - 0x30]
inc ebx
add edi, 0x10
cmp ebx, dword [esi]
jb 0x10068430
cmp byte [ebp - 0x1d], 0
mov bl, 1
mov byte [ebp - 4], 0
jbe 0x10068538
cmp byte [0x101bac41], 0
je 0x1006852d
dec dword [0x101bb604]
jne 0x10068538
push 0x101bbfc0
mov dword [0x101bb600], 0
call dword [0x101bc9d8]
jmp 0x10068538
push str.list_T__too_long
call dword [0x100ef2ac]
push 0x101bc980
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1006854e
push 0
push esi
call fcn.100cacb0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dd9b4
mov esp, ebp
pop ebp
ret