Function at 0x467ab0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4e3548
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00466a20
xor ebp, ebp
mov edi, esi
mov dword [esp + 0x2c], ebp
call fcn.004013f0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467b1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
call fcn.004012d0
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00421540
mov edi, dword [esp + 0x18]
push edi
call fcn.004682e0
add esp, 4
test eax, eax
jne 0x467b9e
push edi
push str.C7zExtractImpl::TryCreateFile_CreateDeepDirectory___ws_error
mov ecx, 0x515890
call fcn.004899e0
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi]
push ebp
push 0x80
push 2
push ebp
push 1
push 0xc0000000
mov dword [esp + 0x38], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call ebp
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x467d61
mov eax, dword [esi]
push 0
push eax
call fcn.004bbfee
add esp, 8
test eax, eax
mov eax, dword [esi]
jne 0x467e23
sub eax, 0x10
call fcn.004012d0
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00421540
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x34], edi
mov byte [esp + 0x2c], 3
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x105
or eax, ecx
jge 0x467c3e
mov ecx, 0x105
lea eax, [esp + 0x34]
call fcn.00401130
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push edi
push 0
push 0x4ef7d8
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test edi, edi
jne 0x467c59
xor ecx, ecx
jmp 0x467c75
mov ecx, edi
lea ebp, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x467c60
sub ecx, ebp
sar ecx, 1
js 0x467e19
cmp ecx, dword [edi - 8]
jg 0x467e19
test eax, eax
mov dword [edi - 0xc], ecx
mov word [edi + ecx*2], 0
jne 0x467ca3
mov edx, dword [esi]
push edx
push str._s.tmp
lea edi, [esp + 0x3c]
call fcn.00406040
mov edi, dword [esp + 0x3c]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
push edi
push eax
call fcn.004baee3
add esp, 8
test eax, eax
je 0x467de1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [esi]
add esp, 8
sub eax, 0x10
call fcn.004012d0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2c], 4
mov edx, 0x4efdd8
mov edi, esi
call fcn.00413750
mov eax, dword [esi]
call fcn.00467a90
cmp eax, 0xffffffff
mov dword [esp + 0x20], 1
mov dword [ebx], eax
jne 0x467d2a
lea ecx, [esp + 0x1c]
call fcn.00416ce0
lea ecx, [esp + 0x34]
call fcn.00416ce0
lea ecx, [esp + 0x14]
jmp 0x467e79
mov eax, dword [esi]
push 5
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea ecx, [esp + 0x1c]
je 0x467d13
call fcn.00416ce0
lea ecx, [esp + 0x34]
call fcn.00416ce0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00416ce0
cmp dword [esp + 0x20], 0
jne 0x467d9f
lea ecx, [esp + 0x34]
push esi
push ecx
mov ebx, 0x4efdd8
call fcn.00413810
mov edx, dword [esp + 0x3c]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467dc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x20
ret 4
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esi]
call fcn.00467a90
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x467d43
mov eax, dword [esi]
sub eax, 0x10
call fcn.004012d0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2c], 5
jmp 0x467ced
push 0x80070057
call fcn.00401340
sub eax, 0x10
call fcn.004012d0
add eax, 0x10
mov dword [esp + 0x34], eax
mov edx, 0x4efdd8
mov edi, esi
mov byte [esp + 0x2c], 6
call fcn.00413750
mov eax, dword [esi]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call ebp
cmp eax, 0xffffffff
mov dword [ebx], eax
je 0x467e75
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x467eca
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call fcn.00416ce0
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
je 0x467e9a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
push edx
push str.TryCreateFile___ws__error:_d
mov ecx, 0x515890
call fcn.004899e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffff0
jmp 0x467b6e
lea ecx, [esp + 0x34]
call fcn.00416ce0
jmp 0x467d9f