Function at 0x475fe0
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 0x4af709
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x4cfa1c]
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 [0x4d21d4]
cmp eax, dword [edx + 4]
jle 0x47608f
push 0x4d21d4
call fcn.00497ee3
add esp, 4
cmp dword [0x4d21d4], 0xffffffff
jne 0x47608f
mov dword [ebp - 4], 0
push str.NtDuplicateObject
push 0x4bea00
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d2230], eax
mov dword [ebp - 4], 0xffffffff
push 0x4d21d4
call fcn.00497e99
add esp, 4
cmp dword [0x4d2230], 0
jne 0x47609f
xor eax, eax
jmp 0x47637e
push 0x14
call fcn.0048583f
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 0x476358
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 0x476114
nop dword [eax]
push dword [ebp - 0x34]
push esi
call fcn.0047d4f6
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 0x4760f0
mov dword [ebp - 0x40], esi
test eax, eax
js 0x476355
cmp dword [esi], 0
mov dword [ebp - 0x44], 0
jbe 0x476355
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 0x476176
mov byte [ebp - 4], 1
jmp 0x476335
push 0x60
mov dword [ebp - 0x3c], 0x60
call fcn.0048583f
mov esi, dword [0x4d2230]
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.0047d4f6
add esp, 8
mov edi, eax
cmp esi, 0xc0000004
je 0x4761b1
mov dword [ebp - 0x4c], edi
test esi, esi
js 0x476313
mov eax, dword [edi + 4]
mov ecx, str.File
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476219
test dx, dx
je 0x476215
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476219
add eax, 4
add ecx, 4
test dx, dx
jne 0x4761f3
xor eax, eax
jmp 0x47621e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x476313
push eax
push 0x104
lea ecx, [ebp - 0x30]
call fcn.004459d0
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.00499b70
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0x20], edi
push eax
call fcn.00435260
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x4762cc
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 0x4762f7
test dl, dl
je 0x4762f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4762f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4762d7
xor esi, esi
jmp 0x4762fc
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00446fc0
test esi, esi
je 0x47639c
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x476321
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x47632e
push edi
call fcn.0047d501
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
call fcn.00446fc0
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 0x476132
mov edi, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47636a
push eax
call fcn.0047d501
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47637c
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.00497d9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
call fcn.0047d501
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00446fc0
mov edi, dword [ebp - 0x18]
jmp 0x47635a