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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eeb9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x4aca0c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ecx
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x34], 0
mov edx, dword [eax]
mov eax, dword [0x4aef18]
cmp eax, dword [edx + 4]
jle 0x45185f
push 0x4aef18
call fcn.0047c37a
add esp, 4
cmp dword [0x4aef18], 0xffffffff
jne 0x45185f
mov dword [ebp - 4], 0
push str.NtDuplicateObject
push 0x49eac4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4aef80], eax
mov dword [ebp - 4], 0xffffffff
push 0x4aef18
call fcn.0047c330
add esp, 4
cmp dword [0x4aef80], 0
jne 0x45186f
xor eax, eax
jmp 0x451b4e
push 0x14
call fcn.00469b0a
add esp, 4
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x40], esi
push edi
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x451b28
mov edi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea eax, [ebp - 0x34]
push eax
push 0x14
push esi
push 0x10
call edi
cmp eax, 0xc0000004
jne 0x4518e4
nop dword [eax]
push dword [ebp - 0x34]
push esi
call fcn.0046656c
add esp, 8
mov esi, eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
push esi
push 0x10
call edi
cmp eax, 0xc0000004
je 0x4518c0
mov dword [ebp - 0x40], esi
test eax, eax
js 0x451b25
cmp dword [esi], 0
mov dword [ebp - 0x44], 0
jbe 0x451b25
lea edx, [esi + 4]
mov dword [ebp - 0x48], edx
movups xmm1, xmmword [edx]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x64], xmm1
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 2
movd eax, xmm1
cmp eax, dword [ebp - 0x50]
je 0x451946
mov byte [ebp - 4], 1
jmp 0x451b05
push 0x60
mov dword [ebp - 0x3c], 0x60
call fcn.00469b0a
mov esi, dword [0x4aef80]
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
movzx eax, word [ebp - 0x5e]
push eax
push dword [ebp - 0x18]
call esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push edi
push 2
push dword [ebp - 0x38]
call dword [sym.imp.ntdll.dll_NtQueryObject]
mov esi, eax
mov eax, dword [ebp - 0x34]
push eax
push edi
mov dword [ebp - 0x3c], eax
call fcn.0046656c
add esp, 8
mov edi, eax
cmp esi, 0xc0000004
je 0x451981
mov dword [ebp - 0x4c], edi
test esi, esi
js 0x451ae3
mov eax, dword [edi + 4]
mov ecx, str.File
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4519e9
test dx, dx
je 0x4519e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4519e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4519c3
xor eax, eax
jmp 0x4519ee
sbb eax, eax
or eax, 1
test eax, eax
jne 0x451ae3
push eax
push 0x104
lea ecx, [ebp - 0x30]
call fcn.0043cfb0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push 0x104
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
cmp dword [ebp - 0x1c], 0x10
lea edi, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
cmovae edi, edx
lea eax, [ebp - 0x30]
add edi, 4
cmp dword [ebp - 0x1c], 0x10
cmovae ecx, edx
cmovae eax, edx
sub edi, ecx
mov esi, ecx
sub esi, eax
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x20]
mov eax, edi
mov ecx, dword [ebp - 0x3c]
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x30]
cmovae eax, edx
sub edi, ecx
mov ecx, edi
sub ecx, esi
inc ecx
lea edx, [eax + esi]
mov eax, dword [ebp - 0x3c]
push ecx
add eax, edx
push eax
push edx
call fcn.0047e050
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0x20], edi
push eax
call fcn.0042ea20
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x451a9c
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451ac7
test dl, dl
je 0x451ac3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451ac7
add eax, 2
add ecx, 2
test dl, dl
jne 0x451aa7
xor esi, esi
jmp 0x451acc
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0043a900
test esi, esi
je 0x451b6c
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x451af1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x451afe
push edi
call fcn.00461c54
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
call fcn.0043a900
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
inc ecx
add edx, 0x10
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
cmp ecx, dword [esi]
jb 0x451902
mov edi, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x451b3a
push eax
call fcn.00461c54
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x451b4c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047c239
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
call fcn.00461c54
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0043a900
mov edi, dword [ebp - 0x18]
jmp 0x451b2a