Function at 0x42fb70
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f68e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea edx, [ebx + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.0042b960
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov byte [ebp - 0x69], 1
cmp esi, edi
je 0x42ff93
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push esi
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
call fcn.00405bb0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x74], eax
cmp eax, dword [ebx + 0xc]
je 0x42ff27
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x42fc43
cmp word [ecx], 0
jne 0x42fc48
mov ecx, 0x4aebf4
push ecx
mov ecx, eax
call fcn.00406190
test eax, eax
je 0x42fc67
mov eax, dword [ebp - 0x74]
add eax, 0x14
mov dword [ebp - 0x74], eax
cmp eax, dword [ebx + 0xc]
jne 0x42fc36
jmp 0x42ff27
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebx + 0xc]
je 0x42ff27
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x42fcb8
cmp word [eax], 0
je 0x42fcb8
mov dword [ebp - 0x74], eax
jmp 0x42fcc0
mov ecx, 0x4aebf4
mov dword [ebp - 0x74], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x42fcd0
cmp word [eax], 0
jne 0x42fcde
mov eax, 0x4aebf4
mov dword [ebp - 0x78], eax
cmp word [eax], 0
je 0x42fd18
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fce3
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x70], ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004064a0
push dword [ebp - 0x78]
push eax
push dword [ebp - 0x28]
call fcn.00480d25
mov eax, dword [ebp - 0x24]
add esp, 0xc
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
jmp 0x42fd1b
mov eax, dword [ebp - 0x24]
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.004064a0
push 0x4b5884
push eax
push dword [ebp - 0x28]
call fcn.00480d25
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [ebp - 0x74]
inc edx
mov dword [ebp - 0x24], edx
test eax, eax
je 0x42fd87
cmp word [eax], 0
je 0x42fd87
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fd52
sub ecx, dword [ebp - 0x70]
sar ecx, 1
mov dword [ebp - 0x70], ecx
lea eax, [edx + ecx]
push eax
lea ecx, [ebp - 0x28]
call fcn.004064a0
mov ecx, dword [ebp - 0x74]
push ecx
push eax
push dword [ebp - 0x28]
call fcn.00480d25
mov eax, dword [ebp - 0x70]
add esp, 0xc
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42fd94
cmp word [eax], 0
jne 0x42fd99
mov eax, 0x4aebf4
cmp word [eax], 0
mov dword [ebp - 0x78], eax
je 0x42fddc
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fda7
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x70], ecx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004064a0
push dword [ebp - 0x78]
push eax
push dword [ebp - 0x3c]
call fcn.00480d25
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
jmp 0x42fddf
mov eax, dword [ebp - 0x38]
add eax, 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.004064a0
push str._tmp
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00480d25
add dword [ebp - 0x38], 4
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42fe0e
cmp word [eax], 0
jne 0x42fe13
mov eax, 0x4aebf4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x42fe3d
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42fe31
cmp word [eax], 0
jne 0x42fe36
mov eax, 0x4aebf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42fe4a
cmp word [eax], 0
jne 0x42fe4f
mov eax, 0x4aebf4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x42fea1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42fe6f
cmp word [eax], 0
mov edx, eax
jne 0x42fe74
mov edx, 0x4aebf4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42fe81
cmp word [eax], 0
jne 0x42fe86
mov eax, 0x4aebf4
mov ecx, eax
call fcn.0042a730
test al, al
je 0x43007d
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00413c10
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42feb8
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test eax, eax
je 0x42fee4
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42fefb
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x42ff27
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x42ff3b
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x42ff4b
push eax
call fcn.00480a27
add esp, 4
add esi, 0x14
cmp esi, edi
jne 0x42fc10
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x42ff8d
push dword [ebp - 0x70]
mov edx, eax
push ecx
mov ecx, esi
call fcn.00413ef0
mov ecx, dword [ebp - 0x4c]
mov eax, 0x66666667
sub ecx, esi
add esp, 8
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00413d80
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
test esi, esi
je 0x42ffdc
push dword [ebp - 0x70]
mov edx, edi
push ecx
mov ecx, esi
call fcn.00413ef0
mov ecx, dword [ebp - 0x40]
mov eax, 0x66666667
mov esi, dword [ebp - 0x48]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00413d80
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x430027
push dword [ebp - 0x70]
mov edx, dword [ebx + 0xc]
push ecx
call fcn.00413ef0
mov ecx, dword [ebx + 0x10]
mov eax, 0x66666667
mov esi, dword [ebx + 8]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00413d80
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x43003e
push eax
call fcn.00480a27
add esp, 4
mov dword [ebx + 0x14], 0
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
test ecx, ecx
je 0x43005c
push ecx
call fcn.00480a27
add esp, 4
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4300b3
cmp word [esi], 0
je 0x4300b3
sub esp, 8
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.004237d0
mov edi, dword [ebp - 0x1c]
add esp, 8
test edi, edi
je 0x4300ae
cmp byte [edi], 0
je 0x4300ae
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x74], edi
jmp 0x4300bd
mov esi, dword [ebp - 0x28]
jmp 0x4300b6
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x74], 0x4afda8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x74]
push str.renameOldDll._renameFile_faild._path_s__lastErr_d
push str.Utils
push 0x893
push str.utilsUtils.cpp
push 4
call fcn.0040e400
push eax
call fcn.00402c30
mov eax, dword [ebp - 0x3c]
add esp, 0x20
mov byte [ebp - 0x69], 0
test eax, eax
je 0x4300ff
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43010f
push eax
call fcn.00480a27
add esp, 4
test esi, esi
je 0x43011c
push esi
call fcn.00480a27
add esp, 4
test edi, edi
je 0x430129
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x430139
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x430149
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 0x54]
mov esi, ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
je 0x42ff59
nop dword [eax]
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x70], eax
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x3c], xmm0
test eax, eax
je 0x4301c6
cmp word [eax], 0
je 0x4301c6
mov edi, eax
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x430190
sub edi, ecx
lea ecx, [ebp - 0x3c]
sar edi, 1
push edi
call fcn.004064a0
push edi
push dword [ebp - 0x70]
push eax
push dword [ebp - 0x3c]
call fcn.0048618e
mov eax, dword [ebp - 0x3c]
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x38], edi
mov word [eax + edi*2], cx
jmp 0x4301c9
mov edi, dword [ebp - 0x38]
lea eax, [edi - 4]
mov dword [ebp - 0x18], 0
push eax
push 0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x28], xmm0
call fcn.00406330
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4301f6
cmp word [eax], 0
jne 0x4301fb
mov eax, 0x4aebf4
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x43020a
cmp word [edi], 0
mov ecx, edi
jne 0x43020f
mov ecx, 0x4aebf4
mov edx, eax
call fcn.0042a730
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43022d
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x430259
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test edi, edi
je 0x430266
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x430276
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x50]
add esi, 0x14
cmp esi, eax
jne 0x430160
jmp 0x42ff59