Function at 0x483120
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 0x4ca3a9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x511a40]
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 - 0x54], edi
mov dword [ebp - 0x50], ecx
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x34], 0
mov edx, dword [eax]
mov eax, dword [0x5178bc]
cmp eax, dword [edx + 4]
jle 0x4831cf
push 0x5178bc
call fcn.004a7c2c
add esp, 4
cmp dword [0x5178bc], 0xffffffff
jne 0x4831cf
mov dword [ebp - 4], 0
push str.NtDuplicateObject
push 0x4fd5d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5178e0], eax
mov dword [ebp - 4], 0xffffffff
push 0x5178bc
call fcn.004a7bdb
add esp, 4
cmp dword [0x5178e0], 0
jne 0x4831df
xor eax, eax
jmp 0x48351c
push 0x14
call fcn.004947fa
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 0x4834f6
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 0x483254
nop dword [eax]
push dword [ebp - 0x34]
push esi
call fcn.0048d5f1
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 0x483230
mov dword [ebp - 0x40], esi
test eax, eax
js 0x4834f3
cmp dword [esi], 0
mov dword [ebp - 0x44], 0
jbe 0x4834f3
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 - 0x54]
je 0x4832b6
mov byte [ebp - 4], 1
jmp 0x4834d3
push 0x60
mov dword [ebp - 0x3c], 0x60
call fcn.004947fa
mov esi, dword [0x5178e0]
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.0048d5f1
add esp, 8
mov edi, eax
cmp esi, 0xc0000004
je 0x4832f1
mov dword [ebp - 0x4c], edi
test esi, esi
js 0x4834b1
mov eax, dword [edi + 4]
mov ecx, str.File
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x483359
test dx, dx
je 0x483355
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x483359
add eax, 4
add ecx, 4
test dx, dx
jne 0x483333
xor eax, eax
jmp 0x48335e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4834b1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x104
jb 0x48338c
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x104
cmova eax, dword [ebp - 0x30]
mov byte [eax + 0x104], 0
jmp 0x4833d2
mov edx, dword [ebp - 0x1c]
mov edi, 0x104
mov eax, edx
sub edi, ecx
sub eax, ecx
cmp edi, eax
ja 0x4833c3
cmp edx, 0xf
mov dword [ebp - 0x20], 0x104
lea esi, [ebp - 0x30]
cmova esi, dword [ebp - 0x30]
push edi
add esi, ecx
push 0
push esi
call fcn.004a9f30
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4833d2
push 0
push edi
push dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
push edi
call fcn.0044e720
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push 0
cmova eax, dword [ebp - 0x30]
push 0x104
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
cmp dword [ebp - 0x1c], 0xf
lea edi, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
cmova edi, edx
lea eax, [ebp - 0x30]
add edi, 4
cmp dword [ebp - 0x1c], 0xf
cmova ecx, edx
cmova 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], 0xf
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x30]
cmova 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.004a99b0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0x20], edi
push eax
call fcn.004369e0
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
jbe 0x48346a
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x483495
test dl, dl
je 0x483491
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x483495
add eax, 2
add ecx, 2
test dl, dl
jne 0x483475
xor esi, esi
jmp 0x48349a
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00449f00
test esi, esi
je 0x48353a
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4834bf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4834cc
push edi
call fcn.0048de31
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
call fcn.00449f00
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 0x483272
mov edi, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x483508
push eax
call fcn.0048de31
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x48351a
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.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
call fcn.0048de31
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00449f00
mov edi, dword [ebp - 0x18]
jmp 0x4834f8