Function at 0x42d2f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42d70f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
jne 0x42d349
xor ecx, ecx
jmp 0x42d35f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d350
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00429870
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00429240
mov esi, dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0042b060
or ebx, 0xffffffff
test eax, eax
jne 0x42d4b9
push eax
push esi
call fcn.00555d0e
add esp, 8
test eax, eax
jne 0x42d4fc
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42d719
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.0042bf70
mov edi, dword [ebp + 8]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.00555de4
add esp, 8
test eax, eax
je 0x42d530
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.660_tCMemFile::WriteFile_tMoveFileEx_Rename_file_fail__error:_d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
push 0x5ad78c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00429080
add esp, 0x20
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0042b060
mov edx, dword [ebp - 0x18]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42d459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42d4e1
push 0x5ad78c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429080
add esp, 0xc
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d49b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42d4b6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0042c580
add esp, 4
test eax, eax
je 0x42d705
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42d719
jmp 0x42d5ee
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42d4fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42d51a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push str.669_tCMemFile::WriteFile_tMoveFileEx_Rename_file_succeed__path:_ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x14
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0042b060
test eax, eax
jne 0x42d49b
push 0x5ad78c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429080
add esp, 0xc
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042b060
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42d5b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42d5e1
push 0x5ad78c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429080
add esp, 0xc
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x1c]
call fcn.00428fc0
jmp 0x42d49b
lea ecx, [ebp + 8]
call fcn.00428fc0
jmp 0x42d4fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x42d723
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
call fcn.0042c030
add esp, 4
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.0042a6a0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d652
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0042c7d0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0042a6a0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d68a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a710
add esp, 0xc
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0042b060
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d6c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d6e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d705
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x42d4fe
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3