Function at 0x4070e0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x43a416
call fcn.00413db0
push ecx
mov eax, 0x105c
call fcn.00413790
mov eax, dword [0x44c360]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x10], 1
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1024], esi
mov dword [ebp - 4], ebx
jne 0x4073a4
mov byte [ebp - 0x101c], bl
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x101b]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x370]
stosw word es:[edi], ax
push 0x1000
lea edx, [ebp - 0x101c]
stosb byte es:[edi], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov edi, eax
cmp edi, ebx
lea ecx, [esi + 0x360]
mov eax, dword [ecx]
jbe 0x407196
push edi
lea edx, [ebp - 0x101c]
push edx
call dword [eax + 0x38]
push 1
lea eax, [esi + 0x324]
push eax
lea ecx, [ebp - 0x1064]
call fcn.004093db
lea eax, [esi + 0x350]
add dword [eax], edi
mov dword [esi + 0x344], 2
lea ecx, [ebp - 0x1064]
adc dword [eax + 4], ebx
jmp 0x4073d4
call dword [eax + 0x4c]
mov eax, dword [esi + 0x14]
lea ecx, [eax + 0x1c]
push ecx
add eax, 0x120
push eax
push 0x43c9a8
lea edi, [esi + 0x11c]
push 0x104
push edi
call fcn.0041388c
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x14]
cmp byte [eax], bl
jne 0x4071ef
push 0xa
push ebx
push ebx
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
test eax, eax
jne 0x407362
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x407362
lea ecx, [ebp - 0x1048]
call fcn.00430f9a
push ebx
lea eax, [esi + 0x18]
push 0x40
push eax
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.00431232
cmp eax, ebx
je 0x40733f
push 8
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00430cad
mov eax, dword [ebp - 0x1060]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x105c]
mov dword [ebp - 0x102c], eax
inc eax
push eax
call fcn.004301ca
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x1020]
pop ecx
add eax, 9
push eax
call fcn.004301ca
pop ecx
push ebx
push ebx
mov edi, eax
mov eax, dword [ebp - 0x1048]
push ebx
lea ecx, [ebp - 0x1048]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x1020]
add eax, 8
push eax
push edi
lea ecx, [ebp - 0x1048]
call fcn.00430cad
mov ecx, dword [ebp - 0x1020]
add ecx, 8
cmp eax, ecx
jne 0x40733f
push 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1020]
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x102c]
push eax
push dword [ebp - 0x1028]
mov byte [ebp - 0x1c], 0x5d
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 1
call fcn.00423970
cmp eax, ebx
jne 0x40732c
push 0x1001
lea eax, [esi + 0x11c]
push eax
lea ecx, [ebp - 0x1058]
call fcn.004313c5
push dword [ebp - 0x102c]
lea ecx, [ebp - 0x1058]
push dword [ebp - 0x1028]
mov byte [ebp - 4], 2
call fcn.00430ced
lea ecx, [ebp - 0x1058]
call fcn.00430dd3
lea ecx, [ebp - 0x1058]
call fcn.00430f38
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 1
call fcn.00430fd9
push dword [ebp - 0x1028]
call fcn.004301cf
pop ecx
push edi
call fcn.004301cf
pop ecx
lea ecx, [ebp - 0x1048]
call fcn.00430f38
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.00430fd9
push 1
lea eax, [esi + 0x324]
push eax
lea ecx, [ebp - 0x1038]
call fcn.004093db
lea ecx, [ebp - 0x1038]
mov dword [esi + 0x344], 3
call fcn.00409406
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004137fe
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
inc edi
push edi
lea eax, [esi + 0x324]
push eax
lea ecx, [ebp - 0x1038]
call fcn.004093db
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi + 0x344], edi
call fcn.00406c9d
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1038]
call fcn.00409406
xor al, al
jmp 0x40738d