Function at 0x42c79f
Capabilities:
Delete file
Move file

Disassembly:
push 0xa4
mov eax, 0x4f62b0
call fcn.004cb630
mov esi, ecx
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xac], eax
call fcn.0042b91f
lea eax, [esi + 0xb4]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], ebx
call fcn.00440a6c
push 1
lea ecx, [ebp - 0x9c]
call fcn.0042e6d2
test eax, eax
je 0x42c7fa
push 0xfffffffffffffffd
pop ebx
jmp 0x42cb1c
lea ecx, [ebp - 0x9c]
call fcn.0042ba26
mov ecx, edx
mov edi, eax
or eax, ecx
mov dword [ebp - 0xa4], ecx
jne 0x42c83e
cmp byte [esi + 0x1f8], bl
jne 0x42c83e
cmp byte [esi + 0x20c], bl
jne 0x42c83e
push ebx
push 2
lea eax, [esi + 0x1ec]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0042bc31
mov ecx, dword [ebp - 0xa4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x9d], bl
cmp ecx, eax
jl 0x42c85b
jg 0x42c854
cmp edi, edx
jb 0x42c85b
mov byte [ebp - 0x9d], 1
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jbe 0x42c9e8
mov edx, ebx
test ecx, ecx
je 0x42c88d
mov esi, ebx
mov eax, dword [edi + esi*4]
add edx, dword [eax + 0x14]
inc esi
cmp esi, ecx
jb 0x42c87c
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x48]
call fcn.004402b7
mov byte [ebp - 4], 1
test edx, edx
jle 0x42c8a6
push edx
lea ecx, [ebp - 0x44]
call fcn.004279a6
mov edi, dword [ebp - 0xac]
mov edx, ebx
mov dword [ebp - 0xa8], ebx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x42c973
cmp byte [esi + 0x1f8], 0
jne 0x42c8d8
cmp byte [esi + 0x20c], 0
je 0x42c939
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + 0x14]
add eax, 0xfffffffe
mov dword [ebp - 0xa4], eax
mov eax, ebx
je 0x42c933
mov ebx, dword [ebp - 0xa4]
push 0x20
pop edi
cmp dword [edx + 0x18], 8
lea ecx, [edx + 4]
jb 0x42c900
mov ecx, dword [edx + 4]
movzx ecx, word [ecx + eax*2]
cmp ecx, 0xd
je 0x42c90e
cmp ecx, 0xa
jne 0x42c91e
cmp dword [edx + 0x18], 8
lea ecx, [edx + 4]
jb 0x42c91a
mov ecx, dword [edx + 4]
mov word [ecx + eax*2], di
inc eax
cmp eax, ebx
jb 0x42c8f4
mov edi, dword [ebp - 0xac]
xor ebx, ebx
mov esi, dword [ebp - 0xb0]
mov ecx, dword [edi]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx + edx*4]
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x42c948
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0042d01a
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [edi]
inc edx
sub eax, ecx
mov dword [ebp - 0xa8], edx
sar eax, 2
cmp edx, eax
jb 0x42c8c6
cmp byte [esi + 0x1f8], 0
jne 0x42c9a6
cmp byte [esi + 0x20c], 0
jne 0x42c9a6
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
add eax, eax
cdq
push edx
push eax
push ecx
lea ecx, [ebp - 0x9c]
call fcn.0042bc31
jmp 0x42c9d8
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x60]
call fcn.004400ab
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x9c]
push ebx
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0042bc31
lea ecx, [ebp - 0x60]
call fcn.00401443
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00440d6c
jmp 0x42ca97
cmp byte [esi + 0x1f8], bl
jne 0x42ca1c
cmp byte [esi + 0x20c], bl
jne 0x42ca1c
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x42ca08
mov ecx, dword [ecx]
lea eax, [edx + edx]
cdq
push edx
push eax
push ecx
lea ecx, [ebp - 0x9c]
call fcn.0042bc31
jmp 0x42ca97
mov edx, dword [edi]
lea ecx, [ebp - 0x2c]
lea edx, [edx + 4]
call fcn.004400ab
mov byte [ebp - 4], 3
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
add eax, 0xfffffffe
je 0x42ca73
mov esi, eax
cmp edx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
mov al, byte [eax + ecx]
cmp al, 0xd
je 0x42ca53
cmp al, 0xa
jne 0x42ca66
cmp edx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
mov byte [eax + ecx], 0x20
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
inc ecx
cmp ecx, esi
jb 0x42ca3f
mov esi, dword [ebp - 0xb0]
xor ebx, ebx
push ebx
push dword [ebp - 0x1c]
cmp edx, 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
cmovae eax, edi
push eax
call fcn.0042bc31
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401443
lea ecx, [ebp - 0x9c]
call fcn.0042b9fb
cmp byte [ebp - 0x9d], 0
je 0x42cb1c
cmp byte [esi], 0
je 0x42cac7
add esi, 0xb8
cmp dword [esi + 0x14], 8
jb 0x42cabe
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42cb1c
lea edi, [esi + 0xf0]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42cad7
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
jb 0x42cae6
mov edi, dword [edi]
lea ebx, [esi + 0xd4]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42caf6
mov eax, dword [ebx]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call edi
cmp dword [ebx + 0x14], 8
jb 0x42cb08
mov ebx, dword [ebx]
add esi, 0xb8
cmp dword [esi + 0x14], 8
jb 0x42cb16
mov esi, dword [esi]
push ebx
push esi
call edi
xor ebx, ebx
lea ecx, [ebp - 0x9c]
call fcn.0042b943
mov eax, ebx
call fcn.004cb5da
ret 8