Function at 0x40cf4c
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x40cf54
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, 0x40f774
xor eax, eax
push ebp
push 0x40d6ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x40e478], 0
jne 0x40cfb0
mov eax, 0x2f
call fcn.0040bbe4
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84060407
call fcn.004079b4
mov eax, dword [0x40e480]
mov eax, dword [eax]
call fcn.0040963c
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x2d
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d05d
mov esi, 1
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d6d0
call fcn.00403560
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6dc
call fcn.004056ec
mov eax, dword [ebp - 0x1c]
call fcn.004086b4
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6e8
call fcn.004056ec
mov eax, dword [ebp - 0x20]
call fcn.004086b4
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 0x28]
pop edx
pop ecx
call fcn.0040cde0
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40cfc9
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d70c
call fcn.004033f0
mov eax, 0x2a
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d0d7
mov esi, 1
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.0040864c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi]
xor ecx, ecx
call fcn.004056ec
mov eax, dword [0x40f76c]
push dword [eax + 0x34]
push 0x40d718
push dword [ebp - 8]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004035d4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040c864
mov eax, dword [ebp - 8]
call fcn.0040ced0
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d081
mov eax, 0x2c
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d1c6
mov esi, 1
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x34]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d724
call fcn.00403560
lea eax, [ebp - 8]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 8]
call fcn.004057a4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
add eax, 0x1d
call fcn.004033f0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6e8
call fcn.004056ec
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.004056a0
call fcn.00406a38
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004057f8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 0
jne 0x40d1a6
mov eax, dword [ebp - 0x10]
call fcn.004056cc
mov eax, dword [ebp - 8]
call fcn.00405160
cmp edx, 0
jne 0x40d1a6
cmp eax, 0
jne 0x40d1a6
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0040ca80
mov eax, dword [ebp - 0x14]
call fcn.00407f20
mov eax, dword [ebp - 0x10]
call fcn.00407f20
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d0f0
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d730
call fcn.004033f0
mov eax, 0x27
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d21a
mov esi, 1
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.0040864c
mov edx, dword [ebp - 0x44]
mov eax, dword [edi]
xor ecx, ecx
call fcn.004056ec
mov eax, dword [ebp - 0x40]
mov dl, 1
call fcn.0040ca80
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d1ea
mov dl, 1
mov eax, dword [0x40f778]
call fcn.0040ca80
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d73c
call fcn.004033f0
mov eax, 0x25
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d27a
mov esi, 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, esi
call fcn.0040864c
mov edx, dword [ebp - 0x4c]
mov eax, dword [edi]
xor ecx, ecx
call fcn.004056ec
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.0040ca80
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d24a
mov eax, 0x2b
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d304
mov esi, 1
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x50]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d748
call fcn.00403560
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6e8
call fcn.004056ec
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 0x5c]
call fcn.004086b4
pop edx
pop ecx
call fcn.0040cb80
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d28f
mov eax, 0x26
call fcn.0040bbe4
test eax, eax
jle 0x40d3f7
call fcn.0040ab30
cmp al, 3
jbe 0x40d32e
lea eax, [ebp - 8]
mov edx, 0x40d754
call fcn.00403434
jmp 0x40d336
lea eax, [ebp - 8]
call fcn.0040339c
mov eax, 0x26
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d3e7
mov esi, 1
lea edx, [ebp - 0x60]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x60]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d760
call fcn.00403560
lea eax, [ebp - 0x64]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 0x64]
push eax
push 0x40d76c
push dword [ebp - 8]
push 0x40d790
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004035d4
mov edx, dword [ebp - 0x68]
mov eax, 2
pop ecx
call fcn.0040cb80
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
mov eax, dword [ebp - 0xc]
call fcn.00403714
push eax
call sub.gdi32.dll_RemoveFontResourceA
mov eax, dword [ebp - 0xc]
call fcn.00403714
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d34f
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendMessageA_1
mov eax, 0x29
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d490
mov esi, 1
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d7b0
call fcn.00403560
lea eax, [ebp - 8]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
lea eax, [ebp - 0x70]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 0x70]
call fcn.004086b4
sub eax, 1
jb 0x40d464
je 0x40d470
dec eax
je 0x40d47c
jmp 0x40d484
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0040ca80
jmp 0x40d484
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040ca80
jmp 0x40d484
mov eax, dword [ebp - 8]
call fcn.0040c90c
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d410
mov eax, 0x2e
call fcn.0040bbe4
mov ebx, eax
test ebx, ebx
jle 0x40d543
mov esi, 1
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.0040864c
mov ecx, dword [ebp - 0x74]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x40d7bc
call fcn.00403560
lea eax, [ebp - 0x78]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6dc
call fcn.004056ec
mov eax, dword [ebp - 0x78]
call fcn.004086b4
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6e8
call fcn.004056ec
mov eax, dword [ebp - 0x7c]
call fcn.004086b4
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d6f4
call fcn.004056ec
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x40d700
call fcn.004056ec
mov eax, dword [ebp - 0x84]
pop edx
pop ecx
call fcn.0040cde0
mov eax, dword [ebp - 4]
call fcn.0040c8d4
inc esi
dec ebx
jne 0x40d4a9
mov eax, dword [edi]
call fcn.00407f20
mov eax, dword [0x40f77c]
call fcn.00403714
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x1c
call fcn.0040bbbc
test al, al
je 0x40d597
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004098b4
test al, al
je 0x40d597
push 1
push 0
push 0
mov eax, dword [0x40f76c]
mov eax, dword [eax + 0x74]
call fcn.00403714
push eax
push 0x40d7c0
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
push 0
push 0x8000000
call sub.shell32.dll_SHChangeNotify
cmp byte [0x40e478], 0
jne 0x40d68f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84060407
call fcn.00406d68
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84020408
call fcn.00406d74
mov eax, dword [0x40f76c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
call fcn.0040c864
mov eax, dword [0x40e480]
mov eax, dword [eax]
call fcn.0040963c
push 0x400
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov dl, 1
call fcn.00408e40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.00408e40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00405f70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00405f70
mov eax, dword [0x40f76c]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00409140
mov eax, dword [0x40f76c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00409140
mov eax, dword [0x40f76c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.00409140
mov eax, dword [0x40f76c]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00409140
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004092d4
mov eax, dword [0x40e480]
mov eax, dword [eax]
call fcn.0040963c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6c1
lea eax, [ebp - 0x84]
mov edx, 0x1c
call fcn.004033c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004033c0
ret