Function at 0x14001bfe0
Capabilities:
Encode data using xor
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call fcn.140020890
call fcn.140059820
mov rbx, qword [rax]
test rbx, rbx
jne 0x14001c02b
jmp 0x14001c0a1
test cl, cl
je 0x14001c058
and esi, 1
je 0x14001c040
mov esi, 1
call sub.msvcrt.dll__ismbblead
test eax, eax
je 0x14001c027
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x14001c008
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x14001c016
test cl, cl
je 0x14001c058
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x14001c058
cmp al, 0x20
jle 0x14001c048
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x14001c086
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x140159b10]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp 0x140060020
lea rbx, [0x14016e740]
jmp 0x14001c058
jmp 0x1400b1bc0
jmp 0x1400bbd40
push rbp
mov ecx, 0x25
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x10
and rsp, 0xfffffffffffffff0
sub rsp, 0x2f0
movups xmmword [rsp + 0x2f0], xmm6
lea r13, [rsp + 0xb0]
lea r15, [rsp + 0xd0]
mov qword [rsp + 0xa0], r13
lea r14, [rsp + 0xf0]
call fcn.1400aeae0
mov qword [rsp + 0xc0], r15
movabs rdx, 0x515c617461646d61
mov rdi, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, rax
mov qword [rsp + 0xa0], rax
movabs rax, 0x72676f72705c3a43
mov r9d, 0x24
mov qword [r8], rax
mov ecx, 0xfde9
movabs rax, 0x665c6e61656c434d
mov qword [r8 + 8], rdx
movabs rdx, 0x2e70616d32656c69
mov qword [r8 + 0x10], rax
xor eax, eax
mov qword [r8 + 0x18], rdx
xor edx, edx
mov dword [r8 + 0x20], 0x666e6f63
mov byte [r8 + 0x24], 0
mov qword [rsp + 0xb0], 0x24
mov qword [rsp + 0xa8], 0x24
mov qword [rsp + 0xc8], 0
mov byte [rsp + 0xd0], 0
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], 0
mov word [rsp + 0xf0], ax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rdi
movsxd rsi, eax
test rsi, rsi
jne 0x1400bc1f8
lea rax, [rsp + 0x120]
lea r12, [rsp + 0x150]
mov qword [rsp + 0x88], rax
lea rbx, [rsp + 0x170]
lea rsi, [rsp + 0xc0]
mov rdi, qword [rsp + 0xc0]
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rdx, qword [rsp + 0xc8]
cmp rdx, rax
jb 0x1400bc6d8
cmp rax, rdx
jb 0x1400bc1e0
mov rcx, qword [rsp + 0xe0]
cmp rcx, r14
je 0x1400bbed5
mov rax, qword [rsp + 0xf0]
lea rdx, [rax + rax + 2]
call fcn.1400f5f50
mov rcx, qword [rsp + 0x88]
mov rdx, rsi
call fcn.1400335a0
mov qword [rsp + 0x140], r12
mov ecx, 0x4d
call fcn.1400aeae0
pxor xmm0, xmm0
mov qword [rsp + 0x150], 0x4c
mov rdx, qword [rsp + 0x128]
mov byte [rax + 0x4c], 0
mov rcx, qword [rsp + 0x120]
mov r8, rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x4c
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x3c], xmm0
call fcn.1400314e0
test rax, rax
jne 0x1400bc0f8
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], 0
mov byte [rax], 0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x160], rbx
mov rsi, qword [rsp + 0x148]
cmp rax, r12
je 0x1400bc748
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x168], rsi
mov ecx, 0x21
lea rsi, [rsp + 0x140]
mov qword [rsp + 0x140], r12
call fcn.1400aeae0
movabs rdx, 0x9caf3c96a0ed8c4f
movabs rcx, 0x76e9c13bb1d60244
mov qword [rsp + 0x150], 0x20
mov qword [rax], rdx
movabs rdx, 0xc95dc0a13dc4d2cf
mov qword [rax + 8], rcx
movabs rcx, 0x106c36e9c0627130
mov qword [rax + 0x10], rdx
lea rdx, [rsp + 0x160]
mov qword [rax + 0x18], rcx
mov rcx, rsi
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x20
mov byte [rax + 0x20], 0
call fcn.1400d5110
mov rcx, qword [rsp + 0x140]
mov esi, eax
cmp rcx, r12
je 0x1400bc050
mov rax, qword [rsp + 0x150]
lea rdx, [rax + 1]
call fcn.1400f5f50
mov rcx, qword [rsp + 0x160]
cmp rcx, rbx
je 0x1400bc06e
mov rax, qword [rsp + 0x170]
lea rdx, [rax + 1]
call fcn.1400f5f50
mov rcx, qword [rsp + 0x120]
lea rax, [rsp + 0x130]
cmp rcx, rax
je 0x1400bc094
mov rax, qword [rsp + 0x130]
lea rdx, [rax + 1]
call fcn.1400f5f50
mov rcx, qword [rsp + 0xc0]
cmp rcx, r15
je 0x1400bc0b2
mov rax, qword [rsp + 0xd0]
lea rdx, [rax + 1]
call fcn.1400f5f50
mov rcx, qword [rsp + 0xa0]
cmp rcx, r13
je 0x1400bc0d0
mov rax, qword [rsp + 0xb0]
lea rdx, [rax + 1]
call fcn.1400f5f50
test esi, esi
je 0x1400bc700
movups xmm6, xmmword [rsp + 0x2f0]
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdx, qword [rsp + 0x148]
mov qword [rsp + 0x160], rbx
mov rdi, qword [rsp + 0x140]
cmp rax, rdx
mov rsi, rdx
cmovbe rsi, rax
cmp rsi, 0xf
ja 0x1400bc9d0
cmp rsi, 1
je 0x1400bca20
test rsi, rsi
jne 0x1400bcda8
mov rax, rbx
mov qword [rsp + 0x168], rsi
mov byte [rax + rsi], 0
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
cmp rax, rbx
je 0x1400bca30
cmp rcx, r12
je 0x1400bcad8
mov rdx, qword [rsp + 0x150]
mov qword [rsp + 0x140], rax
movdqu xmm1, xmmword [rsp + 0x168]
movups xmmword [rsp + 0x148], xmm1
test rcx, rcx
je 0x1400bcaf1
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x168], 0
mov byte [rcx], 0
mov rcx, qword [rsp + 0x160]
cmp rcx, rbx
je 0x1400bbf6a
mov rax, qword [rsp + 0x170]
lea rdx, [rax + 1]
call fcn.1400f5f50
jmp 0x1400bbf6a
mov qword [rsp + 0xc8], rax
mov byte [rdi + rax], 0
jmp 0x1400bbeb6
mov rax, rsi
mov r8, qword [rsp + 0xe8]
shr rax, 0x3e
jne 0x1400bcf30
mov rcx, qword [rsp + 0xe0]
mov rbx, rsi
cmp rcx, r14
je 0x1400bcbb8
mov rax, qword [rsp + 0xf0]
cmp rax, rsi
jb 0x1400bca90
cmp rsi, 1
je 0x1400bcab9
lea r8, [rsi + rsi]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rax
xor r12d, r12d
mov qword [rsp + 0xe8], rsi
xor edx, edx
mov r9d, dword [rsp + 0xa8]
mov word [rcx + rsi*2], r12w
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
mov dword [rsp + 0x28], ebx
call rdi
cmp ebx, eax
jne 0x1400bbe64
lea rax, [rsp + 0x108]
lea rbx, [0x14016cff8]
pxor xmm6, xmm6
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x58], rax
call fcn.1400931c0
mov rcx, rbx
movups xmmword [rsp + 0x110], xmm6
call sub.msvcrt.dll_wcslen
mov dword [rsp + 0x20], 0x10
mov r9, rdi
mov rdx, rbx
lea rcx, [rsp + 0x160]
lea r8, [rbx + rax*2]
call fcn.1400c1f20
mov rcx, qword [rsp + 0x118]
movdqu xmm0, xmmword [rsp + 0x260]
movups xmmword [rsp + 0x260], xmm6
movups xmmword [rsp + 0x110], xmm0
test rcx, rcx
je 0x1400bc301
call fcn.1400d3250
mov rcx, qword [rsp + 0x290]
mov dword [rsp + 0x100], 0x10
test rcx, rcx
je 0x1400bc36b
mov rax, qword [rsp + 0x2d8]
mov rbx, qword [rsp + 0x2b8]
lea rsi, [rax + 8]
cmp rbx, rsi
jae 0x1400bc356
nop word [rax + rax]
mov rcx, qword [rbx]
mov edx, 0x200
add rbx, 8
call fcn.1400f5f50
cmp rbx, rsi
jb 0x1400bc338
mov rcx, qword [rsp + 0x290]
mov rax, qword [rsp + 0x298]
lea rdx, [rax*8]
call fcn.1400f5f50
mov rcx, qword [rsp + 0x270]
lea rax, [rsp + 0x280]
cmp rcx, rax
je 0x1400bc392
mov rax, qword [rsp + 0x280]
lea rdx, [rax + rax + 2]
call fcn.1400f5f50
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x1400bc3a4
call fcn.1400d3250
mov rcx, qword [rsp + 0x230]
lea rax, [rsp + 0x240]
cmp rcx, rax
je 0x1400bc3cb
mov rax, qword [rsp + 0x240]
lea rdx, [rax + rax + 2]
call fcn.1400f5f50
lea rax, [rsp + 0x100]
mov qword [rsp + 0x50], r13
pxor xmm0, xmm0
lea rbx, [rsp + 0x170]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0xe0]
lea r12, [rsp + 0x150]
mov qword [rsp + 0x88], rax
mov rdi, qword [rsp + 0xe8]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x70], r14
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
nop dword [rax]
mov dword [rsp + 0x30], 0
mov r9, qword [rsp + 0x78]
lea rdx, [rcx + rdi*2]
mov dword [rsp + 0x28], 0
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
call fcn.1400dc8b0
test al, al
je 0x1400bcb10
mov rdx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
xor edi, edi
mov qword [rsp + 0x140], r12
mov qword [rsp + 0x148], 0
mov rcx, rdx
mov word [rsp + 0x150], di
sub rcx, rax
cmp rdx, rax
je 0x1400bc7d8
movabs r8, 0xaaaaaaaaaaaaaaab
mov rdx, rcx
sar rdx, 3
imul rdx, r8
sub rdx, 3
cmp rdx, 1
jbe 0x1400bc7d8
add rax, 0x18
cmp byte [rax + 0x10], 0
jne 0x1400bc7e7
xor r11d, r11d
mov qword [rsp + 0x160], rbx
mov rcx, qword [rsp + 0x60]
mov word [rsp + 0x170], r11w
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x168], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rsp + 0x160]
mov esi, eax
cmp rcx, rbx
je 0x1400bc532
mov rax, qword [rsp + 0x170]
lea rdx, [rax + rax + 2]
call fcn.1400f5f50
test esi, esi
jne 0x1400bc8b8
mov rdx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
mov r14, qword [rsp + 0x140]
mov rcx, rdx
sub rcx, rax
cmp rdx, rax
je 0x1400bc9c0
mov rdx, rax
cmp rcx, 0x48
jne 0x1400bc56f
lea rax, [rax + rcx - 0x48]
mov r10, qword [rax]
mov rcx, r14
mov rsi, qword [rdx + 8]
mov qword [rsp + 0x80], r10
call sub.msvcrt.dll_wcslen
mov r10, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
mov r13, rax
mov rax, qword [rsp + 0xe8]
mov rdx, r10
sub rsi, r10
sub rdx, rcx
mov r15, rax
sar rsi, 1
sar rdx, 1
sub r15, rdx
cmp rsi, r15
cmova rsi, r15
cmp rax, rdx
jb 0x1400bceff
movabs r8, 0x3fffffffffffffff
sub r8, rax
add r8, rsi
cmp r8, r13
jb 0x1400bcf18
mov r11, qword [rsp + 0x70]
lea rdi, [r13 + rax]
sub rdi, rsi
cmp rcx, r11
je 0x1400bcac8
mov r8, qword [rsp + 0xf0]
cmp r8, rdi
jb 0x1400bc768
sub r15, rsi
setne r11b
cmp r14, rcx
jb 0x1400bc850
lea rax, [rcx + rax*2]
cmp rax, r14
jb 0x1400bc850
lea rax, [r13 - 1]
cmp rax, rsi
jae 0x1400bc65a
cmp r13, 1
je 0x1400bce38
mov rcx, r10
lea r8, [r13 + r13]
mov rdx, r14
mov byte [rsp + 0x80], r11b
call sub.msvcrt.dll_memmove
movzx r11d, byte [rsp + 0x80]
mov r10, rax
cmp r13, rsi
je 0x1400bc68f
test r11b, r11b
je 0x1400bc68f
lea rdx, [r10 + rsi*2]
lea rcx, [r10 + r13*2]
cmp r15, 1
je 0x1400bce60
lea r8, [r15 + r15]
mov qword [rsp + 0x80], r10
call sub.msvcrt.dll_memmove
mov r10, qword [rsp + 0x80]
cmp rsi, r13
jae 0x1400bc780
lea r15, [r13 + r13]
lea r8, [r10 + rsi*2]
lea rax, [r14 + r15]
cmp r8, rax
jb 0x1400bcde0
cmp r13, 1
je 0x1400bccb8
mov rcx, r10
mov r8, r15
mov rdx, r14
call sub.msvcrt.dll_memmove
mov rcx, qword [rsp + 0xe0]
jmp 0x1400bc788
mov dword [rsp + 0x20], 0
sub rax, rdx
xor r8d, r8d
mov rcx, rsi
mov r9, rax
call fcn.14005d5e0
jmp 0x1400bbeb6
mov dword [rsp + 0x20], 0x11f
mov r9d, 1
mov r8d, 0x7d0
lea rdx, [0x14016d090]
mov ecx, 0x10
call fcn.140093300
movups xmm6, xmmword [rsp + 0x2f0]
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.14003f7f0
mov r8, rsi
add r8, 1
je 0x1400bbfa3
mov rdx, r12
mov rcx, rbx
call sub.msvcrt.dll_memcpy
jmp 0x1400bbfa3
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0xe0]
mov r9, r14
mov r8, rsi
call fcn.14000d7e0
mov rcx, qword [rsp + 0xe0]
xor eax, eax
mov qword [rsp + 0xe8], rdi
mov word [rcx + rdi*2], ax
mov rax, qword [rsp + 0x140]
cmp rax, r12
je 0x1400bc438
mov rdx, qword [rsp + 0x150]
mov rcx, rax
lea rdx, [rdx + rdx + 2]
call fcn.1400f5f50
mov rcx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
jmp 0x1400bc438
lea rax, [rax + rcx - 0x48]
cmp byte [rax + 0x10], 0
je 0x1400bc4dc
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
mov qword [rsp + 0x160], rbx
sub rsi, rdi
mov r14, rsi
sar r14, 1
mov qword [rsp + 0x98], r14
cmp rsi, 0xe
ja 0x1400bcbd8
mov r15, rsi
mov r13, r14
mov rcx, rbx
cmp r14, 1
je 0x1400bcbc8
test r14, r14
je 0x1400bc83c
mov r8, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x160]
xor esi, esi
mov qword [rsp + 0x168], r13
mov word [rcx + r15], si
jmp 0x1400bc506
cmp r13, rsi
je 0x1400bc885
test r11b, r11b
je 0x1400bc885
lea rdx, [r10 + rsi*2]
lea rcx, [r10 + r13*2]
cmp r15, 1
je 0x1400bcdb0
lea r8, [r15 + r15]
mov qword [rsp + 0x80], r10
call sub.msvcrt.dll_memmove
mov r10, qword [rsp + 0x80]
test r13, r13
je 0x1400bc780
cmp r13, 1
je 0x1400bccb8
mov rcx, r10
lea r8, [r13 + r13]
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xe0]
jmp 0x1400bc788
mov rdi, qword [rsp + 0x140]
mov r8, qword [rsp + 0x148]
mov r13d, esi
cmp rdi, r12
je 0x1400bcdc0
mov rax, qword [rsp + 0x150]
cmp rax, r13
jb 0x1400bcc10
cmp esi, 1
je 0x1400bcdd0
lea r8, [r13 + r13]
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
xor r9d, r9d
mov qword [rsp + 0x148], r13
mov word [rdi + r13*2], r9w
mov rcx, rdx
sub rcx, rax
cmp rdx, rax
je 0x1400bca80
movabs r8, 0xaaaaaaaaaaaaaaab
mov rdx, rcx
sar rdx, 3
imul rdx, r8
sub rdx, 3
cmp rdx, 1
jbe 0x1400bca80
add rax, 0x18
cmp byte [rax + 0x10], 0
jne 0x1400bcc38
xor edx, edx
mov qword [rsp + 0x160], rbx
mov rcx, qword [rsp + 0x60]
mov word [rsp + 0x170], dx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x168], 0
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rsp + 0x160]
cmp rcx, rbx
je 0x1400bc53a
mov rax, qword [rsp + 0x170]
lea rdx, [rax + rax + 2]
call fcn.1400f5f50
jmp 0x1400bc53a
lea rdx, [rax - 0x48]
jmp 0x1400bc56a
test rsi, rsi
js 0x1400bcf24
mov rcx, rsi
add rcx, 1
js 0x1400bce30
call fcn.1400aeae0
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x160], rax
mov rcx, rax
mov r8, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x160]
jmp 0x1400bc13a
movzx eax, byte [rdi]
mov byte [rsp + 0x170], al
jmp 0x1400bc137
mov r8, qword [rsp + 0x168]
test r8, r8
je 0x1400bca5f
cmp r8, 1
je 0x1400bcd40
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0x148], r8
mov byte [rcx + r8], 0
mov rcx, qword [rsp + 0x160]
jmp 0x1400bc1a2
lea rax, [rax + rcx - 0x48]
jmp 0x1400bc953
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0xe0]
xor r9d, r9d
xor edx, edx
call fcn.14000d7e0
mov rcx, qword [rsp + 0xe0]
cmp rsi, 1
jne 0x1400bc23c
xor eax, eax
mov word [rcx], ax
jmp 0x1400bc24a
mov r8d, 7
jmp 0x1400bc5fd
movdqu xmm2, xmmword [rsp + 0x168]
mov qword [rsp + 0x140], rax
movups xmmword [rsp + 0x148], xmm2
mov qword [rsp + 0x160], rbx
lea rbx, [rsp + 0x170]
mov rcx, rbx
jmp 0x1400bc1a2
mov r9d, dword [rsp + 0xe8]
mov r13, qword [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x38], 0
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x30], 0
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r8, qword [rsp + 0xe0]
lea rsi, [rsp + 0xc0]
mov qword [rsp + 0x20], 0
mov rdi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call rdi
movsxd r9, eax
test r9, r9
jne 0x1400bccd0
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x1400bcb93
mov rdx, qword [rsp + 0x130]
sub rdx, rcx
call fcn.1400f5f50
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x1400bcba5
call fcn.1400d3250
mov rcx, qword [rsp + 0x58]
call fcn.140011cc0
jmp 0x1400bbe8c
mov eax, 7
jmp 0x1400bc229
movzx eax, word [rdi]
mov word [rcx], ax
jmp 0x1400bc83c
lea rcx, [rsp + 0x98]
xor edx, edx
call fcn.1400d36b0
mov r13, qword [rsp + 0x98]
mov qword [rsp + 0x160], rax
mov rcx, rax
mov qword [rsp + 0x170], r13
lea r15, [r13 + r13]
jmp 0x1400bc81a
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x140]
xor r9d, r9d
xor edx, edx
call fcn.14000d7e0
mov rdi, qword [rsp + 0x140]
jmp 0x1400bc8e5
mov r15, qword [rax]
mov r13, qword [rax + 8]
mov qword [rsp + 0x160], rbx
sub r13, r15
mov r8, r13
sar r8, 1
mov qword [rsp + 0x98], r8
cmp r13, 0xe
ja 0x1400bcd60
mov r14, r13
mov r9, r8
mov rcx, rbx
cmp r8, 1
je 0x1400bce20
test r8, r8
je 0x1400bcc9d
mov r8, r13
mov rdx, r15
mov qword [rsp + 0x80], r9
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x160]
mov r9, qword [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x168], r9
mov word [rcx + r14], r8w
jmp 0x1400bc985
movzx eax, word [r14]
mov rcx, qword [rsp + 0xe0]
mov word [r10], ax
jmp 0x1400bc788
mov dword [rsp + 0x20], 0
mov r8, qword [rsp + 0xc8]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x80], eax
call fcn.14005d5e0
mov eax, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
mov r9d, dword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
call rdi
jmp 0x1400bcb76
movzx eax, byte [rsp + 0x170]
mov byte [rcx], al
mov r8, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x140]
jmp 0x1400bca5f
lea rcx, [rsp + 0x98]
xor edx, edx
mov qword [rsp + 0x80], r8
call fcn.1400d36b0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x160], rax
mov rcx, rax
mov qword [rsp + 0x170], r9
lea r14, [r9 + r9]
jmp 0x1400bcc6b
mov rcx, rbx
jmp 0x1400bc9fe
movzx eax, word [rdx]
mov word [rcx], ax
jmp 0x1400bc885
mov eax, 7
jmp 0x1400bc8dc
xor r10d, r10d
mov word [rdi], r10w
jmp 0x1400bc8fd
cmp r14, r8
jb 0x1400bce70
mov r9, r14
sub r9, r10
sar r9, 1
lea rax, [r9 + r13]
sub rax, rsi
lea rdx, [r10 + rax*2]
cmp r13, 1
je 0x1400bcece
mov rcx, r10
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xe0]
jmp 0x1400bc788
movzx eax, word [r15]
mov word [rcx], ax
jmp 0x1400bcc9d
call fcn.140004240
nop dword [rax]
movzx eax, word [r14]
mov word [r10], ax
cmp rsi, 1
je 0x1400bc788
test r11b, r11b
jne 0x1400bc664
jmp 0x1400bc788
movzx eax, word [rdx]
mov word [rcx], ax
jmp 0x1400bc68f
sub r8, r14
mov rsi, r8
sar rsi, 1
cmp r8, 2
je 0x1400bcef5
mov rcx, r10
mov rdx, r14
mov qword [rsp + 0x80], r8
call sub.msvcrt.dll_memmove
mov r8, qword [rsp + 0x80]
mov r10, rax
sub r13, rsi
lea rdx, [r10 + r15]
lea rcx, [r10 + r8]
cmp r13, 1
je 0x1400bcee2
test r13, r13
je 0x1400bc780
lea r8, [r13 + r13]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xe0]
jmp 0x1400bc788
movzx eax, word [rdx]
mov rcx, qword [rsp + 0xe0]
mov word [r10], ax
jmp 0x1400bc788
movzx eax, word [rdx]
mov word [rcx], ax
mov rcx, qword [rsp + 0xe0]
jmp 0x1400bc788
movzx eax, word [r14]
mov word [r10], ax
jmp 0x1400bce9d
mov r8, rdx
mov r9, rax
lea rdx, [0x14016d026]
lea rcx, [0x14016d040]
call fcn.14003abf0
lea rcx, [0x14016d077]
call fcn.140054600
lea rcx, [0x14016cdfa]
call fcn.140054600
lea rcx, [0x14016ce12]
call fcn.140054600
nop
nop
nop
nop
push rbx
sub rsp, 0x20
sub rdx, rcx
mov rbx, r8
sar rdx, 3
lea rax, [rdx*8]
sub rbx, rax
test rdx, rdx
jle 0x1400bcf71
mov r8, rcx
mov r9, rax
mov rdx, rax
mov rcx, rbx
call 0x1400bcf71
mov rax, rbx
add rsp, 0x20
pop rbx
ret