Function at 0x196c2090
Capabilities:
Get file attributes
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], 0x100000
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x8c]
push eax
call fcn.196c3770
add esp, 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x196c2118
xor eax, eax
jmp 0x196c2519
push 0
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x84]
push edx
push 0x10
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x196c217b
mov eax, dword [ebp - 0x84]
push eax
call fcn.196c3970
add esp, 4
mov ecx, dword [ebp - 0x8c]
shl ecx, 1
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.196c3770
add esp, 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x196c2179
xor eax, eax
jmp 0x196c2519
jmp 0x196c2118
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0
jmp 0x196c2196
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
cmp eax, dword [edx]
jae 0x196c24d7
mov ecx, dword [ebp - 0x68]
shl ecx, 4
mov edx, dword [ebp - 0x64]
movzx eax, word [edx + ecx + 4]
cmp eax, dword [ebp - 0x7c]
je 0x196c21b9
jmp 0x196c218d
push 2
push 0
push 0
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0x68]
shl edx, 4
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax + edx + 0xa]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x196c21e9
jmp 0x196c218d
lea eax, [ebp - 0x70]
push eax
push 0x38
lea ecx, [ebp - 0x40]
push ecx
push 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ntdll.dll_NtQueryObject]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x196c221d
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x196c218d
mov ecx, dword [ebp - 0x18]
add ecx, 2
cmp dword [ebp - 0x80], ecx
jae 0x196c226e
cmp dword [ebp - 0x78], 0
je 0x196c223a
mov edx, dword [ebp - 0x78]
push edx
call fcn.196c3970
add esp, 4
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.196c3770
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x196c226e
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x196c218d
cmp dword [ebp - 0x1c], 0
jne 0x196c227b
mov dword [ebp - 0x1c], 0x20a
mov eax, dword [ebp - 0x1c]
add eax, 2
cmp dword [ebp - 8], eax
jae 0x196c22ea
cmp dword [ebp - 4], 0
je 0x196c2298
mov ecx, dword [ebp - 4]
push ecx
call fcn.196c3970
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x196c22aa
mov dword [ebp - 0xa0], 0x208
jmp 0x196c22b6
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.196c3770
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x196c22ea
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x196c218d
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 2
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ntdll.dll_NtQueryObject]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x196c24c2
mov ecx, str.File
test ecx, ecx
je 0x196c2385
mov dword [ebp - 0xa4], str.File
mov edx, dword [ebp - 0xa4]
add edx, 2
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa4]
mov cx, word [eax]
mov word [ebp - 0xaa], cx
add dword [ebp - 0xa4], 2
cmp word [ebp - 0xaa], 0
jne 0x196c2337
mov edx, dword [ebp - 0xa4]
sub edx, dword [ebp - 0xa8]
sar edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
shl eax, 1
mov word [ebp - 0x60], ax
movzx ecx, word [ebp - 0x60]
add ecx, 2
mov word [ebp - 0x5e], cx
jmp 0x196c2391
xor edx, edx
mov word [ebp - 0x60], dx
xor eax, eax
mov word [ebp - 0x5e], ax
mov dword [ebp - 0x5c], str.File
push 1
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x196c24c2
push 5
push 0x18
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x196c24c2
movzx ecx, byte [ebp - 0x43]
test ecx, ecx
jne 0x196c24c2
movzx edx, byte [ebp - 0x44]
test edx, edx
jne 0x196c24c2
push 9
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x196c24c2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
shr edx, 1
cmp edx, dword [ebp - 0x6c]
jb 0x196c24c2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
shr ecx, 1
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax + ecx*2 + 4], dx
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x196c24c2
push 0xc
call fcn.196c3770
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x196c24c2
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x74]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x90]
mov dword [edx], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 0x74], 0
je 0x196c24d2
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x196c218d
cmp dword [ebp - 0x78], 0
je 0x196c24e9
mov eax, dword [ebp - 0x78]
push eax
call fcn.196c3970
add esp, 4
cmp dword [ebp - 4], 0
je 0x196c24fb
mov ecx, dword [ebp - 4]
push ecx
call fcn.196c3970
add esp, 4
cmp dword [ebp - 0x84], 0
je 0x196c2513
mov edx, dword [ebp - 0x84]
push edx
call fcn.196c3970
add esp, 4
mov eax, dword [ebp - 0x90]
mov esp, ebp
pop ebp
ret