Function at 0x180002d10
Capabilities:
Create directory
Encode data using xor
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov qword [rbp - 0x38], rcx
lea rbx, [0x180038160]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor r13d, r13d
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov r15, 0xffffffffffffffff
mov r8, r15
nop dword [rax]
inc r8
cmp word [rbx + r8*2], r13w
jne 0x180002d90
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.180006110
nop
xor r12b, r12b
mov dword [rsp + 0x30], r12d
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
mov r8, qword [rbp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.180006110
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x60]
call fcn.180006860
test eax, eax
jne 0x180003d5c
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180002e40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002e3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x180002e58
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x68]
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x50], xmm0
test rcx, rcx
je 0x180002e6e
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x68]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
test rcx, rcx
je 0x180002eaf
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180002eaf
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180002eaf
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + htons]
nop
nop
mov r14, qword [rbp + 0x50]
mov r8d, 0xcab
movabs r10, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
nop
test r14, r14
je 0x1800033ff
lea rdi, [r14 + 0x20]
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r13
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x180002f00
mov rdi, qword [rdi]
cmp rsi, 8
jae 0x180002f1a
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xd0], xmm0
mov ebx, 7
jmp 0x180002f9f
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, r10
ja 0x180003d76
add rcx, rcx
cmp rcx, 0x1000
jb 0x180002f70
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003d76
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x1800033f8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180002f7f
test rcx, rcx
je 0x180002f7c
call fcn.180029c40
jmp 0x180002f7f
mov rax, r13
mov qword [rbp + 0xd0], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0xcab
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xe0], rsi
mov dword [rsp + 0x70], 0xf333f31e
mov dword [rsp + 0x74], 0xf32bf32e
xor eax, eax
mov word [rsp + 0x78], ax
mov edx, r13d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 4
jb 0x180002fd0
mov word [rsp + 0x78], r13w
lea rcx, [rsp + 0x70]
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180003000
lea rcx, [rbp + 0xd0]
mov rdi, qword [rbp + 0xd0]
cmp rbx, 8
cmovae rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov rdx, rsi
call fcn.180006e90
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1800032ee
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
lea r12, [rbp + 0xd0]
cmp rbx, 8
cmovae r12, rdi
cmp rsi, 8
jae 0x18000308d
movups xmm0, xmmword [r12]
movups xmmword [rbp + 0x90], xmm0
lea ebx, [rax + 7]
lea rax, [rbp + 0x90]
mov r8, qword [rbp + 0x90]
jmp 0x180003131
mov rbx, rsi
or rbx, 7
movabs rcx, 0x7ffffffffffffffe
cmp rbx, rcx
cmova rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x180003d68
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800030f7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003d68
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x1800033f1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180003101
test rcx, rcx
je 0x180003101
call fcn.180029c40
mov qword [rbp + 0x90], rax
lea r8, [rsi*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x90]
mov r8, qword [rbp + 0x90]
cmp rbx, 8
cmovae rax, r8
mov qword [rbp + 0xa8], rbx
lea r9, [rax + r13*2]
lea rcx, [rbp + 0x90]
cmp rbx, 8
cmovae rcx, r8
lea rax, [rbp + 0x90]
cmovae rax, r8
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub r9, rcx
sar r9, 1
mov rax, rsi
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rax, [rbp + 0x90]
cmp rbx, 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub rsi, r9
mov qword [rbp + 0xa0], rsi
sub rsi, rdx
lea r8, [rsi*2 + 2]
lea rdx, [rcx + r9*2]
call sub.VCRUNTIME140.dll_memmove
mov dword [rsp + 0x40], 0xf333f31e
mov dword [rsp + 0x44], 0xf32bf32e
xor eax, eax
mov word [rsp + 0x48], ax
xor r13d, r13d
mov edx, r13d
mov r8d, 0xcab
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 4
jb 0x1800031d0
mov word [rsp + 0x48], r13w
lea rcx, [rsp + 0x40]
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r13w
jne 0x180003200
lea r10, [rbp + 0x90]
mov r11, qword [rbp + 0x90]
mov rdi, qword [rbp + 0xa8]
cmp rdi, 8
cmovae r10, r11
mov rbx, qword [rbp + 0xa0]
mov rdx, rbx
cmp rax, rbx
cmovb rdx, rax
lea rcx, [rsp + 0x40]
test rdx, rdx
je 0x1800032d0
movzx r8d, word [r10]
movzx r9d, word [rsp + 0x40]
cmp r8w, r9w
jb 0x180003280
lea rsi, [rsp + 0x40]
sub r10, rsi
cmp r8w, r9w
ja 0x180003280
cmp rdx, 1
je 0x1800032d0
dec rdx
add rcx, 2
movzx r8d, word [rcx + r10]
movzx r9d, word [rcx]
cmp r8w, r9w
jae 0x180003262
mov r12d, dword [rsp + 0x30]
cmp rdi, 8
jb 0x1800032c0
lea rdx, [rdi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1800032b8
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800033f1
mov rcx, r11
call fcn.180029c7c
mov rbx, qword [rbp + 0xe8]
mov rdi, qword [rbp + 0xd0]
jmp 0x1800032f1
mov r12d, dword [rsp + 0x30]
cmp rbx, rax
jb 0x180003285
movzx r12d, r12b
mov eax, 1
cmovbe r12d, eax
mov dword [rsp + 0x30], r12d
jmp 0x180003285
xor r13d, r13d
cmp rbx, 8
jb 0x180003330
lea rdx, [rbx*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180003324
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800033f8
mov rcx, rdi
call fcn.180029c7c
nop dword [rax]
lea rdx, [rbp + 0x170]
mov rcx, qword [r14 + 0x40]
call fcn.180029ae0
cmp eax, 0x12
je 0x180003387
test eax, eax
jne 0x180003d6e
cmp word [rbp + 0x19c], 0x2e
jne 0x180003373
movzx eax, word [rbp + 0x19e]
test ax, ax
je 0x180003330
cmp ax, 0x2e
jne 0x180003373
cmp word [rbp + 0x1a0], 0
je 0x180003330
lea rdx, [rbp + 0x170]
mov rcx, r14
call fcn.180002ad0
jmp 0x180002eb4
mov r14, r13
mov qword [rbp + 0x50], r13
mov rbx, qword [rbp + 0x58]
mov qword [rbp + 0x58], r13
test rbx, rbx
movabs rax, 0x7ffffffffffffffe
mov r8d, 0xcab
movabs r10, 0x7fffffffffffffff
je 0x180002ed0
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180002eb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180002eb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
jmp 0x180002eb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180003439
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003439
mov rbx, qword [rbp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003439
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x180003472
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003472
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003472
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + htons]
test r12b, r12b
jne 0x18000367b
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], r13
mov r14, qword [rbp + 0x40]
lea rbx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rbx, qword [rbp + 0x30]
cmp r14, 8
jae 0x1800034bc
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0xb0], xmm0
mov esi, 7
jmp 0x18000354f
mov rsi, r14
or rsi, 7
movabs rcx, 0x7ffffffffffffffe
cmp rsi, rcx
cmova rsi, rcx
lea rcx, [rsi + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x180003d7c
add rcx, rcx
cmp rcx, 0x1000
jb 0x180003526
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003d7c
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x18000366d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180003535
test rcx, rcx
je 0x180003532
call fcn.180029c40
jmp 0x180003535
mov rax, r13
mov qword [rbp + 0xb0], rax
lea r8, [r14*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xc0], r14
mov dword [rsp + 0x50], 0xf31df309
mov dword [rsp + 0x54], 0xf321f332
mov dword [rsp + 0x58], 0xf32a
mov edx, r13d
mov r12d, 0xcab
nop
movsxd rax, edx
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r12w
xor word [rcx], ax
inc edx
cmp edx, 5
jb 0x180003580
mov word [rsp + 0x5a], r13w
lea rax, [rsp + 0x50]
mov rdx, r15
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1800035b0
mov rax, rsi
sub rax, r14
cmp rdx, rax
ja 0x1800035fc
lea rdi, [rdx + r14]
mov qword [rbp + 0xc0], rdi
lea rbx, [rbp + 0xb0]
cmp rsi, 8
cmovae rbx, qword [rbp + 0xb0]
lea rcx, [rbx + r14*2]
lea r8, [rdx + rdx]
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi*2], r13w
jmp 0x180003612
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.180006f80
lea rcx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rcx, qword [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x180003681
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003674
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
jmp 0x180003681
mov r12d, 0xcab
mov dword [rsp + 0x60], 0xf31df309
mov dword [rsp + 0x64], 0xf321f332
mov dword [rsp + 0x68], 0xf32a
mov edx, r13d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r12w
xor word [rcx], ax
inc edx
cmp edx, 5
jb 0x1800036a0
mov word [rsp + 0x6a], r13w
lea rax, [rsp + 0x60]
mov rdx, r15
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1800036d0
mov rcx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x48]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18000371b
lea rdi, [rdx + rcx]
mov qword [rbp + 0x40], rdi
lea rbx, [rbp + 0x30]
cmp r8, 8
cmovae rbx, qword [rbp + 0x30]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi*2], r13w
jmp 0x18000372e
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.180006f80
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r13w
mov r8, qword [rbp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.180006110
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x80]
call fcn.180006860
test eax, eax
jne 0x180003d82
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1800037c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800037c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800037c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1800037e3
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x88]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x70], xmm0
test rcx, rcx
je 0x1800037ff
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x88]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
test rcx, rcx
je 0x180003846
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003846
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003846
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + htons]
nop
nop word [rax + rax]
mov rdi, qword [rbp + 0x70]
test rdi, rdi
je 0x180003c67
lea rsi, [rdi + 0x20]
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x18000387b
mov rsi, qword [rsi]
cmp r14, 8
jae 0x180003895
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], 7
jmp 0x180003929
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180003d56
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800038ff
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003d56
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x180003c60
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000390e
test rcx, rcx
je 0x18000390b
call fcn.180029c40
jmp 0x18000390e
mov rax, r13
mov qword [rbp + 0x10], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x20], r14
mov dword [rsp + 0x38], 0xf309f319
xor eax, eax
mov word [rsp + 0x3c], ax
mov eax, r13d
nop
movsxd rcx, eax
lea rdx, [rsp + 0x38]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r12w
xor word [rdx], cx
inc eax
cmp eax, 2
jb 0x180003940
mov word [rsp + 0x3c], r13w
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], r13w
lea rax, [rsp + 0x38]
mov r8, r15
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180003990
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xf0]
call fcn.180006110
nop
lea r9, [rbp + 0xf0]
mov r14, qword [rbp + 0xf0]
mov r12, qword [rbp + 0x108]
cmp r12, 8
cmovae r9, r14
mov rax, r15
nop dword [rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x1800039d0
lea rcx, [rbp + 0x10]
mov rbx, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x28]
cmp rsi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], rax
mov r13, qword [rbp + 0x20]
mov rdx, r13
call fcn.180006e90
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180003b1f
lea rcx, [rbp + 0x10]
cmp rsi, 8
cmovae rcx, rbx
lea r9, [rcx + rax*2]
lea rcx, [rbp + 0x10]
cmovae rcx, rbx
lea rax, [rbp + 0x10]
cmovae rax, rbx
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub r9, rcx
sar r9, 1
mov rax, r13
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rax, [rbp + 0x10]
cmp rsi, 8
cmovae rax, rbx
lea rcx, [rax + rdx*2]
sub r13, r9
mov qword [rbp + 0x20], r13
sub r13, rdx
lea r8, [r13*2 + 2]
lea rdx, [rcx + r9*2]
call sub.VCRUNTIME140.dll_memmove
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x148], eax
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
add r8, r8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x38]
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180003b08
movups xmm0, xmmword [rbp + 0x110]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x120]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x130]
movups xmmword [rdx + 0x20], xmm0
movsd xmm1, qword [rbp + 0x140]
movsd qword [rdx + 0x30], xmm1
mov eax, dword [rbp + 0x148]
mov dword [rdx + 0x38], eax
add qword [r13 + 8], 0x3c
jmp 0x180003b17
lea r8, [rbp + 0x110]
mov rcx, r13
call fcn.180006d00
mov rbx, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x28]
cmp r12, 8
jb 0x180003b62
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180003b52
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003c59
mov rcx, r14
call fcn.180029c7c
mov rsi, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x10]
cmp rsi, 8
jb 0x180003ba0
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180003b95
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003c60
mov rcx, rbx
call fcn.180029c7c
nop dword [rax]
lea rdx, [rbp + 0x3c0]
mov rcx, qword [rdi + 0x40]
call fcn.180029ae0
cmp eax, 0x12
je 0x180003c00
test eax, eax
jne 0x180003d8e
cmp word [rbp + 0x3ec], 0x2e
jne 0x180003be3
movzx eax, word [rbp + 0x3ee]
test ax, ax
je 0x180003ba0
cmp ax, 0x2e
jne 0x180003be3
cmp word [rbp + 0x3f0], 0
je 0x180003ba0
lea rdx, [rbp + 0x3c0]
mov rcx, rdi
call fcn.180002ad0
xor r13d, r13d
mov r12d, 0xcab
jmp 0x180003854
xor r13d, r13d
mov edi, r13d
mov qword [rbp + 0x70], r13
mov rbx, qword [rbp + 0x78]
mov qword [rbp + 0x78], r13
test rbx, rbx
mov r12d, 0xcab
je 0x180003854
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180003850
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003850
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
jmp 0x180003850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x180003ca1
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003ca1
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003ca1
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x180003ce3
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003ce3
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x180003ce3
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x180003d26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003d21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003d21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x720]
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
call fcn.1800014a0
nop
lea r8, [rbp - 0x78]
mov edx, eax
call fcn.1800028c0
nop
call fcn.1800014a0
nop
mov edx, eax
call fcn.1800027d0
int3
call fcn.1800014a0
nop
call fcn.1800014a0
nop
lea r8, [rbp - 0x58]
mov edx, eax
call fcn.1800028c0
nop
mov edx, eax
call fcn.1800027d0
int3