Function at 0x42dad0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x42dee3
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], 1
test edx, edx
jne 0x42db30
xor ecx, ecx
jmp 0x42db44
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42db35
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0042a060
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004299d0
mov esi, dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0042b910
or ebx, 0xffffffff
test eax, eax
jne 0x42dca1
push eax
push esi
call fcn.0056b8de
add esp, 8
test eax, eax
jne 0x42dce4
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x42deed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.0042c720
mov edi, dword [ebp + 8]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.0056b9b4
add esp, 8
test eax, eax
je 0x42dd11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.660_tCMemFile::WriteFile_tMoveFileEx_Rename_file_fail__error:_d
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
push 0x5b9868
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00429810
add esp, 0x20
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0042b910
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dc3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
je 0x42dccd
push 0x5b9868
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429810
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 0x42dc83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42dc9e
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.0042ce40
add esp, 4
test eax, eax
je 0x42ded9
mov byte [ebp - 4], 6
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x42deed
jmp 0x42ddce
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42dce4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42dcfb
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.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
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.0042b910
test eax, eax
jne 0x42dc83
push 0x5b9868
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429810
add esp, 0xc
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0042b910
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dd8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
je 0x42ddc1
push 0x5b9868
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429810
add esp, 0xc
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x1c]
call fcn.004296c0
jmp 0x42dc83
lea ecx, [ebp + 8]
call fcn.004296c0
jmp 0x42dce4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x42def7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.0042c8c0
add esp, 4
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.004297a0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42de32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0042cfc0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004297a0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42de6a
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.0042afa0
add esp, 0xc
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.0042b910
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dea5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42debf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ded9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x42dce6
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3