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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70c
push ebx
push esi
push edi
jmp 0x40a013
call fcn.00409d60
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x18], 0x24
push 4
push 0x3000
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a05f
mov eax, 1
jmp 0x40a3ba
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043e940
add esp, 0xc
mov dword [ebp - 0x20], 0
push 0x8000
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 0x18]
add edx, 0x168
mov dword [ebp - 0x18], edx
push 4
push 0x3000
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a0bb
mov eax, 1
jmp 0x40a3ba
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xc0000004
je 0x40a078
cmp dword [ebp - 0x20], 0
jl 0x40a0e7
cmp dword [ebp - 0x10], 0
jne 0x40a109
cmp dword [ebp - 0x10], 0
je 0x40a0ff
push 0x8000
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, 2
jmp 0x40a3ba
mov dword [ebp - 0x14], 0
jmp 0x40a11b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jae 0x40a393
imul edx, dword [ebp - 0x14], 0x1c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00409fb0
add esp, 4
movzx eax, al
test eax, eax
jne 0x40a14c
jmp 0x40a112
imul ecx, dword [ebp - 0x14], 0x1c
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0xc], 4
jne 0x40a15c
jmp 0x40a112
imul eax, dword [ebp - 0x14], 0x1c
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + eax + 0x1a]
movzx eax, word [0x49816c]
cmp edx, eax
je 0x40a175
jmp 0x40a112
imul ecx, dword [ebp - 0x14], 0x1c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x24], eax
call fcn.00409140
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0xc]
je 0x40a19d
call fcn.00409140
mov edx, dword [ebp - 0x24]
cmp edx, dword [eax + 8]
jne 0x40a1a2
jmp 0x40a112
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0x441
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0x1fffff
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40a1f3
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x40a112
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00409fb0
add esp, 4
movzx eax, al
test eax, eax
jne 0x40a20b
jmp 0x40a112
lea ecx, [ebp - 0x4ec]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00409c80
add esp, 4
mov ecx, 0x8b
mov esi, eax
lea edi, [ebp - 0x718]
rep movsd dword es:[edi], dword [esi]
push 0x208
push 0
lea edx, [ebp - 0x2c0]
push edx
call fcn.0043e940
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2c0]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004046c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x29]
call fcn.00404080
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00411a20
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00411a40
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00413820
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jl 0x40a2e6
mov eax, dword [ebp - 0x28]
push eax
call fcn.00409fb0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40a317
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00403ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004039d0
nop
jmp 0x40a112
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x50], edx
lea eax, [ebp + 8]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.0040a610
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00403ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004039d0
nop
jmp 0x40a112
push 0x8000
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x40a3ba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret