Function at 0x483120
Capabilities:
Check mutex on windows
Get file version info
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567d4d
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push 0x482e50
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x4e3
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x4e3
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0x5ba238
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4831b9
mov eax, 0xfffffffb
jmp 0x4835be
mov ecx, dword [ebp + 8]
mov edx, esi
call fcn.00482b00
test eax, eax
jne 0x483255
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push str.AGENT_5211BC49_3208_44d3_B387_0EE2FD5CD88A
push 1
push eax
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
test esi, esi
je 0x4831fd
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4835bc
push str.AGENT_5211BC49_3208_44d3_B387_0EE2FD5CD88A
push 0
push 0
call edi
push ecx
lea ecx, [esp + 0x108]
mov dword [0x5ba5e0], eax
call fcn.0044db60
mov dword [esp + 0x320], 0
lea ecx, [esp + 0x104]
call fcn.0044f700
mov dword [esp + 0x320], 0xffffffff
lea ecx, [esp + 0x104]
call fcn.0044def0
jmp 0x4835bc
cmp eax, 3
jne 0x483325
lea ecx, [esp + 0x1c]
call fcn.00482490
mov dword [esp + 0x320], 1
mov edx, eax
push str.svc.log
lea ecx, [esp + 0x1c]
call fcn.00415f60
add esp, 4
mov byte [esp + 0x320], 3
or esi, 0xffffffff
mov edx, dword [esp + 0x1c]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4832ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [esp + 0x108]
call fcn.0044db60
mov byte [esp + 0x320], 5
lea ecx, [esp + 0x104]
push 0
call fcn.0044e070
test eax, eax
je 0x4832e2
push 0
lea ecx, [esp + 0x108]
call fcn.0044f320
mov byte [esp + 0x320], 3
lea ecx, [esp + 0x104]
call fcn.0044def0
mov dword [esp + 0x320], 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4835bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4835bc
cmp eax, 4
jne 0x483512
xor eax, eax
push 0x206
push eax
mov word [esp + 0x10c], ax
lea eax, [esp + 0x10e]
push eax
call fcn.00531bd0
add esp, 0xc
lea eax, [esp + 0x104]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4835bc
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x483508
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.0041a2b0
mov dword [esp + 0x320], 7
lea eax, [esp + 0x104]
mov edi, dword [esp + 0x24]
push edi
push esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4834f4
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
push 0x58af04
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4834f4
cmp dword [esp + 0x18], 0x34
jne 0x4834f4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4834f4
movzx esi, word [eax + 0xa]
movzx edi, word [eax + 0x10]
movzx ebx, word [eax + 0xe]
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
call fcn.00531bd0
add esp, 0xc
lea eax, [esp + 0x30]
push 0xa
push 6
push eax
push esi
call fcn.0052f42d
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x50]
push 0x64
push eax
call fcn.0052e020
add esp, 0x1c
lea eax, [esp + 0x3c]
push 0x58bce8
push 0x64
push eax
call fcn.0052e020
add esp, 0xc
lea eax, [esp + 0x30]
push 0xa
push 6
push eax
push edi
call fcn.0052f42d
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x50]
push 0x64
push eax
call fcn.0052e020
add esp, 0x1c
lea eax, [esp + 0x3c]
push 0x58bce8
push 0x64
push eax
call fcn.0052e020
add esp, 0xc
lea eax, [esp + 0x30]
push 0xa
push 6
push eax
push ebx
call fcn.0052f42d
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x50]
push 0x64
push eax
call fcn.0052e020
add esp, 0x1c
lea eax, [esp + 0x3c]
push eax
push 0x58b3a0
call fcn.0052e70e
add esp, 8
mov dword [esp + 0x320], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0041a2e0
jmp 0x4835bc
mov dword [esp + 0x320], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0041a2e0
mov eax, 1
jmp 0x4835be
cmp eax, 5
jne 0x4835bc
push str.Local62E27834_6E4B_4C1D_8EF8_1CF5CBBF0993
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4835bc
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x4835bc
push dword [esi + 8]
call fcn.0052d26e
mov ebx, eax
add esp, 4
lea ecx, [ebx - 1]
cmp ecx, 0xfffd
ja 0x4835bc
push str.HideAgent.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4835bc
push str.HideProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4835b2
push 1
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call esi
add esp, 0xc
push ebx
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4835e2
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
call edi
cmp eax, 5
jne 0x4835b2
lea esp, [esp]
test esi, esi
jne 0x4835fb
call edi
cmp eax, 5
jne 0x4835b2
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
jmp 0x4835f0