Function at 0x404c30
Capabilities:
Create process on windows
Delete file
Move file
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aac0
mov eax, dword fs:[0]
push eax
sub esp, 0xa04
mov eax, dword [0x47a2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa04], ebx
xor eax, eax
xor edi, edi
mov dword [ebp - 0xa0c], eax
mov edx, dword [ebx + 0x28]
sub edx, dword [ebx + 0x24]
mov dword [ebp - 0x9fc], eax
mov eax, 0x3e0f83e1
imul edx
mov dword [ebp - 0xa08], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4055b3
nop dword [eax]
lea eax, [ebp - 0x440]
push eax
call fcn.004041f0
mov esi, eax
imul edi, edi, 0x84
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
add ecx, edi
mov dword [ebp - 0xa00], edi
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.00408c60
add esp, 4
push str..bak
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.00408c60
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x404cfd
mov eax, dword [eax]
lea ecx, [ebp - 0x7a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x474]
mov esi, eax
cmp edx, 8
jb 0x404d4d
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404d43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x478], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
cmp edx, 8
jb 0x404dad
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x404e11
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
cmp esi, 0xffffffff
je 0x405587
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x470]
push eax
call fcn.004041f0
mov esi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebx + 0x24]
add ecx, edi
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.00408c60
add esp, 4
push str..bak
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00408c60
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x404e8f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x42c]
mov esi, eax
cmp edx, 8
jb 0x404ed8
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ece
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
cmp edx, 8
jb 0x404f39
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x404f9d
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
test esi, esi
jne 0x404ff2
call fcn.00447f29
push 0xffffffffffffffff
lea ecx, [ebp - 0x558]
mov eax, dword [eax]
push dword [eax]
call fcn.0040dc81
mov esi, eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x9fc]
mov ecx, dword [ebx + 0x24]
or eax, 1
add ecx, edi
mov dword [ebp - 0x9fc], eax
push 0
mov dword [ebp - 0xa0c], eax
call fcn.0040de91
push eax
mov ecx, esi
call fcn.0040e0cb
cmp eax, 0xffffffff
je 0x404ff2
mov bl, 1
jmp 0x404ff4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9fc]
test al, 1
je 0x405019
and eax, 0xfffffffe
lea ecx, [ebp - 0x558]
mov dword [ebp - 0x9fc], eax
call fcn.0040dd97
test bl, bl
je 0x405581
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x440]
push eax
call fcn.004041f0
mov esi, eax
mov ebx, dword [ebp - 0xa04]
mov dword [ebp - 4], 5
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0xa00]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x458]
call fcn.00408c60
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x4050b5
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4050ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x430], 0
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x9f8]
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
push ecx
push eax
mov dword [ebp - 0x42c], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40544b
lea eax, [ebp - 0x4d0]
push eax
call fcn.004041f0
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0xa00]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x470]
call fcn.00408c60
add esp, 4
mov edi, eax
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 9
push eax
call fcn.004041f0
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0xa00]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x488]
call fcn.00408c60
add esp, 4
push str..bak
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x428]
call fcn.00408c60
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x405186
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x40518e
mov eax, dword [eax]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x4051d8
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4051ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x405239
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40522f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x48c]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
cmp edx, 8
jb 0x40529a
mov ecx, dword [ebp - 0x4a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
cmp edx, 8
jb 0x4052fb
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4052f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
cmp edx, 8
jb 0x40535c
mov ecx, dword [ebp - 0x4d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405352
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
lea eax, [ebp - 0x4d0]
push eax
call fcn.004041f0
mov esi, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0xa00]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x470]
call fcn.00408c60
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x405395
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0x45c]
cmp edx, 8
jb 0x4053e1
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
cmp edx, 8
jb 0x40551f
mov ecx, dword [ebp - 0x4d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40543c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
jmp 0x40551f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
push eax
push edi
push str.DELETESELF
lea eax, [ebp - 0x410]
push str._s__d___s.bak_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x4b8]
push eax
call fcn.004041f0
cmp dword [eax + 0x14], 8
jb 0x405496
mov eax, dword [eax]
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x458]
push 0
cmovae ecx, dword [ebp - 0x458]
push eax
lea eax, [ebp - 0x410]
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x4a4]
cmp edx, 8
jb 0x405502
mov ecx, dword [ebp - 0x4b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4054f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 7
mov word [ebp - 0x4b8], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x405562
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405558
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055cf
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
jmp 0x405587
mov ebx, dword [ebp - 0xa04]
mov ecx, dword [ebx + 0x28]
mov eax, 0x3e0f83e1
sub ecx, dword [ebx + 0x24]
mov edi, dword [ebp - 0xa08]
imul ecx
inc edi
sar edx, 5
mov eax, edx
mov dword [ebp - 0xa08], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x404ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe70
mov esp, ebp
pop ebp
ret
call fcn.00444fd9
int3