Function at 0xa62090
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.00a63770
add esp, 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0xa62118
xor eax, eax
jmp 0xa62519
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 0xa6217b
mov eax, dword [ebp - 0x84]
push eax
call fcn.00a63970
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.00a63770
add esp, 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0xa62179
xor eax, eax
jmp 0xa62519
jmp 0xa62118
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0
jmp 0xa62196
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 0xa624d7
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 0xa621b9
jmp 0xa6218d
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 0xa621e9
jmp 0xa6218d
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 0xa6221d
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xa6218d
mov ecx, dword [ebp - 0x18]
add ecx, 2
cmp dword [ebp - 0x80], ecx
jae 0xa6226e
cmp dword [ebp - 0x78], 0
je 0xa6223a
mov edx, dword [ebp - 0x78]
push edx
call fcn.00a63970
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.00a63770
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0xa6226e
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xa6218d
cmp dword [ebp - 0x1c], 0
jne 0xa6227b
mov dword [ebp - 0x1c], 0x20a
mov eax, dword [ebp - 0x1c]
add eax, 2
cmp dword [ebp - 8], eax
jae 0xa622ea
cmp dword [ebp - 4], 0
je 0xa62298
mov ecx, dword [ebp - 4]
push ecx
call fcn.00a63970
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0xa622aa
mov dword [ebp - 0xa0], 0x208
jmp 0xa622b6
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.00a63770
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xa622ea
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xa6218d
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 0xa624c2
mov ecx, str.File
test ecx, ecx
je 0xa62385
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 0xa62337
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 0xa62391
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 0xa624c2
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 0xa624c2
movzx ecx, byte [ebp - 0x43]
test ecx, ecx
jne 0xa624c2
movzx edx, byte [ebp - 0x44]
test edx, edx
jne 0xa624c2
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 0xa624c2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
shr edx, 1
cmp edx, dword [ebp - 0x6c]
jb 0xa624c2
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 0xa624c2
push 0xc
call fcn.00a63770
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0xa624c2
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 0xa624d2
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xa6218d
cmp dword [ebp - 0x78], 0
je 0xa624e9
mov eax, dword [ebp - 0x78]
push eax
call fcn.00a63970
add esp, 4
cmp dword [ebp - 4], 0
je 0xa624fb
mov ecx, dword [ebp - 4]
push ecx
call fcn.00a63970
add esp, 4
cmp dword [ebp - 0x84], 0
je 0xa62513
mov edx, dword [ebp - 0x84]
push edx
call fcn.00a63970
add esp, 4
mov eax, dword [ebp - 0x90]
mov esp, ebp
pop ebp
ret