Function at 0x4629ac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4629b4
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x462c9f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00462cac
call fcn.00463d90
mov edx, esi
call fcn.00461028
test al, al
je 0x4629f5
lea eax, [ebx + 8]
mov edx, esi
call fcn.00406f08
jmp 0x462a0a
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0041d338
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 8]
call fcn.00406f08
lea eax, [ebx + 0x7c]
xor ecx, ecx
mov edx, 0xc
call fcn.00404a4c
lea eax, [ebx + 0x88]
xor ecx, ecx
mov edx, 0x324
call fcn.00404a4c
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x462a3e
mov dword [ebx + 0x88], 0x7fffffff
jmp 0x462a44
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x462a57
mov dword [ebx + 0x8c], 0x7fffffff
jmp 0x462a5d
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x90], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x98], eax
mov dword [ebx + 0xa0], 1
movzx eax, word [ebx + 0x28]
mov word [ebx + 0xa8], ax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0xa0]
mov eax, ebx
call fcn.004625b0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0xaa]
mov edx, dword [ebp - 4]
call fcn.0041d6a4
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 8]
call fcn.0041d2a4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x1aa]
mov edx, dword [ebp - 4]
call fcn.0041d6a4
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 8]
call fcn.0041d14c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x2aa]
mov edx, dword [ebp - 4]
call fcn.0041d6a4
mov byte [ebp - 9], 0
cmp word [ebx + 0x4a], 0
je 0x462b36
push 0
lea eax, [ebp - 9]
push eax
lea ecx, [ebx + 0x88]
mov edx, ebx
mov eax, dword [ebx + 0x4c]
call dword [ebx + 0x48]
cmp byte [ebp - 9], 0
jne 0x462c67
lea eax, [ebp - 0x20]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00407828
cmp dword [ebp - 0x20], 0
je 0x462b9e
lea eax, [ebp - 8]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00407828
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004230bc
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00406f50
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x2aa]
mov edx, dword [ebp - 4]
call fcn.0041d6a4
mov eax, dword [ebp - 8]
call fcn.0041cb8c
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00407828
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
lea edx, [ebx + 0x1aa]
mov ecx, pe_nt_image_headers32
call fcn.00407828
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.004615d0
mov eax, dword [ebp - 8]
call fcn.00407794
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
mov dword [ebx + 0x3ac], eax
xor eax, eax
mov dword [ebx + 0x3b0], eax
xor eax, eax
mov dword [ebx + 0x3b4], eax
push ebx
lea eax, [ebx + 0x88]
push eax
mov eax, 0x461e24
push eax
mov eax, 0x461df8
push eax
mov eax, 0x461de0
push eax
mov eax, 0x461dd0
push eax
mov eax, 0x461db8
push eax
mov eax, 0x461da0
push eax
mov eax, 0x461d88
push eax
mov eax, 0x461d78
push eax
mov eax, 0x461d68
push eax
mov eax, 0x461e34
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.00457320
add esp, 0x34
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
setne dl
mov eax, ebx
call fcn.004623f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ca6
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00406b88
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00406b88
lea eax, [ebp - 8]
call fcn.00406b28
lea eax, [ebp - 4]
call fcn.00406b4c
ret