Function at 0x140008240
Capabilities:
Copy file
Get common file path

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 - 0x6f0]
sub rsp, 0x7f0
mov rax, qword [0x1400ec780]
xor rax, rsp
mov qword [rbp + 0x6e0], rax
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x30], r13d
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400082e9
lea rdx, str.Failed_to_retrieve_desktop_path.
call fcn.140015240
mov rcx, rax
call fcn.140015550
mov rcx, qword [rbp + 0x6e0]
xor rcx, rsp
call fcn.140084d60
lea r11, [rsp + 0x7f0]
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
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140008314
lea rdx, str.Failed_to_retrieve_documents_path.
jmp 0x1400082ac
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x280], rax
lea rax, [rbp + 0x4d0]
mov qword [rbp + 0x288], rax
lea rdi, [rbp + 0x290]
lea r12, [rbp + 0x280]
lea rdx, [rbp + 0x2c0]
nop word [rax + rax]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140008360
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], r13
mov qword [rbp + 0x238], r13
lea rcx, [rbp + 0x220]
call fcn.140016890
or r14d, 0xc000000
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x200], xmm0
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x200]
call fcn.1400150c0
test eax, eax
jne 0x140009136
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov r15, qword [rbp + 0x208]
test r15, r15
je 0x1400083e8
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x208]
mov r14d, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x210], xmm0
test r15, r15
je 0x14000840d
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x208]
mov r14d, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x260], r13
mov qword [rbp + 0x268], r13
test r15, r15
je 0x140008476
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14000846a
mov rbx, qword [rbp + 0x208]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000846a
mov r15, qword [rbp + 0x208]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140008471
mov r15, qword [rbp + 0x208]
mov r14d, dword [rsp + 0x30]
cmp qword [rbp + 0x200], 0
je 0x140009041
mov rdi, qword [rbp + 0x210]
nop dword [rax + rax]
mov r8d, 3
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400069b0
mov rax, qword [rbp - 0x60]
mov edx, dword [rbp - 0x58]
test edx, edx
je 0x1400084bc
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14000914c
cmp eax, 2
jne 0x140008563
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea r8d, [rax + 2]
lea rdx, str..txt
lea rcx, [rsp + 0x40]
call fcn.140016890
or r14d, 0x600000
or r14d, 1
mov dword [rsp + 0x30], r14d
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0xb0]
call fcn.140005db0
or r14d, 2
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
cmp rbx, 7
cmova rcx, qword [rsp + 0x40]
mov qword [rbp + 0x90], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0x98], rcx
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x140], xmm0
lea rdx, [rbp + 0x140]
mov rcx, rax
call fcn.140005ba0
test eax, eax
jne 0x140008568
mov sil, 1
jmp 0x14000856b
mov rbx, qword [rsp + 0x58]
xor sil, sil
test r14b, 2
je 0x1400085df
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x1400085c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000915d
call fcn.140084d80
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
test r14b, 1
je 0x14000862b
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
cmp rbx, 7
jbe 0x14000862b
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009163
call fcn.140084d80
test sil, sil
je 0x140009016
lea rsi, [rdi + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008645
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140005840
cmp rax, r11
je 0x14000869b
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000866f
cmp cx, 0x2f
jne 0x140008678
add rax, 2
cmp rax, r11
jne 0x140008660
cmp rax, r11
je 0x14000869b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14000869b
cmp cx, 0x2f
je 0x14000869b
mov r10, rdx
cmp rax, rdx
jne 0x140008680
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.140016890
or r14d, 0xe0000
lea rdx, [0x1400f00a0]
cmp qword [0x1400f00b8], 7
cmova rdx, qword [0x1400f00a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r8, qword [0x1400f00b0]
lea rcx, [rbp + 0x10]
call fcn.140016890
or r14d, 0x1800000
mov dword [rsp + 0x30], r14d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x240]
call fcn.140013610
bts r14d, 0x14
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x240]
call fcn.140005980
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140008779
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009169
call fcn.140084d80
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400087bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000916f
call fcn.140084d80
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov edi, 1
nop dword [rax]
nop dword [rax + rax]
mov r8d, 3
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x1d0]
call fcn.140007310
movsd xmm0, qword [rax]
movsd qword [rbp + 0x110], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xa0], ecx
lea rax, [0x1400ed8c8]
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x270], xmm0
mov eax, dword [rbp + 0x110]
test eax, eax
je 0x140008e28
cmp eax, 1
je 0x140008e30
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.140005db0
nop
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140013610
bts r14d, 8
mov dword [rsp + 0x30], r14d
lea r9, [rbp + 0x2ba]
test edi, edi
jns 0x1400088bb
mov ecx, edi
neg ecx
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x140008880
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x1400088f0
mov r8d, edi
nop
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400088c0
lea r8, [rbp + 0x2ba]
mov rdx, r9
lea rcx, [rbp + 0x170]
call fcn.140018980
or r14d, 0x600
mov dword [rsp + 0x30], r14d
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000891f
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140005840
cmp rax, rdx
je 0x14000896d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140008943
cmp cx, 0x2f
jne 0x14000894c
add rax, 2
cmp rax, rdx
jne 0x140008934
cmp rax, rdx
je 0x14000896d
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000896d
cmp cx, 0x2f
je 0x14000896d
mov rbx, r8
cmp rax, r8
jne 0x140008951
mov r8d, 0x3a
mov rcx, rbx
call fcn.140081a10
mov r8, rax
cmp rbx, rax
je 0x1400089a8
add rax, 0xfffffffffffffffe
cmp rbx, rax
je 0x1400089a8
cmp word [rax], 0x2e
jne 0x140008e02
lea rcx, [rax - 2]
cmp rbx, rcx
jne 0x1400089a5
cmp word [rcx], 0x2e
je 0x1400089a8
mov r8, rax
sub r8, rbx
sar r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140016890
or r14d, 0x38
mov dword [rsp + 0x30], r14d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.140013610
bts r14d, 7
mov dword [rsp + 0x30], r14d
mov r8d, 1
lea rdx, [0x1400db604]
lea rcx, [rbp + 0x50]
call fcn.1400134e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or r14d, 0x40
mov dword [rsp + 0x30], r14d
lea r9, [rbp + 0x170]
lea r8, [rbp + 0x120]
lea rcx, [rbp + 0x150]
call fcn.1400181c0
or r14d, 4
mov dword [rsp + 0x30], r14d
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x150]
lea rcx, [rbp + 0xd0]
call fcn.1400181c0
bts r14d, 0xe
mov dword [rsp + 0x30], r14d
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r13w
lea rdx, [0x1400f00a0]
cmp qword [0x1400f00b8], 7
cmova rdx, qword [0x1400f00a0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov r8, qword [0x1400f00b0]
lea rcx, [rbp - 0x50]
call fcn.140016890
or r14d, 0x3000
mov dword [rsp + 0x30], r14d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.140013610
bts r14d, 0xb
mov dword [rsp + 0x30], r14d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.140005980
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x240]
call fcn.140013570
btr r14d, 0xb
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140008b64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009175
call fcn.140084d80
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140008bb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008bb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000917b
call fcn.140084d80
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140008bf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008bf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009181
call fcn.140084d80
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 0x168]
cmp rdx, 7
jbe 0x140008c4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009187
call fcn.140084d80
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x140008c95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000918d
call fcn.140084d80
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140008cd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008cd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009193
call fcn.140084d80
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140008d27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009199
call fcn.140084d80
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 7
jbe 0x140008d6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000919f
call fcn.140084d80
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 7
jbe 0x140008db5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091a5
call fcn.140084d80
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140008dfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091ab
call fcn.140084d80
inc edi
jmp 0x1400087e0
sub rax, 2
cmp rbx, rax
je 0x1400089a8
nop
cmp word [rax], 0x2e
je 0x1400089a5
sub rax, 2
cmp rbx, rax
jne 0x140008e10
jmp 0x1400089a8
test ecx, ecx
jne 0x1400091c9
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0xf0]
call fcn.140013610
bts r14d, 0x10
mov dword [rsp + 0x30], r14d
lea rbx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 7
cmova rbx, qword [rbp + 0xf0]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140013610
bts r14d, 0xf
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140008ed6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091b1
call fcn.140084d80
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r13w
mov rdx, qword [rbp + 0x108]
cmp rdx, 7
jbe 0x140008f2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091b7
call fcn.140084d80
test ebx, ebx
jne 0x140008fc6
lea rdx, [0x1400db608]
call fcn.140015240
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.140013610
bts r14d, 0x19
mov dword [rsp + 0x30], r14d
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rbx
call fcn.140018d80
mov rcx, rax
call fcn.140015550
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140008fc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091bd
call fcn.140084d80
btr r14d, 0x14
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0x258]
cmp rdx, 7
jbe 0x140009016
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009011
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091c3
call fcn.140084d80
lea rcx, [rbp + 0x210]
call fcn.140006b10
test eax, eax
jne 0x1400091e4
mov rdi, qword [rbp + 0x210]
test rdi, rdi
jne 0x140008490
lea rdi, [rbp + 0x290]
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140009093
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140009087
mov rbx, qword [rbp + 0x218]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009087
mov rcx, qword [rbp + 0x218]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14d, dword [rsp + 0x30]
mov r15, qword [rbp + 0x208]
test r15, r15
je 0x1400090d8
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400090d3
mov rbx, qword [rbp + 0x208]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400090d3
mov rcx, qword [rbp + 0x208]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14d, dword [rsp + 0x30]
mov rdx, qword [rbp + 0x238]
cmp rdx, 7
jbe 0x14000911a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009130
call fcn.140084d80
add r12, 8
cmp r12, rdi
je 0x1400082b9
mov rdx, qword [r12]
jmp 0x140008350
call fcn.14008e520
nop
lea r8, [rbp + 0x220]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140006870
nop
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140006870
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
nop
call fcn.14008e520
int3
call fcn.14008e520
nop
call fcn.14008e520
nop
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x270]
lea rcx, str.exists
call fcn.1400068e0
nop
mov edx, eax
call fcn.140006780
int3