Function at 0x14003fda0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov r14, rdx
mov qword [rbp - 0x40], rdx
mov qword [rsp + 0x40], rdx
mov r10, qword [rbp + 0x180]
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x60], r15d
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x14003fe0f
mov rdx, qword [r9]
cmp qword [r9 + 0x10], 4
jne 0x140040cbc
mov r8d, 4
lea rcx, str.Copy
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rdx + rcx], ax
jne 0x140040cbc
add rcx, 2
sub r8, 1
jne 0x14003fe30
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov r8d, 0x20
mov r9b, 1
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.140004b40
nop
mov rbx, qword [rbp - 0x38]
cmp rbx, qword [rbp - 0x30]
je 0x140040b7b
movsd xmm7, qword [0x1400c6b10]
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov r8d, 0x3d
mov r9b, 1
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140004b40
nop
mov rax, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
sub rax, rdi
sar rax, 5
cmp rax, 2
jne 0x140040a37
mov r14, qword [rdi + 0x10]
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003fee4
mov rsi, qword [rdi]
cmp r14, 8
jae 0x14003ff0d
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0xc8], xmm0
mov r12d, 7
mov qword [rsp + 0x40], r12
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x68], rax
jmp 0x14003ff5f
mov r12, r14
or r12, 7
movabs rax, 0x7ffffffffffffffe
cmp r12, rax
cmova r12, rax
mov qword [rsp + 0x40], r12
lea rdx, [r12 + 1]
lea rcx, [rbp + 0xc8]
call fcn.140001c40
mov qword [rsp + 0x68], rax
mov qword [rbp + 0xc8], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x48]
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xd8], r14
lea rsi, [rdi + 0x20]
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r15
mov r15, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14003ff8e
mov rsi, qword [rsi]
cmp r15, 8
jae 0x14003ffa8
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x80], 7
jmp 0x14003ffeb
mov rdi, r15
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x68]
call fcn.140001c40
mov qword [rbp + 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x78], r15
lea r15, [rbp + 0xc8]
cmp r12, 8
cmovae r15, qword [rsp + 0x68]
cmp r14, 7
ja 0x140040028
mov qword [rbp + 0x10], r14
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r15
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rbp + rdi], r14w
jmp 0x14004008f
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x140040d04
mov rdi, r14
or rdi, 7
cmp rdi, rax
jbe 0x14004004c
mov rdi, rax
jmp 0x140040059
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp]
call fcn.140001c40
mov rsi, rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], rdi
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov word [rdi + rsi], r14w
mov qword [rbp], rsi
mov r8d, 0x2b
mov r9b, 1
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140004b40
nop
mov rsi, qword [rbp - 0x58]
mov qword [rsp + 0x70], rsi
mov rdi, qword [rbp - 0x50]
cmp rsi, rdi
je 0x140040829
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
nop word [rax + rax]
mov r8d, 0x2a
mov r9b, 1
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140004b40
nop
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
mov qword [rbp + 0xa8], r14
mov qword [rsp + 0x30], r14
mov qword [rbp + 0xb8], r14
mov r8d, 7
mov qword [rsp + 0x38], r8
mov qword [rbp + 0xc0], r8
mov word [rbp + 0xa8], r14w
mov rax, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
sub rax, rdx
sar rax, 5
cmp rax, 2
jne 0x140040191
lea rax, [rbp - 0x20]
cmp rax, rdx
je 0x140040167
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x140040153
mov rax, qword [rdx]
mov r8, qword [rdx + 0x10]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140003cb0
mov rdx, qword [rbp - 0x70]
lea r8, [rdx + 0x20]
lea rax, [rbp + 0xa8]
cmp rax, r8
je 0x140040241
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140040188
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
jmp 0x14004021d
cmp rax, 1
jne 0x140040241
mov r9, rdx
mov r11, qword [rdx + 0x18]
cmp r11, 8
jb 0x1400401ab
mov r9, qword [rdx]
mov r10, qword [rdx + 0x10]
cmp r10, 1
jne 0x1400401de
mov r8, r10
lea rax, [0x1400c831c]
mov rcx, rax
sub r9, rax
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x1400401de
add rcx, 2
sub r8, 1
jne 0x1400401c5
jmp 0x14004027d
mov r8, rdx
cmp r11, 8
jb 0x1400401ea
mov r8, qword [rdx]
test r10, r10
je 0x140040205
mov rcx, r10
mov rax, r8
cmp word [rax], 0x2e
je 0x140040271
add rax, 2
sub rcx, 1
jne 0x1400401f5
lea rax, [rbp + 0xa8]
cmp rax, rdx
je 0x140040241
cmp r11, 8
jb 0x14004021a
mov rdx, qword [rdx]
mov r8, r10
lea rcx, [rbp + 0xa8]
call fcn.140003cb0
mov r12, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r14w
cmp qword [rbp - 0x10], 0
jne 0x14004029d
movaps xmm6, xmm7
movsd qword [rbp + 0x38], xmm7
xor r15b, r15b
mov byte [rbp + 0x40], r15b
jmp 0x1400404f4
sub rax, r8
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140040205
lea rax, [rbp - 0x20]
cmp rax, rdx
je 0x140040241
cmp r11, 8
jb 0x14004028f
mov rdx, qword [rdx]
mov r8, r10
lea rcx, [rbp - 0x20]
call fcn.140003cb0
jmp 0x140040241
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstod]
movaps xmm6, xmm0
movsd qword [rbp + 0x38], xmm0
mov rax, qword [rbp - 0x10]
cmp rax, 2
jbe 0x140040429
lea rcx, [rax - 2]
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r14w
cmp rax, rcx
jb 0x140040d10
sub rax, rcx
mov r14, 0xffffffffffffffff
cmp rax, r14
cmovb r14, rax
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
lea r15, [rax + rcx*2]
cmp r14, 7
ja 0x14004034b
mov qword [rbp + 0x98], r14
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r15
lea rcx, [rbp + 0x88]
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rbp + rdi + 0x88], r14w
jmp 0x1400403be
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x140040d0a
mov rdi, r14
or rdi, 7
cmp rdi, rax
jbe 0x14004036f
mov rdi, rax
jmp 0x14004037c
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x88]
call fcn.140001c40
mov rsi, rax
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], rdi
lea rdi, [r14 + r14]
mov r8, rdi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov word [rdi + rsi], r14w
mov qword [rbp + 0x88], rsi
or r13d, 8
or r13d, 1
mov dword [rsp + 0x60], r13d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xe8]
call fcn.1400055c0
or r13d, 2
mov dword [rsp + 0x20], r13d
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x1400403f4
mov r8, qword [rax]
cmp qword [rax + 0x10], 2
jne 0x140040429
mov edx, 2
lea rax, [0x1400cbf9c]
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140040429
add rcx, 2
sub rdx, 1
jne 0x140040410
mov r15b, 1
jmp 0x14004042c
xor r15b, r15b
mov byte [rbp + 0x40], r15b
test r13b, 2
je 0x14004049f
and r13d, 0xfffffffd
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp + 0x100]
cmp rdx, 8
jb 0x140040485
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040480
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c23
call fcn.1400b2eb8
mov qword [rbp + 0xf8], r14
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], r14w
test r13b, 1
je 0x1400404f4
and r13d, 0xfffffffe
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x1400404f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c2a
call fcn.1400b2eb8
lea r12, [rbp + 0xa8]
mov r13, qword [rbp + 0xa8]
cmp qword [rsp + 0x38], 8
cmovae r12, r13
mov rdi, qword [rsp + 0x30]
cmp rdi, 7
ja 0x14004054d
mov qword [rbp + 0x58], rdi
add rdi, rdi
mov r8, rdi
mov rdx, r12
lea rcx, [rbp + 0x48]
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rdi + 0x48], r14w
mov rsi, qword [rbp + 0x60]
mov r12, qword [rbp + 0x58]
mov r14, qword [rbp + 0x48]
movzx r15d, byte [rbp + 0x40]
movsd xmm6, qword [rbp + 0x38]
xor edx, edx
jmp 0x1400405b7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x140040d1c
mov rsi, rdi
or rsi, 7
cmp rsi, rax
jbe 0x140040571
mov rsi, rax
jmp 0x14004057e
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x48]
call fcn.140001c40
mov r14, rax
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rsi
add rdi, rdi
mov r8, rdi
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
mov word [rdi + r14], dx
mov qword [rbp + 0x48], r14
mov r12, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp rax, qword [rbp + 0x30]
je 0x1400406b2
movsd qword [rax], xmm6
mov byte [rax + 8], r15b
mov qword [rax + 0x10], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
lea r15, [rbp + 0x48]
cmp rsi, 8
cmovae r15, r14
cmp r12, 8
jae 0x1400405fe
movups xmm0, xmmword [r15]
movups xmmword [rax + 0x10], xmm0
mov edi, 7
jmp 0x140040698
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140040d16
add rcx, rcx
cmp rcx, 0x1000
jb 0x140040668
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140040d16
mov rcx, rax
call fcn.1400b2e7c
mov rcx, rax
test rax, rax
je 0x140040c31
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140040677
test rcx, rcx
je 0x140040674
call fcn.1400b2e7c
jmp 0x140040677
mov rax, rdx
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], rdi
add rax, 0x30
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x28], rax
mov r12, rax
jmp 0x1400406d3
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14003f8a0
mov r12, qword [rbp + 0x28]
mov qword [rsp + 0x28], r12
mov rsi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x48]
cmp rsi, 8
jb 0x14004070f
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140040706
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c38
mov rcx, r14
call fcn.1400b2eb8
nop
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140040750
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140040747
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c3f
mov rcx, r13
call fcn.1400b2eb8
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140040790
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004078b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c46
call fcn.1400b2eb8
xor r14d, r14d
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x140040803
mov rsi, qword [rbp - 0x68]
cmp rdi, rsi
je 0x1400407cb
mov rcx, rdi
call fcn.140001af0
add rdi, 0x20
cmp rdi, rsi
jne 0x1400407b6
mov rdi, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400407fb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c4d
mov rcx, rdi
call fcn.1400b2eb8
mov rsi, qword [rsp + 0x70]
add rsi, 0x20
mov qword [rsp + 0x70], rsi
mov rdi, qword [rbp - 0x50]
cmp rsi, rdi
mov r13d, dword [rsp + 0x20]
jne 0x1400400d0
mov rsi, qword [rbp - 0x58]
jmp 0x14004082d
mov r12, qword [rbp + 0x28]
test rsi, rsi
je 0x140040890
cmp rsi, rdi
je 0x14004084c
mov rcx, rsi
call fcn.140001af0
add rsi, 0x20
cmp rsi, rdi
jne 0x140040837
mov rsi, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004087c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c54
mov rcx, rsi
call fcn.1400b2eb8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400408d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400408ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c5b
call fcn.1400b2eb8
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r14w
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140040929
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c62
call fcn.1400b2eb8
mov r14, qword [rbp + 0x20]
cmp qword [rbp + 0x10], 0
je 0x140040a14
cmp r14, r12
je 0x140040a14
mov rdi, qword [rbp - 0x80]
cmp rdi, qword [rbp - 0x78]
je 0x140040a1e
mov qword [rsp + 0x40], rdi
lea rdx, [rbp]
mov rcx, rdi
call fcn.140003800
nop
lea r15, [rdi + 0x20]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov r14, qword [rbp + 0x20]
mov r12, qword [rbp + 0x28]
cmp r14, r12
je 0x140040a0f
mov rcx, r12
sub rcx, r14
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov rdi, rdx
sar rdi, 3
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rdx, rdi
mov rcx, r15
call fcn.14003fd30
mov qword [r15], rax
mov qword [r15 + 8], rax
lea rcx, [rdi + rdi*2]
shl rcx, 4
add rcx, rax
mov qword [r15 + 0x10], rcx
mov qword [rsp + 0x70], r15
mov rdi, qword [r15]
mov rsi, r14
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], r15
nop
mov rax, qword [rsi]
mov qword [rdi], rax
lea rdx, [rsi + 0x10]
movzx eax, byte [rdx - 8]
mov byte [rdi + 8], al
lea rcx, [rdi + 0x10]
call fcn.140003800
add rdi, 0x30
mov qword [rbp - 0x68], rdi
add rsi, 0x30
cmp rsi, r12
jne 0x1400409e0
mov qword [r15 + 8], rdi
add qword [rbp - 0x80], 0x38
mov rdi, qword [rsp + 0x48]
xor r15d, r15d
jmp 0x140040a3f
lea r8, [rbp]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14003f640
mov rdi, qword [rsp + 0x48]
xor r15d, r15d
mov r14, qword [rbp + 0x20]
mov r12, qword [rbp + 0x28]
test rdi, rdi
je 0x140040aad
mov rsi, qword [rsp + 0x50]
cmp rdi, rsi
je 0x140040a66
nop
mov rcx, rdi
call fcn.140001af0
add rdi, 0x20
cmp rdi, rsi
jne 0x140040a50
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140040a97
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c69
mov rcx, rdi
call fcn.1400b2eb8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
test r14, r14
je 0x140040b29
mov rdi, r14
cmp r14, r12
je 0x140040ad2
nop word [rax + rax]
lea rcx, [rdi + 0x10]
call fcn.140001af0
add rdi, 0x30
cmp rdi, r12
jne 0x140040ac0
mov rcx, qword [rbp + 0x30]
sub rcx, r14
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r14
cmp rdx, 0x1000
jb 0x140040b21
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c70
mov rcx, r14
call fcn.1400b2eb8
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140040b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c70
call fcn.1400b2eb8
add rbx, 0x20
cmp rbx, qword [rbp - 0x30]
jne 0x14003fe80
mov r14, qword [rbp - 0x40]
mov ecx, Ordinal_50
call fcn.140013e50
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14003e3c0
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003970
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140040c7f
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
je 0x140040bd5
lea rcx, [rbx + 0x20]
call fcn.14003a5a0
mov rcx, rbx
call fcn.140001af0
add rbx, 0x38
cmp rbx, rdi
jne 0x140040bb6
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x78]
sub rcx, rbx
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x38
mov rax, rbx
cmp rdx, 0x1000
jb 0x140040c77
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040c77
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
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
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
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
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, rbx
call fcn.1400b2eb8
test rsi, rsi
je 0x140040cbc
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
mov edx, 1
mov rcx, r14
call fcn.140035340
mov rax, qword [r14]
lea rcx, [rax + 8]
test rsi, rsi
jne 0x140040cb3
xor edx, edx
mov qword [rax], rdx
mov qword [r14 + 8], rcx
jmp 0x140040cc7
mov qword [rax], rsi
mov qword [r14 + 8], rcx
jmp 0x140040cc7
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
mov rax, r14
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1400b2f50
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002ca0
nop
call fcn.140002ca0
int3
call fcn.140003c90
int3
call fcn.140001c20
int3
call fcn.140002ca0
int3