Function at 0x493fb0
Capabilities:
Get common file path
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f85e0
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x55b164], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x73c], eax
je 0x4941f6
cmp dword [0x55b150], 0
je 0x4941f6
cmp dword [0x55b170], 0
je 0x4941f6
cmp dword [0x55b15c], 0
je 0x4941f6
push 0x3e8
mov dword [ebp - 0x734], 0x3e8
call fcn.004c8c9a
add esp, 4
mov edi, eax
lea eax, [ebp - 0x734]
push eax
push dword [ebp - 0x734]
push edi
push 0xb
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x494089
nop dword [eax]
add dword [ebp - 0x734], 0x3e8
push edi
call fcn.004c8c7f
push dword [ebp - 0x734]
call fcn.004c8c9a
add esp, 8
mov edi, eax
lea eax, [ebp - 0x734]
push eax
push dword [ebp - 0x734]
push edi
push 0xb
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x494050
call fcn.0047b6a0
test al, al
mov edx, 0x515010
mov ecx, 0x514ff4
lea eax, [ebp - 0x31c]
cmove ecx, edx
push ecx
push 0x104
push eax
call fcn.004c905a
xor ebx, ebx
add esp, 0xc
cmp dword [edi], ebx
jbe 0x494159
lea esi, [edi + 0x20]
mov dword [ebp - 0x738], esi
call fcn.0042dbe0
test eax, eax
je 0x4942c4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x730], eax
push esi
lea ecx, [ebp - 0x730]
mov dword [ebp - 4], 0
call fcn.0048dae0
mov esi, dword [ebp - 0x730]
lea eax, [ebp - 0x31c]
push eax
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004c5729
add esp, 8
mov dword [ebp - 0x730], eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x494136
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x730]
test eax, eax
jne 0x494214
mov esi, dword [ebp - 0x738]
inc ebx
add esi, 0x11c
mov dword [ebp - 0x738], esi
cmp ebx, dword [edi]
jb 0x4940c5
mov eax, dword [ebp - 0x738]
push edi
mov dword [ebp - 0x730], eax
call fcn.004c8c7f
add esp, 4
lea eax, [ebp - 0x524]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x72c]
push 0x501628
push eax
call fcn.0042fa90
add esp, 0x10
lea eax, [ebp - 0x72c]
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x5563cc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x55b150]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0
push 0
call edi
push eax
call esi
test eax, eax
jne 0x494223
push 0x5563cc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
imul eax, ebx, 0x11c
mov eax, dword [eax + edi + 0xc]
jmp 0x49415f
mov eax, dword [ebp - 0x730]
mov esi, dword [0x55b170]
push 0
cdq
push edx
push eax
push 0
lea eax, [ebp - 0x31c]
push eax
push ebx
call edi
push eax
call esi
or eax, edx
jne 0x494266
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x55b164]
call edi
push eax
call esi
push 0x5563cc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4941f6
mov esi, dword [0x55b15c]
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x73c]
mov dword [ebp - 0x114], 0x18
mov dword [ebp - 0x104], 0xed
call edi
push eax
call esi
neg eax
push ebx
sbb eax, eax
and dword [ebp - 0x110], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x55b164]
call edi
push eax
call esi
push 0x5563cc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x110]
jmp 0x4941f8
push 0x80004005
call fcn.0042d2e0
int3