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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x4f0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1800ba080]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov ebx, edx
mov rdi, rcx
call fcn.18004b560
xor esi, esi
cmp eax, esi
je 0x18004bb9c
mov rcx, rdi
call fcn.18004b5c0
cmp eax, esi
je 0x18004bb9c
mov dword [rsp + 0x30], esi
mov word [rsp + 0xc0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc2]
call fcn.1800729a0
lea rdx, [rsp + 0xc0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.1800326d4
mov r8d, eax
lea rdx, str.___08x
lea rcx, [rsp + 0x78]
call fcn.180033ea8
cmp qword [rax + 0x20], 8
jb 0x18004b91d
mov rdx, qword [rax + 8]
jmp 0x18004b921
lea rdx, [rax + 8]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x98], 8
jb 0x18004b947
mov rcx, qword [rsp + 0x80]
call fcn.18006e998
lea rcx, [rsp + 0xc0]
call fcn.1800317d0
cmp eax, esi
je 0x18004bb89
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call fcn.1800638b0
cmp eax, esi
jne 0x18004bb89
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
lea r8, [0x18004bbc4]
mov ebp, 1
mov edx, ebp
lea rcx, [rsp + 0xc0]
call fcn.1800311d4
cmp dword [rsp + 0x30], esi
je 0x18004bb89
mov word [rsp + 0x2d0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2d2]
call fcn.1800729a0
mov rdx, rdi
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbx, rax
cmp rax, rsi
je 0x18004ba1b
lea rdx, str..rar
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, str..zip
cmp eax, esi
cmovne rcx, rbx
mov rbx, rcx
call fcn.1800326d4
mov r8d, eax
mov r9, rbx
lea rdx, str..._08x._s
lea rcx, [rsp + 0x78]
call fcn.180033ea8
cmp qword [rax + 0x20], 8
jb 0x18004ba44
mov rdx, qword [rax + 8]
jmp 0x18004ba48
lea rdx, [rax + 8]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x98], 8
jb 0x18004ba6e
mov rcx, qword [rsp + 0x80]
call fcn.18006e998
mov r9d, ebp
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.18003161c
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.18004f6f4
nop
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x2d0]
call fcn.180062eb8
cmp eax, esi
sete bl
lea rcx, [rsp + 0x78]
call fcn.1800351e8
mov rcx, qword [rsp + 0x78]
call fcn.18006e998
cmp bl, sil
je 0x18004bb1f
mov ebx, esi
mov r8d, ebp
mov rdx, rdi
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x18004baf7
mov r8d, ebp
mov rdx, rdi
lea rcx, [rsp + 0x2d0]
call fcn.18004b248
jmp 0x18004baf9
mov eax, ebp
cmp eax, esi
jne 0x18004bb23
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebp
cmp ebx, 5
jl 0x18004baca
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x18004bb23
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
je 0x18004bb70
mov rdi, qword [rsp + 0x68]
cmp rcx, rdi
je 0x18004bb6b
lea rbx, [rcx + 0x20]
cmp qword [rbx], 8
jb 0x18004bb4a
mov rcx, qword [rbx - 0x18]
call fcn.18006e998
mov qword [rbx], 7
mov qword [rbx - 8], rsi
mov word [rbx - 0x18], si
add rbx, 0x28
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18004bb3b
mov rcx, qword [rsp + 0x60]
call fcn.18006e998
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x48]
call fcn.18006e998
lea rcx, [rsp + 0xc0]
call fcn.1800321c0
mov eax, dword [rsp + 0x30]
jmp 0x18004bb9e
xor eax, eax
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.18006e130
mov rbx, qword [rsp + 0x520]
add rsp, 0x4f0
pop rdi
pop rsi
pop rbp
ret