Function at 0x42c7ac
Capabilities:
Delete file
Move file

Disassembly:
push 0xa4
mov eax, 0x4f6340
call fcn.004cb6c8
mov esi, ecx
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xac], eax
call fcn.0042b92c
lea eax, [esi + 0xb4]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], ebx
call fcn.00440ae9
push 1
lea ecx, [ebp - 0x9c]
call fcn.0042e6e1
test eax, eax
je 0x42c807
push 0xfffffffffffffffd
pop ebx
jmp 0x42cb29
lea ecx, [ebp - 0x9c]
call fcn.0042ba33
mov ecx, edx
mov edi, eax
or eax, ecx
mov dword [ebp - 0xa4], ecx
jne 0x42c84b
cmp byte [esi + 0x1f8], bl
jne 0x42c84b
cmp byte [esi + 0x20c], bl
jne 0x42c84b
push ebx
push 2
lea eax, [esi + 0x1ec]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0042bc3e
mov ecx, dword [ebp - 0xa4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x9d], bl
cmp ecx, eax
jl 0x42c868
jg 0x42c861
cmp edi, edx
jb 0x42c868
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 0x42c9f5
mov edx, ebx
test ecx, ecx
je 0x42c89a
mov esi, ebx
mov eax, dword [edi + esi*4]
add edx, dword [eax + 0x14]
inc esi
cmp esi, ecx
jb 0x42c889
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x48]
call fcn.00440334
mov byte [ebp - 4], 1
test edx, edx
jle 0x42c8b3
push edx
lea ecx, [ebp - 0x44]
call fcn.004279b3
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 0x42c980
cmp byte [esi + 0x1f8], 0
jne 0x42c8e5
cmp byte [esi + 0x20c], 0
je 0x42c946
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + 0x14]
add eax, 0xfffffffe
mov dword [ebp - 0xa4], eax
mov eax, ebx
je 0x42c940
mov ebx, dword [ebp - 0xa4]
push 0x20
pop edi
cmp dword [edx + 0x18], 8
lea ecx, [edx + 4]
jb 0x42c90d
mov ecx, dword [edx + 4]
movzx ecx, word [ecx + eax*2]
cmp ecx, 0xd
je 0x42c91b
cmp ecx, 0xa
jne 0x42c92b
cmp dword [edx + 0x18], 8
lea ecx, [edx + 4]
jb 0x42c927
mov ecx, dword [edx + 4]
mov word [ecx + eax*2], di
inc eax
cmp eax, ebx
jb 0x42c901
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 0x42c955
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0042d027
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 0x42c8d3
cmp byte [esi + 0x1f8], 0
jne 0x42c9b3
cmp byte [esi + 0x20c], 0
jne 0x42c9b3
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.0042bc3e
jmp 0x42c9e5
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x60]
call fcn.00440128
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.0042bc3e
lea ecx, [ebp - 0x60]
call fcn.00401443
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00440de9
jmp 0x42caa4
cmp byte [esi + 0x1f8], bl
jne 0x42ca29
cmp byte [esi + 0x20c], bl
jne 0x42ca29
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x42ca15
mov ecx, dword [ecx]
lea eax, [edx + edx]
cdq
push edx
push eax
push ecx
lea ecx, [ebp - 0x9c]
call fcn.0042bc3e
jmp 0x42caa4
mov edx, dword [edi]
lea ecx, [ebp - 0x2c]
lea edx, [edx + 4]
call fcn.00440128
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 0x42ca80
mov esi, eax
cmp edx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
mov al, byte [eax + ecx]
cmp al, 0xd
je 0x42ca60
cmp al, 0xa
jne 0x42ca73
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 0x42ca4c
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.0042bc3e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401443
lea ecx, [ebp - 0x9c]
call fcn.0042ba08
cmp byte [ebp - 0x9d], 0
je 0x42cb29
cmp byte [esi], 0
je 0x42cad4
add esi, 0xb8
cmp dword [esi + 0x14], 8
jb 0x42cacb
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42cb29
lea edi, [esi + 0xf0]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42cae4
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
jb 0x42caf3
mov edi, dword [edi]
lea ebx, [esi + 0xd4]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42cb03
mov eax, dword [ebx]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call edi
cmp dword [ebx + 0x14], 8
jb 0x42cb15
mov ebx, dword [ebx]
add esi, 0xb8
cmp dword [esi + 0x14], 8
jb 0x42cb23
mov esi, dword [esi]
push ebx
push esi
call edi
xor ebx, ebx
lea ecx, [ebp - 0x9c]
call fcn.0042b950
mov eax, ebx
call fcn.004cb672
ret 8