Function at 0x1400a6a20
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
movzx r14d, r8b
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x14068db20]
test rax, rax
jne 0x1400a6a69
call fcn.140068d80
mov qword [0x14068db20], rax
mov rbx, rax
xor r12d, r12d
mov word [rbp + 0x150], r12w
mov byte [rbp + 0x167], reloc.WS2_32.dll_inet_addr
test rax, rax
jne 0x1400a6a8f
call fcn.140068d80
mov qword [0x14068db20], rax
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], r12d
lea rax, [rbp + 0x180]
mov qword [rbp + 0x178], rax
mov qword [rbp + 0x168], rbx
mov dword [rbp + 0x170], r12d
mov word [rbp + 0x150], r12w
mov byte [rbp + 0x167], reloc.WS2_32.dll_inet_addr
lea rax, [rbp + 0x180]
mov qword [rbp + 0x150], rax
movabs r13, 0x80000000000000ff
mov qword [rbp + 0x160], r13
mov qword [rbp + 0x158], r12
mov word [rbp + 0x180], r12w
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.1400b42d0
mov esi, eax
mov r9d, eax
movsx rdx, byte [rbp + 0x167]
movzx ecx, dl
shr cl, 7
mov ebx, reloc.WS2_32.dll_inet_addr
mov r8, qword [rbp + 0x158]
test cl, 1
je 0x1400a6b33
mov rcx, r8
jmp 0x1400a6b39
mov rcx, rbx
sub rcx, rdx
cmp r9, rcx
jae 0x1400a6b87
movzx eax, dl
shr al, 7
mov rcx, qword [rbp + 0x150]
test al, 1
je 0x1400a6b55
lea r8, [rcx + r8*2]
jmp 0x1400a6b65
mov rax, rdx
add rax, rax
lea r8, [rbp + 0x166]
sub r8, rax
shr dl, 7
lea rax, [rbp + 0x150]
test dl, dl
cmovne rax, rcx
lea rdx, [rax + rsi*2]
lea rcx, [rbp + 0x150]
call fcn.1400aac30
jmp 0x1400a6b9e
jbe 0x1400a6ba5
xor r8d, r8d
sub r9, rcx
mov rdx, r9
lea rcx, [rbp + 0x150]
call fcn.1400aa760
movzx edx, byte [rbp + 0x167]
shr dl, 7
lea rcx, [rbp + 0x150]
test dl, dl
cmovne rcx, qword [rbp + 0x150]
lea r8d, [rsi + 1]
mov r9, 0xffffffffffffffff
mov rdx, rdi
call fcn.1400b42d0
mov rax, qword [0x14068db20]
test rax, rax
jne 0x1400a6be4
call fcn.140068d80
mov qword [0x14068db20], rax
mov rdi, rax
mov word [rsp + 0x20], r12w
mov byte [rsp + 0x37], bl
test rax, rax
jne 0x1400a6c02
call fcn.140068d80
mov qword [0x14068db20], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], r12d
mov word [rsp + 0x20], r12w
mov byte [rsp + 0x37], bl
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov word [rsp + 0x50], r12w
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
xor ecx, ecx
call fcn.1400b42d0
mov edi, eax
mov r9d, eax
movsx rdx, byte [rsp + 0x37]
movzx ecx, dl
shr cl, 7
mov r8, qword [rsp + 0x28]
test cl, 1
je 0x1400a6c78
mov rbx, r8
jmp 0x1400a6c7b
sub rbx, rdx
cmp r9, rbx
jae 0x1400a6cc1
movzx eax, dl
shr al, 7
mov rcx, qword [rsp + 0x20]
test al, 1
je 0x1400a6c95
lea r8, [rcx + r8*2]
jmp 0x1400a6ca3
mov rax, rdx
add rax, rax
lea r8, [rsp + 0x36]
sub r8, rax
shr dl, 7
lea rax, [rsp + 0x20]
test dl, dl
cmovne rax, rcx
lea rdx, [rax + rdi*2]
lea rcx, [rsp + 0x20]
call fcn.1400aac30
jmp 0x1400a6cd6
jbe 0x1400a6cdb
xor r8d, r8d
sub r9, rbx
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400aa760
movzx edx, byte [rsp + 0x37]
shr dl, 7
lea rcx, [rsp + 0x20]
test dl, dl
cmovne rcx, qword [rsp + 0x20]
lea r8d, [rdi + 1]
mov r9, 0xffffffffffffffff
mov rdx, r15
call fcn.1400b42d0
movzx eax, byte [rsp + 0x37]
shr al, 7
lea rdi, [rsp + 0x20]
test al, al
cmovne rdi, qword [rsp + 0x20]
movzx eax, byte [rbp + 0x167]
shr al, 7
test al, 1
je 0x1400a6d67
mov rbx, qword [rbp + 0x150]
test rbx, rbx
jne 0x1400a6d6e
xor bl, bl
movzx ecx, byte [rsp + 0x37]
movzx eax, cl
shr al, 7
movabs rdi, 0x7fffffffffffffff
test al, 1
je 0x1400a6dc4
mov r8, qword [rsp + 0x30]
and r8, rdi
inc r8
shr cl, 7
test cl, 1
je 0x1400a6da9
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400a6dc4
jmp 0x1400a6dae
lea rbx, [rbp + 0x150]
cmp word [rbx], 0
je 0x1400a6d2d
test rdi, rdi
je 0x1400a6d2d
cmp word [rdi], 0
je 0x1400a6d2d
test r14b, r14b
jne 0x1400a6d90
mov rcx, rdi
call fcn.1400a4710
test al, al
jne 0x1400a6d2d
mov r8d, 3
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
jmp 0x1400a6d2f
lea rdx, [rsp + 0x20]
cmp rdx, qword [rsp + 0x48]
je 0x1400a6dc4
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
nop
movzx ecx, byte [rbp + 0x167]
movzx eax, cl
shr al, 7
test al, 1
je 0x1400a6e18
mov r8, qword [rbp + 0x160]
and r8, rdi
inc r8
shr cl, 7
test cl, 1
je 0x1400a6df8
mov rdx, qword [rbp + 0x150]
test rdx, rdx
jne 0x1400a6dff
jmp 0x1400a6e18
lea rdx, [rbp + 0x150]
cmp rdx, qword [rbp + 0x178]
je 0x1400a6e18
mov rcx, qword [rbp + 0x168]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
movzx eax, bl
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret