Function at 0x1400347a0
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor r13d, r13d
mov r12, rcx
mov qword [rsp + 0x68], rcx
mov ebx, r13d
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x140034813
test byte [rcx + 0x1c], 1
je 0x140034813
cmp byte [rcx + 0x19], 4
jb 0x140034813
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x147
call fcn.14001dd24
mov ecx, dword [r12 + reloc.ADVAPI32.dll_TraceEvent]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x40], r14
mov rdi, r13
mov qword [rsp + 0x58], r13
mov rsi, r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
call fcn.1400b3f28
test al, 8
jne 0x140034897
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x140034952
test byte [rcx + 0x1c], 1
je 0x140034952
cmp byte [rcx + 0x19], 4
jb 0x140034952
mov r9d, dword [r12 + reloc.ADVAPI32.dll_TraceEvent]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x148
call fcn.14001de24
jmp 0x140034952
cmp qword [r12 + 0x1d8], r13
jne 0x1400348e1
mov ebx, 0x80070057
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x140034952
test byte [rcx + 0x1c], 1
je 0x140034952
cmp byte [rcx + 0x19], 2
jb 0x140034952
mov edx, 0x149
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
call fcn.14001dd24
jmp 0x140034952
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140032e7c
mov ebx, eax
test eax, eax
jns 0x140034981
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x140034928
test byte [rcx + 0x1c], 1
je 0x140034928
cmp byte [rcx + 0x19], 2
jb 0x140034928
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x14a
mov r9d, eax
call fcn.14001de24
mov r15, qword [rsp + 0x50]
test r15, r15
je 0x140034943
mov rcx, r15
call fcn.1400ba630
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp r14, 0xffffffffffffffff
je 0x140034952
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r15, qword [rsp + 0x50]
test r15, r15
jne 0x1400349b4
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034952
test byte [rcx + 0x1c], 1
je 0x140034952
cmp byte [rcx + 0x19], 4
jb 0x140034952
mov edx, 0x14b
jmp 0x1400348cf
mov rcx, qword [r12 + 0x1d8]
lea rax, [rsp + 0x70]
lea r9, [0x140004178]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140131854
mov ebx, eax
test eax, eax
js 0x140034f8b
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
xor r9d, r9d
call fcn.14011ed74
mov ebx, eax
test eax, eax
jns 0x140034a4a
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034a3b
test byte [rcx + 0x1c], 1
je 0x140034a3b
cmp byte [rcx + 0x19], 2
jb 0x140034a3b
mov r9, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x14c
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
jmp 0x140034f8b
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x40], r14
test rdi, rdi
je 0x140034f66
movups xmm0, xmmword [0x14000ab48]
movdqu xmmword [rbp - 0x78], xmm0
test rsi, rsi
je 0x140034a81
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140034a96
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400afd3c
mov ebx, eax
test eax, eax
js 0x140034fe1
mov rsi, qword [rsp + 0x48]
lea rdx, [0x140004188]
mov r8d, 3
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140034b06
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034f21
test byte [rcx + 0x1c], 1
je 0x140034f21
cmp byte [rcx + 0x19], 4
jb 0x140034f21
mov edx, 0x14d
jmp 0x140034b92
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r13w
jne 0x140034b0a
cmp rax, 0x24
jae 0x140034b4c
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034f21
test byte [rcx + 0x1c], 1
je 0x140034f21
cmp byte [rcx + 0x19], 4
jb 0x140034f21
mov edx, 0x14e
jmp 0x140034b92
lea rdx, [rbp - 0x78]
mov rcx, rsi
mov word [rsi + 0x48], r13w
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
je 0x140034baa
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034f21
test byte [rcx + 0x1c], 1
je 0x140034f21
cmp byte [rcx + 0x19], 4
jb 0x140034f21
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov r9, rdi
call fcn.14001ec40
jmp 0x140034f21
lea rax, [rbp - 0x78]
lea rcx, [0x14000ab48]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x140034bcc
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
jne 0x140034bcc
mov eax, r13d
jmp 0x140034bd1
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
je 0x140034f21
mov r9, qword [rsp + 0x50]
mov r14d, r13d
mov r15, r13
mov r8d, dword [r9 + 0x40]
test r8d, r8d
je 0x140034c27
mov eax, r14d
lea rcx, [rbp - 0x78]
imul rax, rax, 0x78
add rax, qword [r9 + 0x48]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x140034c13
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
jne 0x140034c13
mov eax, r13d
jmp 0x140034c18
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
je 0x140034c27
inc r14d
inc r15
cmp r14d, r8d
jb 0x140034bed
cmp r14d, r8d
jb 0x140034c74
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034f1c
test byte [rcx + 0x1c], 1
je 0x140034f1c
cmp byte [rcx + 0x19], 3
jb 0x140034f1c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x150
mov r9, rdi
call fcn.14001ec40
jmp 0x140034f1c
mov r12d, dword [r12 + reloc.ADVAPI32.dll_TraceEvent]
xor r8d, r8d
mov esi, r13d
mov qword [rbp - 0x80], r13
test r12d, r12d
je 0x140034cf9
mov rbx, qword [rsp + 0x68]
mov rdi, qword [r9 + 0x48]
mov rax, qword [rbp - 0x80]
imul r15, r15, 0x78
mov rbx, qword [rbx + 0xd8]
movzx r13d, word [r15 + rdi + 0x44]
add rbx, 0x70
cmp r13w, word [rbx - 6]
jne 0x140034cd6
test r13w, r13w
je 0x140034cd6
mov rdx, qword [rbx]
mov rcx, qword [r15 + rdi + 0x48]
movzx r8d, r13w
call sub.msvcrt.dll_memcmp
xor r8d, r8d
test eax, eax
je 0x140034ceb
mov rax, qword [rbp - 0x80]
inc rax
inc esi
add rbx, 0x170
mov qword [rbp - 0x80], rax
cmp esi, r12d
jb 0x140034cad
mov rdi, qword [rsp + 0x58]
mov r13, qword [rbp - 0x80]
mov r9, qword [rsp + 0x50]
cmp esi, r12d
jne 0x140034d5d
mov rax, qword [0x14017d3a8]
lea rcx, [0x14017d3a8]
cmp rax, rcx
je 0x140034d50
test byte [rax + 0x1c], 1
je 0x140034d50
cmp byte [rax + 0x19], 4
jb 0x140034d50
mov edx, r14d
lea rcx, [rbp - 0x60]
imul rdx, rdx, 0x78
add rdx, qword [r9 + 0x48]
call fcn.1400a9700
mov rcx, qword [0x14017d3a8]
lea r8, [0x140003c28]
mov rcx, qword [rcx + 0x10]
mov edx, 0x151
mov r9, rax
call fcn.14001ec40
mov r12, qword [rsp + 0x68]
xor r13d, r13d
jmp 0x140034f17
mov r12, qword [rsp + 0x68]
mov eax, r14d
imul rsi, rsi, 0x170
mov rcx, qword [r12 + 0xd8]
imul rax, rax, 0x78
add rax, qword [r9 + 0x48]
mov rdx, qword [rax]
cmp rdx, qword [rcx + rsi + 0x44]
jne 0x140034d96
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + rsi + 0x4c]
jne 0x140034d96
mov eax, r8d
jmp 0x140034d9b
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
jne 0x140034ddb
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140034d55
test byte [rcx + 0x1c], 1
je 0x140034d55
cmp byte [rcx + 0x19], 4
jb 0x140034d55
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x152
mov r9, rdi
call fcn.14001ec40
jmp 0x140034d55
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140034df4
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x60], 0
mov rax, qword [r12 + 0xd8]
lea rcx, [rsp + 0x60]
imul r13, r13, 0x170
mov r8d, dword [rax + r13 + 0x54]
lea rdx, [rax + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, qword [r12 + 0x1d8]
lea r9, [0x140004178]
add rdx, rsi
call fcn.140131854
mov ebx, eax
test eax, eax
js 0x140034fd2
mov rax, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rax, r14
je 0x140034eb9
test byte [rax + 0x1c], 1
je 0x140034eb9
cmp byte [rax + 0x19], 4
jb 0x140034eb9
mov rcx, qword [r12 + 0xd8]
lea rbx, [0x1400056c0]
mov rax, qword [rcx + r13 + 0x58]
lea rdx, [rcx + 0x44]
xor r13d, r13d
test rax, rax
lea rcx, [rbp - 0x60]
cmovne rbx, rax
add rdx, rsi
call fcn.1400a9700
mov rcx, qword [0x14017d3a8]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
lea r8, [0x140003c28]
mov edx, 0x153
mov r9, rdi
mov qword [rsp + 0x20], rbx
call fcn.140028fc8
jmp 0x140034ec1
mov rbx, qword [rsp + 0x60]
xor r13d, r13d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140034f17
mov rax, qword [0x14017d3a8]
cmp rax, r14
je 0x140034f17
test byte [rax + 0x1c], 1
je 0x140034f17
cmp byte [rax + 0x19], 3
jb 0x140034f17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14017d3a8]
lea r8, [0x140003c28]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov edx, 0x154
mov r9, rdi
mov qword [rsp + 0x20], rbx
call fcn.140028ec8
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
test rdi, rdi
je 0x140034f34
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x58]
xor r9d, r9d
mov rdx, r14
call fcn.14011ef8c
mov rdi, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
js 0x140034fe1
test rdi, rdi
jne 0x140034a62
mov r15, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
or r14, 0xffffffffffffffff
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140034f86
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x70], r13
je 0x140034f9d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rdi, rdi
je 0x140034fab
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rsi, rsi
je 0x140034fb9
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003492d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14003492d
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
xor r13d, r13d
jmp 0x140034f73
mov r15, qword [rsp + 0x50]
jmp 0x140034f73