Function at 0x14017e1a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [rcx + 0x28]
lea r12, [rcx + 0x38]
mov rbx, qword [rcx + 0x10]
xor ebp, ebp
mov rsi, qword [rcx]
add rbx, 8
movsxd r14, edx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x58], ebp
mov r13, qword [rsi + 0x18]
lea r10, [r14 + r14*4]
mov qword [rsp + 0xa0], r13
shl r10, 4
add r12, r10
mov qword [rsp + 0x98], r12
movzx eax, byte [r12 + 0x2c]
mov edi, dword [r12]
imul rcx, rax, 0x58
shr edi, 0x19
add rbx, rcx
and edi, 1
test dword [r12], 0x800000
lea ecx, [rbp + 1]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x88], edi
mov r15d, dword [rbx + 0x2c]
mov dword [rsp + 0x108], r15d
je 0x14017e24c
mov dword [rsp + 0x30], ecx
test r8b, 0x40
je 0x14017e250
mov dword [rsp + 0x30], ebp
mov rcx, r13
call fcn.1401c89c0
mov rcx, r13
mov dword [rsp + 0x50], eax
mov dword [r12 + 0x20], eax
mov dword [r12 + 0x1c], eax
call fcn.1401c89c0
mov dword [rsp + 0x90], eax
mov dword [r12 + 0x24], eax
cmp byte [r12 + 0x2c], bpl
jbe 0x14017e2aa
test byte [rbx + 0x29], 8
je 0x14017e2aa
mov r9d, dword [rsi + 0x58]
xor r8d, r8d
inc r9d
mov dword [rsp + 0x20], ebp
mov dword [rsi + 0x58], r9d
mov rcx, r13
mov dword [r12 + 0x10], r9d
lea edx, [r8 + 7]
call fcn.1401c0520
mov ecx, dword [r12]
mov qword [rsp + 0xa8], 0xa
bt ecx, 0x1b
jae 0x14017e65b
mov rax, qword [r12 + 8]
mov ecx, dword [rsi + 0x48]
mov r8d, dword [rsi + 0x4c]
mov qword [rsp + 0x70], rax
movsxd rdx, dword [rax]
mov r9, qword [rax + 8]
mov r15, qword [rax + 0x20]
inc dword [rsi + 0x64]
lea r10d, [rdx + 2]
mov qword [rsp + 0x78], r9
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x38], r8d
cmp r10d, ecx
jg 0x14017e30a
lea eax, [r8 + r10]
sub ecx, r10d
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x48], ecx
jmp 0x14017e31a
mov eax, dword [rsi + 0x58]
lea ecx, [rax + 1]
add eax, r10d
mov dword [rsi + 0x58], eax
mov dword [rsp + 0x38], ecx
mov edi, 1
mov r14, rdx
cmp edx, edi
jl 0x14017e3cd
mov r13d, dword [rsp + 0x38]
mov r12d, edx
mov ebx, ebp
mov rax, rbp
test r14, r14
jle 0x14017e3ad
nop dword [rax]
cmp dword [r15 + rax*8], edi
je 0x14017e352
inc ebx
inc rax
cmp rax, r14
jl 0x14017e340
jmp 0x14017e3ad
lea rax, [rax + rax*2]
movsxd rcx, dword [r9 + rax*4 + 8]
lea r8d, [r13 + 1]
mov rax, qword [rsp + 0x80]
add r8d, edi
imul rcx, rcx, 0x38
mov rax, qword [rax + 0x28]
mov rcx, qword [rcx + rax]
mov rdx, qword [rcx + 0x18]
mov rcx, rsi
call fcn.1401a56b0
lea r9d, [r13 + 1]
add r9d, edi
cmp eax, r9d
je 0x14017e3a8
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14017e3a8
mov r8d, eax
mov dword [rsp + 0x20], ebp
mov edx, reloc.WS2_32.dll_ntohs
call fcn.1401c0520
mov r9, qword [rsp + 0x78]
cmp ebx, r12d
je 0x14017e3bd
inc edi
cmp edi, r12d
jle 0x14017e332
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rax, qword [rsp + 0x70]
movsxd rbx, dword [r13 + 0x18]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x30], eax
cmp dword [r13 + 0x1c], ebx
jg 0x14017e3ef
mov rcx, r13
call fcn.1401898a0
test eax, eax
jne 0x14017e426
mov rax, qword [r13 + 0x20]
lea rcx, [rbx + rbx*2]
inc dword [r13 + 0x18]
mov edx, dword [rsp + 0x30]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov dword [rax + rcx*8 + 8], edx
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [r13 + 0xa2], bpl
movsxd rbx, dword [r13 + 0x18]
cmp dword [r13 + 0x1c], ebx
jg 0x14017e43c
mov rcx, r13
call fcn.1401898a0
test eax, eax
jne 0x14017e474
mov rax, qword [r13 + 0x20]
lea rcx, [rbx + rbx*2]
inc dword [r13 + 0x18]
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
lea rdx, [rax + rcx*8]
lea eax, [rdi - 1]
mov dword [rdx + 0xc], ebp
mov dword [rdx + 4], eax
mov eax, dword [rsp + 0x38]
inc eax
mov qword [rdx + 0x10], rbp
mov dword [rdx + 8], eax
mov byte [r13 + 0xa2], bpl
mov rax, qword [rsp + 0x70]
mov edi, 0xfffffffe
movsxd rbx, dword [r13 + 0x18]
mov ecx, 0xfffffff5
cmp dword [rax + 0x38], ebp
mov rax, qword [rax + 0x30]
cmovne edi, ecx
mov qword [rsp + 0x60], rax
cmp dword [r13 + 0x1c], ebx
jg 0x14017e4af
mov rcx, r13
call fcn.1401898a0
test eax, eax
je 0x14017e4af
mov ebx, 1
jmp 0x14017e4ef
mov rax, qword [r13 + 0x20]
lea rcx, [rbx + rbx*2]
inc dword [r13 + 0x18]
mov edx, dword [rsp + 0x108]
mov r9d, dword [rsp + 0x50]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], 0x80
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 8], r9d
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [r13 + 0xa2], bpl
mov r8, qword [rsp + 0x60]
mov r9d, edi
mov edx, ebx
mov rcx, r13
call fcn.1401c0760
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], ebp
test r14, r14
jle 0x14017e58c
mov r11, qword [rsp + 0x78]
lea r10, [r15 + 4]
mov r13, qword [rsp + 0x80]
add r11, 8
cmp byte [r10], bpl
je 0x14017e576
movsxd rax, dword [r11]
imul rcx, rax, 0x38
add rcx, qword [r13 + 0x28]
je 0x14017e576
movzx edx, byte [rcx + 0x1a]
test dl, 4
jne 0x14017e576
cmp dword [r12 + 0x10], ebp
je 0x14017e54e
mov rax, qword [rcx]
test byte [rax + 2], 1
je 0x14017e576
movsxd rax, dword [rcx + 8]
or dl, 4
mov byte [rcx + 0x1a], dl
test eax, eax
js 0x14017e576
imul rdx, rax, 0x38
mov rax, qword [rcx + 0x20]
add rdx, qword [rax + 0x28]
add byte [rdx + 0x1b], 0xff
jne 0x14017e576
mov rcx, r12
call fcn.140181980
add r10, 8
add r11, 0xc
sub r14, 1
jne 0x14017e523
mov r13, qword [rsp + 0xa0]
mov r15d, dword [rsp + 0x108]
lea rcx, [rsi + 0x80]
mov r10d, dword [rsp + 0x48]
mov r11d, 0xa
mov dword [r12 + 0x30], r15d
mov r8d, r11d
mov byte [r12 + 0x2d], 0x83
mov eax, dword [r13 + 0x18]
mov dword [r12 + 0x34], eax
mov eax, dword [rsp + 0x38]
lea r9d, [rax - 1]
add r9d, r10d
mov edx, dword [rcx]
cmp edx, eax
jl 0x14017e5f5
cmp edx, r9d
jg 0x14017e5f5
cmp byte [rcx - 8], bpl
je 0x14017e5f3
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x14017e5eb
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov eax, dword [rsp + 0x38]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x14017e5c8
cmp r10d, dword [rsi + 0x48]
jle 0x14017e60c
mov dword [rsi + 0x48], r10d
mov dword [rsi + 0x4c], eax
dec dword [rsi + 0x64]
lea rcx, [rsi + 0x80]
mov r8, r11
nop dword [rax]
mov edx, dword [rcx]
test edx, edx
je 0x14017e64c
mov eax, dword [rsi + 0x64]
cmp dword [rcx - 4], eax
jle 0x14017e64c
cmp byte [rcx - 8], bpl
je 0x14017e64a
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x14017e646
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x14017e620
jmp 0x14017f26d
bt ecx, 0xc
jae 0x14017e724
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x14017e675
inc dword [rsi + 0x58]
mov edi, dword [rsi + 0x58]
jmp 0x14017e681
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov edi, dword [rsi + rax*4 + 0x28]
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0x58], edi
mov rdx, qword [rax + 0x28]
mov eax, dword [rax + 0x1c]
test eax, eax
je 0x14017e6c1
mov r9, qword [rsp + 0x118]
cmp dword [rdx + 0xc], r15d
jne 0x14017e6b8
test qword [rdx + 0x28], r9
jne 0x14017e6b8
cmp dword [rdx + 0x10], 0xffffffff
jne 0x14017e6b8
test byte [rdx + 0x18], 3
jne 0x14017e6c4
add rdx, 0x38
sub eax, 1
jne 0x14017e6a0
mov rdx, rbp
mov r9d, edi
mov r8, r12
mov rcx, rsi
call fcn.14017dde0
mov ebx, dword [r12 + 0x20]
mov r8d, eax
mov r9d, ebx
mov dword [rsp + 0x20], ebp
mov edx, 0x15
mov rcx, r13
mov edi, eax
call fcn.1401c0520
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov edx, 0x34
mov rcx, r13
call fcn.1401c0520
mov r9d, edi
or r8d, 0xffffffff
mov edx, r15d
mov rcx, rsi
call fcn.1401a4bb0
mov byte [r12 + 0x2d], 0x88
jmp 0x14017f26d
bt ecx, 0xd
jae 0x14017e99a
mov rax, qword [rsp + 0x80]
mov r8d, dword [rsp + 0x108]
mov dword [rsp + 0x40], 0x88
mov dword [rsp + 0x44], ebp
mov r14, qword [rax + 0x28]
mov ecx, dword [rax + 0x1c]
mov r15, r14
mov eax, ecx
test ecx, ecx
je 0x14017e78b
nop word [rax + rax]
cmp dword [r15 + 0xc], r8d
jne 0x14017e782
mov rdx, qword [rsp + 0x118]
test qword [r15 + 0x28], rdx
jne 0x14017e782
cmp dword [r15 + 0x10], 0xffffffff
jne 0x14017e782
test byte [r15 + 0x18], 0x24
jne 0x14017e796
add r15, 0x38
sub eax, 1
jne 0x14017e760
mov rdx, qword [rsp + 0x118]
mov r15, rbp
test ecx, ecx
je 0x14017e7c3
nop word [rax + rax]
cmp dword [r14 + 0xc], r8d
jne 0x14017e7ba
test qword [r14 + 0x28], rdx
jne 0x14017e7ba
cmp dword [r14 + 0x10], 0xffffffff
jne 0x14017e7ba
test byte [r14 + 0x18], 0x18
jne 0x14017e7c6
add r14, 0x38
sub ecx, 1
jne 0x14017e7a0
mov r14, rbp
test edi, edi
je 0x14017e7d3
mov rax, r15
mov r15, r14
mov r14, rax
test r15, r15
je 0x14017e84d
mov rbx, qword [r15]
lea r8, [rsp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x38], 0x2e2c2d2f
mov rdx, qword [rbx + 0x18]
call fcn.1401a6a40
movzx ecx, byte [rbx]
mov edi, eax
mov r9d, dword [rsp + 0x50]
sub ecx, 0x4d
mov r8d, dword [rsp + 0x108]
movsxd rcx, ecx
mov dword [rsp + 0x20], eax
movzx edx, byte [rsp + rcx + 0x38]
mov rcx, r13
call fcn.1401c0520
mov r8d, 1
mov edx, edi
mov rcx, rsi
call fcn.1401a4b50
mov edx, dword [rsp + 0x30]
mov rcx, rsi
call fcn.1401b8140
mov rdx, r15
mov rcx, r12
call fcn.140181980
mov edi, dword [rsp + 0x88]
jmp 0x14017e86d
mov r9d, dword [rsp + 0x50]
test edi, edi
mov edx, 0x41
mov dword [rsp + 0x20], ebp
mov eax, 0x3f
mov rcx, r13
cmovne edx, eax
call fcn.1401c0520
test r14, r14
je 0x14017e8cd
mov rbx, qword [r14]
mov rcx, rsi
inc dword [rsi + 0x58]
mov eax, dword [rsi + 0x58]
mov r8d, eax
mov dword [rsp + 0x44], eax
mov rdx, qword [rbx + 0x18]
call fcn.1401a4d10
movzx eax, byte [rbx]
sub al, 0x4d
test al, 0xfd
je 0x14017e8af
test edi, edi
mov eax, 0x4f
mov r10d, 0x4d
cmovne r10d, eax
mov dword [rsp + 0x40], r10d
jmp 0x14017e8c2
test edi, edi
mov eax, 0x50
mov ecx, 0x4e
cmovne eax, ecx
mov dword [rsp + 0x40], eax
mov rdx, r14
mov rcx, r12
call fcn.140181980
mov ecx, dword [r13 + 0x18]
test edi, edi
mov dword [r12 + 0x34], ecx
sete al
add al, 0x42
mov byte [r12 + 0x2d], al
mov eax, dword [rsp + 0x108]
mov dword [r12 + 0x30], eax
test r15, r15
jne 0x14017e8fe
test r14, r14
jne 0x14017e8fe
mov byte [r12 + 0x2e], 1
mov ebx, dword [rsp + 0x40]
cmp ebx, 0x88
je 0x14017f26a
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x14017e91e
inc dword [rsi + 0x58]
mov edi, dword [rsi + 0x58]
jmp 0x14017e92a
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov edi, dword [rsi + rax*4 + 0x28]
mov r15d, dword [rsp + 0x108]
mov r9d, edi
mov r8d, r15d
mov dword [rsp + 0x58], edi
mov edx, 0x3d
mov dword [rsp + 0x20], ebp
mov rcx, r13
call fcn.1401c0520
mov r9d, edi
or r8d, 0xffffffff
mov edx, r15d
mov rcx, rsi
call fcn.1401a4bb0
mov r9d, dword [rsp + 0x50]
mov edx, ebx
mov r8d, dword [rsp + 0x44]
mov rcx, r13
mov dword [rsp + 0x20], edi
call fcn.1401c0520
mov rdx, qword [r13 + 0x20]
test rdx, rdx
je 0x14017f26d
mov eax, dword [r13 + 0x18]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 + 3], 0x6b
jmp 0x14017f26d
test ecx, 0x30000
je 0x14017eeaa
test byte [rsp + 0x110], 1
mov r14, rbp
mov eax, dword [r12 + 0x18]
mov r15, rbp
mov rbx, qword [r12 + 8]
mov edx, ebp
movsxd rdi, dword [r12 + 4]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x78], ebp
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rbp
mov eax, dword [rax + rdi*4]
mov dword [rsp + 0x48], eax
je 0x14017e9f3
bt ecx, 0x18
jae 0x14017e9f3
cmp dword [rbx + 8], edi
jle 0x14017e9f3
mov edx, 1
mov dword [rsp + 0x78], edx
bt ecx, 0x14
jae 0x14017ea36
mov r9, qword [rsp + 0x118]
mov r8d, eax
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x18
call fcn.140184360
mov r15, rax
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x48]
mov edx, 1
test dword [r12], 0x200000
je 0x14017ea74
mov r9, qword [rsp + 0x118]
mov r8d, eax
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x24
call fcn.140184360
mov r14, rax
mov edx, 1
mov r9, qword [rsp + 0x118]
lea rax, [rsp + 0x98]
mov r8, qword [rsp + 0x80]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov rdx, r12
call fcn.14017d540
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsi]
mov dword [rsp + 0x38], eax
call fcn.1401a24b0
mov qword [rsp + 0x70], rax
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x50], eax
cmp edi, dword [rbx + 8]
jge 0x14017eaeb
mov rcx, qword [rbx + 0x48]
mov edx, ebp
cmp byte [rdi + rcx], bpl
sete dl
cmp dword [rsp + 0x88], edx
jne 0x14017eaeb
mov rcx, r15
mov qword [rsp + 0x60], r14
mov r15, r14
mov r14, rcx
test r14, r14
je 0x14017eb02
test byte [r14 + 0x18], 0x28
jne 0x14017eb02
mov dword [rsp + 0x44], ebp
mov eax, 1
jmp 0x14017eb0b
mov eax, 1
mov dword [rsp + 0x44], eax
test r15, r15
je 0x14017eb1b
test byte [r15 + 0x18], 0x28
mov dword [rsp + 0x48], ebp
je 0x14017eb1f
mov dword [rsp + 0x48], eax
test r14, r14
jne 0x14017eca6
test edi, edi
jg 0x14017eca6
mov dword [rsp + 0x68], ebp
mov ebx, edi
cmp dword [rsp + 0x78], ebp
je 0x14017eb66
mov r9d, dword [rsp + 0x38]
xor r8d, r8d
add r9d, edi
mov dword [rsp + 0x20], ebp
mov rcx, r13
lea edx, [r8 + 0xa]
call fcn.1401c0520
mov dword [rsp + 0x44], ebp
mov dword [rsp + 0x68], 1
lea ebx, [rdi + 1]
mov r9, qword [rsp + 0x98]
mov r8d, ebx
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.14017d7e0
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x28], ebx
lea eax, [rdx + rcx*2]
mov ecx, dword [rsp + 0x88]
lea eax, [rcx + rax*2]
cdqe
lea rcx, [0x140000000]
movzx edx, byte [rax + rcx + 0x253eb8]
mov rcx, r13
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
call fcn.1401c05c0
mov ebx, edi
test r15, r15
je 0x14017ec68
mov rax, qword [r15]
mov r8d, 1
mov ebx, dword [rsp + 0x38]
mov rcx, rsi
add ebx, edi
mov edx, ebx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
call fcn.1401a4b50
mov rdx, qword [rsp + 0x60]
mov r8d, ebx
mov rcx, rsi
call fcn.1401a4d10
mov r9d, dword [rsp + 0x50]
mov r8d, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, r13
mov rdx, rbx
call fcn.1401a5500
mov r10, qword [rsp + 0x70]
test r10, r10
je 0x14017ec53
movzx edx, byte [rdi + r10]
mov rcx, rbx
call fcn.1401a09a0
mov r10, qword [rsp + 0x70]
mov r9, rdi
cmp al, 0x62
jne 0x14017ec3d
mov byte [rdi + r10], al
movzx edx, byte [r9 + r10]
mov rcx, rbx
call fcn.1401a7ec0
test eax, eax
je 0x14017ec53
mov byte [r9 + r10], 0x62
mov edx, dword [rsp + 0x38]
lea ebx, [rdi + 1]
mov r8d, ebx
mov r9, r10
mov rcx, rsi
call fcn.14017d7e0
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsi]
call fcn.1401a2260
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsi]
call fcn.1401a2260
mov eax, dword [r13 + 0x18]
mov dword [r12 + 0x34], eax
test r15, r15
jne 0x14017ed26
test edi, edi
jne 0x14017ed26
mov ecx, ebp
jmp 0x14017ed2b
mov dword [rsp + 0x68], eax
mov ebx, edi
test r14, r14
je 0x14017eb36
mov rax, qword [r14]
mov rcx, rsi
mov ebx, dword [rsp + 0x38]
add ebx, edi
mov r8d, ebx
mov r15, qword [rax + 0x18]
mov rdx, r15
call fcn.1401a4d10
mov r9d, dword [rsp + 0x50]
mov r8d, ebx
mov rdx, r15
mov rcx, r13
call fcn.1401a5500
mov rbx, qword [rsp + 0x98]
test rbx, rbx
je 0x14017ed1c
movzx edx, byte [rdi + rbx]
mov rcx, r15
call fcn.1401a09a0
mov r9, rdi
cmp al, 0x62
jne 0x14017ed06
mov byte [rdi + rbx], al
movzx edx, byte [r9 + rbx]
mov rcx, r15
call fcn.1401a7ec0
test eax, eax
je 0x14017ed1c
mov byte [r9 + rbx], 0x62
mov r15, qword [rsp + 0x60]
jmp 0x14017eb63
mov ecx, 1
mov eax, dword [rsp + 0x88]
inc eax
imul eax, ecx
movsxd rcx, eax
lea rax, [0x140000000]
movzx edx, byte [rcx + rax + 0x253e0c]
cmp edx, 0x88
je 0x14017ed97
mov eax, dword [rsp + 0x38]
mov rcx, r13
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.1401c05c0
mov r8, qword [r13 + 0x20]
test r8, r8
je 0x14017ed97
mov eax, dword [rsp + 0x48]
cmp eax, dword [rsp + 0x88]
mov eax, dword [r13 + 0x18]
setne dl
dec eax
cdqe
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 + 3], dl
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x14017eda7
inc dword [rsi + 0x58]
mov ebx, dword [rsi + 0x58]
jmp 0x14017edb3
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov ebx, dword [rsi + rax*4 + 0x28]
test dword [r12], 0x300000
je 0x14017edf6
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov edi, dword [rsp + 0x40]
mov edx, 0x1c
mov r8d, edi
mov rcx, r13
call fcn.1401c0520
mov r9d, dword [rsp + 0x90]
mov r8d, ebx
mov edx, 0x49
mov dword [rsp + 0x20], ebp
mov rcx, r13
call fcn.1401c0520
jmp 0x14017edfa
mov edi, dword [rsp + 0x40]
mov edx, ebx
mov rcx, rsi
call fcn.1401b8140
mov rdx, r14
mov rcx, r12
call fcn.140181980
mov rdx, r15
mov rcx, r12
call fcn.140181980
cmp dword [rsp + 0x30], ebp
jne 0x14017ee87
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x14017ee30
inc dword [rsi + 0x58]
mov ebx, dword [rsi + 0x58]
jmp 0x14017ee3c
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov ebx, dword [rsi + rax*4 + 0x28]
mov r9d, ebx
mov dword [rsp + 0x58], ebx
mov r8d, edi
mov dword [rsp + 0x20], ebp
mov edx, 0x48
mov rcx, r13
call fcn.1401c0520
mov r15d, dword [rsp + 0x108]
mov r9d, ebx
or r8d, 0xffffffff
mov edx, r15d
mov rcx, rsi
call fcn.1401a4bb0
mov edx, 0x30
mov dword [rsp + 0x20], ebp
mov rcx, r13
mov r8d, r15d
call fcn.1401c0520
jmp 0x14017ee8f
mov r15d, dword [rsp + 0x108]
cmp dword [rsp + 0x88], ebp
mov dword [r12 + 0x30], edi
sete al
add al, 0x42
mov byte [r12 + 0x2d], al
jmp 0x14017f26d
bt ecx, 0x1c
jae 0x14017f223
inc dword [rsi + 0x58]
mov rcx, r13
mov edi, dword [rsi + 0x58]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
call fcn.1401c89c0
mov dword [rsp + 0x78], eax
mov r15d, ebp
mov rax, qword [r12 + 8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], ebp
mov rcx, qword [rax + 0x10]
mov rax, qword [rsp + 0x100]
mov byte [r12 + 0x2d], 3
mov dword [r12 + 0x30], edi
mov qword [rsp + 0x60], rcx
mov ebx, dword [rax + 0x24]
cmp ebx, 1
jle 0x14017effb
mov rcx, qword [rsi]
sub ebx, r14d
dec ebx
imul edx, ebx, 0x58
add edx, 0x60
call fcn.1401a2310
mov qword [rsp + 0x50], rax
mov rcx, rax
test rax, rax
jne 0x14017ef38
mov rax, qword [rsp + 0x118]
jmp 0x14017f45b
mov r10, qword [rsp + 0x100]
lea eax, [rbx + 1]
mov word [rcx + 2], ax
mov word [rcx], ax
mov rax, qword [rsp + 0x70]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x18], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x28], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x38], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x48], xmm0
movsd xmm1, qword [rax + 0x50]
movsd qword [rcx + 0x58], xmm1
mov r10, qword [r10 + 0x10]
cmp ebx, 1
jl 0x14017f006
lea rdx, [rcx + 0x60]
mov r9d, ebx
lea r8, [r12 + 0x7c]
nop word [rax + rax]
movzx eax, byte [r8]
lea rdx, [rdx + 0x58]
imul rcx, rax, 0x58
lea r8, [r8 + 0x50]
movups xmm0, xmmword [rcx + r10 + 8]
movups xmmword [rdx - 0x58], xmm0
movups xmm1, xmmword [rcx + r10 + 0x18]
movups xmmword [rdx - 0x48], xmm1
movups xmm0, xmmword [rcx + r10 + 0x28]
movups xmmword [rdx - 0x38], xmm0
movups xmm1, xmmword [rcx + r10 + 0x38]
movups xmmword [rdx - 0x28], xmm1
movups xmm0, xmmword [rcx + r10 + 0x48]
movups xmmword [rdx - 0x18], xmm0
movsd xmm1, qword [rcx + r10 + 0x58]
movsd qword [rdx - 8], xmm1
sub r9, 1
jne 0x14017efa0
mov rbx, qword [rsp + 0x50]
jmp 0x14017f009
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x50], rbx
jmp 0x14017f009
mov rbx, rcx
and word [rsp + 0x110], 8
jne 0x14017f03d
mov eax, dword [rsi + 0x58]
xor r8d, r8d
inc eax
mov dword [rsp + 0x20], ebp
mov r9d, eax
mov dword [rsp + 0x48], eax
lea edx, [r8 + 0xa]
lea ecx, [rax + 1]
mov dword [rsp + 0x30], ecx
mov dword [rsi + 0x58], ecx
mov rcx, r13
call fcn.1401c0520
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, edi
mov rcx, r13
lea edx, [r8 + 7]
call fcn.1401c0520
mov ecx, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
or r14d, 0xffffffff
mov edi, ebp
cmp dword [rax + 0x1c], ebp
jle 0x14017f1a4
mov r12, qword [rsp + 0x50]
mov edx, 0x200
mov ecx, dword [rsp + 0x108]
mov r8d, 0xf0
mov rax, qword [rax + 0x28]
cmp dword [r15 + rax + 0xc], ecx
je 0x14017f09b
cmp word [r15 + rax + 0x18], dx
jne 0x14017f17a
mov word [rsp + 0x20], r8w
xor r9d, r9d
mov r8, qword [r15 + rax]
mov rdx, r12
mov rcx, rsi
call fcn.1401cd1f0
mov qword [rsp + 0x88], rax
mov rbx, rax
test rax, rax
je 0x14017f168
cmp word [rsp + 0x110], bp
jne 0x14017f131
mov rcx, qword [rsp + 0x60]
mov ebx, edi
mov eax, dword [rsp + 0x30]
mov r8d, r14d
mov r9d, dword [rsp + 0x108]
mov dword [rsp + 0x20], eax
mov ecx, dword [rcx + 0x1c]
mov rax, qword [rsp + 0x70]
dec ecx
cmp edi, ecx
mov rcx, rsi
cmove ebx, r14d
mov rdx, qword [rax + 0x18]
call fcn.1401a5010
mov r9d, dword [r13 + 0x18]
mov edx, 0x6b
mov r8d, dword [rsp + 0x48]
add r9d, 2
mov dword [rsp + 0x28], ebx
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.1401c05c0
mov rbx, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x78]
mov edx, 2
mov r8d, dword [rsp + 0x68]
mov rcx, r13
mov dword [rsp + 0x20], ebp
call fcn.1401c0520
mov eax, dword [rsp + 0x44]
mov ecx, 1
cmp byte [rbx + 0xb], bpl
cmovne eax, ecx
mov rcx, rbx
mov dword [rsp + 0x44], eax
call fcn.1401cdf30
mov ecx, dword [rsp + 0x108]
mov r8d, 0xf0
mov edx, 0x200
mov rax, qword [rsp + 0x60]
inc edi
add r15, 0x38
cmp edi, dword [rax + 0x1c]
jl 0x14017f084
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
mov edx, dword [r13 + 0x18]
cmp edx, ecx
jle 0x14017f1bb
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x20]
mov dword [rax + rcx*8 + 4], edx
mov r9d, dword [r12 + 0x1c]
mov edi, 1
mov edx, edi
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov rcx, r13
call fcn.1401c0520
mov r8, qword [r13 + 0x30]
test r8, r8
je 0x14017f1ef
sub r14d, dword [rsp + 0x78]
mov eax, dword [r13 + 0x18]
movsxd rcx, r14d
mov dword [r8 + rcx*4], eax
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x24], edi
jle 0x14017f207
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.1401a2260
test r15d, r15d
jne 0x14017f219
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.140181980
mov r15d, dword [rsp + 0x108]
jmp 0x14017f272
mov r9d, dword [rsp + 0x50]
lea rdx, [0x140000000]
movsxd rcx, edi
mov r8d, r15d
mov dword [r12 + 0x30], r15d
mov dword [rsp + 0x20], ebp
movzx eax, byte [rcx + rdx + 0x253ec0]
movzx edx, byte [rcx + rdx + 0x253ec4]
mov rcx, r13
mov byte [r12 + 0x2d], al
call fcn.1401c0520
inc eax
mov byte [r12 + 0x2e], 1
mov dword [r12 + 0x34], eax
jmp 0x14017f26d
mov r15d, eax
mov edi, 1
mov rax, qword [rsp + 0x80]
mov edx, ebp
mov rcx, rbp
mov rax, qword [rax + 8]
movsxd r8, dword [rax]
test r8, r8
jle 0x14017f2a3
add rax, 4
nop
cmp dword [rax], r15d
je 0x14017f2eb
inc edx
inc rcx
add rax, 4
cmp rcx, r8
jl 0x14017f290
mov rax, rbp
mov r15, qword [rsp + 0x80]
not rax
mov r14, qword [rsp + 0x118]
and r14, rax
mov edi, dword [r15 + 0x1c]
mov rbx, qword [r15 + 0x28]
test edi, edi
jle 0x14017f334
mov r15, qword [rsp + 0x100]
mov r13d, dword [rsp + 0x90]
test byte [rbx + 0x1a], 6
jne 0x14017f31a
test qword [rbx + 0x30], r14
je 0x14017f2f5
mov byte [r15 + 0xb], 1
jmp 0x14017f31a
mov ecx, edx
mov rax, rdi
shl rax, cl
jmp 0x14017f2a6
mov rdx, qword [rbx]
cmp dword [r12 + 0x10], ebp
je 0x14017f305
test byte [rdx + 2], 1
je 0x14017f31a
mov r9d, 8
mov r8d, r13d
mov rcx, rsi
call fcn.1401a6ee0
or byte [rbx + 0x1a], 4
dec edi
add rbx, 0x38
test edi, edi
jg 0x14017f2d8
mov r13, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x80]
mov ebx, dword [r12 + 0x10]
test ebx, ebx
je 0x14017f423
mov eax, dword [r13 + 0x18]
mov dword [r12 + 0x28], eax
movsxd rdi, dword [r13 + 0x18]
cmp dword [r13 + 0x1c], edi
jg 0x14017f360
mov rcx, r13
call fcn.1401898a0
test eax, eax
jne 0x14017f393
mov rax, qword [r13 + 0x20]
lea rcx, [rdi + rdi*2]
inc dword [r13 + 0x18]
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [r13 + 0xa2], bpl
lea rcx, [rsi + 0x80]
mov eax, 0xa
nop
mov edx, dword [rcx]
test edx, edx
je 0x14017f3cc
cmp byte [rcx - 8], bpl
je 0x14017f3c2
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x14017f3be
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], bpl
mov rax, qword [rsp + 0xa8]
mov dword [rcx], ebp
add rcx, 0x18
sub rax, 1
mov qword [rsp + 0xa8], rax
jne 0x14017f3a0
mov edi, ebp
mov rbx, qword [r15 + 0x28]
cmp dword [r15 + 0x1c], ebp
jle 0x14017f423
mov ebp, dword [rsp + 0x90]
test byte [rbx + 0x1a], 6
jne 0x14017f415
test qword [rbx + 0x30], r14
jne 0x14017f415
mov rdx, qword [rbx]
mov r9d, 8
mov r8d, ebp
mov rcx, rsi
call fcn.1401a6ee0
or byte [rbx + 0x1a], 4
inc edi
add rbx, 0x38
cmp edi, dword [r15 + 0x1c]
jl 0x14017f3f1
xor ebp, ebp
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x14017f458
movzx ecx, byte [rsi + 0x25]
cmp cl, 8
jae 0x14017f458
lea rax, [rsi + 0x70]
cmp dword [rax + 0x10], edx
je 0x14017f454
inc ebp
add rax, 0x18
cmp ebp, 0xa
jl 0x14017f438
movzx eax, cl
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
jmp 0x14017f458
mov byte [rax + 8], 1
mov rax, r14
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret