Function at 0x1402edb30
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 [0x14062f7b0]
test rax, rax
jne 0x1402edb79
call fcn.14002daa0
mov qword [0x14062f7b0], 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 0x1402edb9f
call fcn.14002daa0
mov qword [0x14062f7b0], 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.1402fa610
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 0x1402edc43
mov rcx, r8
jmp 0x1402edc49
mov rcx, rbx
sub rcx, rdx
cmp r9, rcx
jae 0x1402edc97
movzx eax, dl
shr al, 7
mov rcx, qword [rbp + 0x150]
test al, 1
je 0x1402edc65
lea r8, [rcx + r8*2]
jmp 0x1402edc75
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.1402ddfa0
jmp 0x1402edcae
jbe 0x1402edcb5
xor r8d, r8d
sub r9, rcx
mov rdx, r9
lea rcx, [rbp + 0x150]
call fcn.1402dd8a0
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.1402fa610
mov rax, qword [0x14062f7b0]
test rax, rax
jne 0x1402edcf4
call fcn.14002daa0
mov qword [0x14062f7b0], rax
mov rdi, rax
mov word [rsp + 0x20], r12w
mov byte [rsp + 0x37], bl
test rax, rax
jne 0x1402edd12
call fcn.14002daa0
mov qword [0x14062f7b0], 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.1402fa610
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 0x1402edd88
mov rbx, r8
jmp 0x1402edd8b
sub rbx, rdx
cmp r9, rbx
jae 0x1402eddd1
movzx eax, dl
shr al, 7
mov rcx, qword [rsp + 0x20]
test al, 1
je 0x1402edda5
lea r8, [rcx + r8*2]
jmp 0x1402eddb3
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.1402ddfa0
jmp 0x1402edde6
jbe 0x1402eddeb
xor r8d, r8d
sub r9, rbx
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1402dd8a0
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.1402fa610
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 0x1402ede77
mov rbx, qword [rbp + 0x150]
test rbx, rbx
jne 0x1402ede7e
xor bl, bl
movzx ecx, byte [rsp + 0x37]
movzx eax, cl
shr al, 7
movabs rdi, 0x7fffffffffffffff
test al, 1
je 0x1402eded4
mov r8, qword [rsp + 0x30]
and r8, rdi
inc r8
shr cl, 7
test cl, 1
je 0x1402edeb9
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1402eded4
jmp 0x1402edebe
lea rbx, [rbp + 0x150]
cmp word [rbx], 0
je 0x1402ede3d
test rdi, rdi
je 0x1402ede3d
cmp word [rdi], 0
je 0x1402ede3d
test r14b, r14b
jne 0x1402edea0
mov rcx, rdi
call fcn.1402eb7d0
test al, al
jne 0x1402ede3d
mov r8d, 3
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
jmp 0x1402ede3f
lea rdx, [rsp + 0x20]
cmp rdx, qword [rsp + 0x48]
je 0x1402eded4
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 0x1402edf28
mov r8, qword [rbp + 0x160]
and r8, rdi
inc r8
shr cl, 7
test cl, 1
je 0x1402edf08
mov rdx, qword [rbp + 0x150]
test rdx, rdx
jne 0x1402edf0f
jmp 0x1402edf28
lea rdx, [rbp + 0x150]
cmp rdx, qword [rbp + 0x178]
je 0x1402edf28
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