Function at 0x140005ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8, qword [rcx + 0x10]
movzx eax, byte [r8]
and eax, 0xf
cmp eax, 8
ja case.default.0x140005f1b
cdqe
lea r9, [0x140000000]
mov eax, dword [r9 + rax*4 + 0x64c8]
add rax, r9
jmp rax
mov rcx, qword [0x14000c810]
mov edx, 0x3f6
mov dword [rcx + 0xdc], edx
movzx eax, word [r8 + 2]
mov dword [rcx + 0xe0], eax
cmp word [r8 + 2], dx
jne 0x140006017
cmp dword [rcx + 0xd8], edx
jne 0x140006017
mov byte [rcx + 0x13], 0
movzx eax, byte [r8 + 1]
mov byte [rcx + 0xe], al
movzx eax, byte [r8 + 4]
and al, 0xf
mov byte [rcx + 0x18], al
movzx eax, byte [r8 + 4]
shr al, 4
mov byte [rcx + 0x19], al
movzx eax, byte [r8 + 5]
and al, 0xf
mov byte [rcx + 0x1a], al
movzx eax, byte [r8 + 5]
shr al, 4
mov byte [rcx + 0x1b], al
movzx eax, byte [r8 + 6]
and al, 0xf
mov byte [rcx + 0x1c], al
movzx eax, byte [r8 + 6]
shr al, 4
mov byte [rcx + 0x1d], al
movzx eax, byte [r8 + 7]
and al, 0xf
mov byte [rcx + 0x1e], al
movzx eax, byte [r8 + 7]
shr al, 4
mov byte [rcx + 0x1f], al
movzx eax, byte [r8 + 8]
and al, 0xf
mov byte [rcx + 0x20], al
movzx eax, byte [r8 + 8]
shr al, 4
mov byte [rcx + 0x21], al
movzx eax, byte [r8 + 9]
and al, 0xf
mov byte [rcx + 0x22], al
movzx eax, byte [r8 + 9]
shr al, 4
mov byte [rcx + 0x23], al
movzx eax, byte [r8 + 0xa]
and al, 0xf
mov byte [rcx + 0x24], al
movzx eax, byte [r8 + 0xa]
shr al, 4
mov byte [rcx + 0x25], al
movzx eax, byte [r8 + 0xb]
and al, 0xf
mov byte [rcx + 0x26], al
movzx eax, byte [r8 + 0xb]
shr al, 4
mov byte [rcx + 0x27], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov dword [rcx], 3
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
movzx eax, byte [r8 + 1]
mov rcx, qword [0x14000c810]
and al, 0xf
mov byte [rcx + 7], al
movzx eax, byte [r8 + 1]
shr al, 4
mov byte [rcx + 6], al
mov rax, qword [0x14000c818]
and dword [rax + 0x96b28], 0xffe7fbff
test byte [rcx + 0x11], 1
je 0x14000606a
xor r10d, r10d
mov word [r8 + 2], r10w
movzx eax, byte [r8 + 2]
xorps xmm0, xmm0
mov byte [rcx + 0x16], al
mov edx, ntohl
mov dword [rcx + 8], 0
xor eax, eax
mov byte [rcx + 0xd], 0
mov byte [rcx + 0xf], 0
mov qword [rcx + 0x30], rax
lea r8d, [rdx - 0xc]
movups xmmword [rcx + 0x38], xmm0
mov byte [rsp + 0x28], 0xd1
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
movups xmmword [rcx + 0x78], xmm0
movups xmmword [rcx + 0x88], xmm0
movups xmmword [rcx + 0x98], xmm0
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov eax, dword [0x14000c7a0]
mov dword [rcx + 0x38], eax
mov eax, dword [0x14000c7a4]
mov dword [rcx + 0x3c], eax
mov eax, dword [0x14000c7a8]
mov dword [rcx + 0x40], eax
lea rcx, [rsp + 0x28]
movsd xmm0, qword [0x14000c7a0]
mov eax, dword [0x14000c7a8]
movsd qword [rsp + 0x29], xmm0
mov dword [rsp + 0x31], eax
call fcn.140001950
mov r8, rax
call fcn.140001a20
mov rax, qword [0x14000c810]
mov dword [rax], 4
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov r10, qword [0x14000c810]
movzx edx, byte [r8 + 1]
mov eax, edx
and eax, 0xf
movzx r9d, byte [r10 + 7]
cmp eax, r9d
je case.default.0x140005f1b
jae 0x140006159
lea ecx, [rax + 1]
jmp 0x140006160
mov ecx, dword [rsp + 0x20]
cmova ecx, eax
shr dl, 4
lea eax, [rcx + rcx*2]
mov byte [r10 + 6], dl
movsd xmm0, qword [r8 + 2]
shl eax, 2
movsxd rcx, eax
movsd qword [rcx + r10 + 0x38], xmm0
mov eax, dword [r8 + 0xa]
mov dword [rcx + r10 + 0x40], eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
movzx eax, byte [r8 + 1]
shr al, 5
movzx ecx, al
add cl, cl
inc cl
cmp al, 4
jne 0x1400061af
mov cl, 0x1e
jmp 0x1400061cc
cmp al, 5
jne 0x1400061b7
mov cl, 0x3c
jmp 0x1400061cc
cmp al, 6
jne 0x1400061bf
mov cl, 0x5a
jmp 0x1400061cc
cmp al, 7
movzx ecx, cl
mov edx, 0x78
cmove ecx, edx
mov rax, qword [0x14000c818]
mov byte [rax + 0x98853], cl
movzx ecx, byte [r8 + 1]
mov rax, qword [0x14000c810]
and cl, 0x1f
mov byte [rax + 0xb], cl
mov dword [rax], 7
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
movzx r9d, byte [r8 + 1]
mov r10, qword [0x14000c810]
mov edx, r9d
and edx, 7
shr r9d, 4
movzx eax, byte [r10 + 7]
cmp edx, eax
je case.default.0x140005f1b
jae 0x14000622d
lea ecx, [rdx + 1]
jmp 0x140006234
mov ecx, dword [rsp + 0x20]
cmova ecx, edx
mov rax, qword [0x14000c818]
lea ecx, [rcx*2 + 0x86e84]
and ecx, 0xffffff
mov word [rcx + rax], r9w
movzx ecx, byte [r8 + 1]
shr cl, 3
and cl, 1
mov byte [rdx + r10 + 0x30], cl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov rax, qword [0x14000c810]
mov byte [rax + 5], 0
mov dword [rax], 9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov rax, qword [0x14000c810]
mov dword [rax], ntohl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov rcx, qword [0x14000c810]
cmp dword [rcx], 0xa
jl case.default.0x140005f1b
mov r11, qword [0x14000c818]
cmp dword [r11 + 0x8d0f8], 0xffffffff
jne case.default.0x140005f1b
movzx eax, byte [r8 + 1]
movzx ecx, byte [rcx + 7]
and eax, 7
cmp eax, ecx
je case.default.0x140005f1b
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rdi
jae 0x1400062fb
lea ebx, [rax + 1]
jmp 0x140006302
mov ebx, dword [rsp + 0x20]
cmova ebx, eax
movzx edx, byte [r8 + 3]
test dl, 0x40
je 0x140006313
and edx, 0xffffffbf
bts edx, 0xa
test dl, dl
jns 0x14000631f
btr edx, 7
bts edx, 0xb
lea rdi, [r9 + 0xc6c0]
movsxd rax, ebx
mov ecx, dword [rdi + rax*4]
lea rdi, [rdi + rax*4]
lea r9d, [rbx + rbx*4]
mov eax, ecx
not eax
shl r9d, 4
and eax, edx
add r9d, 0x96804
and r9d, 0xffffff
xor r10d, r10d
add r9, r11
mov dword [r9 + 0x14], eax
mov eax, edx
not eax
mov dword [r9 + 0x1c], ecx
and eax, ecx
mov dword [r9 + 0x10], edx
mov dword [r9 + 0x18], eax
mov ecx, 0x80
lea eax, [rcx + 0x7f]
test dl, 1
je 0x14000637c
mov word [r9 + 6], r10w
jmp 0x14000638d
test dl, 2
je 0x140006388
mov word [r9 + 6], ax
jmp 0x14000638d
mov word [r9 + 6], cx
test dl, 4
je 0x140006399
mov word [r9 + 4], r10w
jmp 0x1400063aa
test dl, 8
je 0x1400063a5
mov word [r9 + 4], ax
jmp 0x1400063aa
mov word [r9 + 4], cx
lea eax, [rbx*4 + 0x9900c]
mov dword [rdi], edx
mov rdi, qword [rsp + 0x40]
and eax, 0xffffff
mov rbx, qword [rsp + 0x58]
mov edx, dword [rax + r11]
movsx eax, word [r8 + 4]
and edx, 0xffffff
shl eax, 8
mov dword [rdx + r11 + 0x2d4], eax
movsx eax, word [r8 + 6]
shl eax, 8
mov dword [rdx + r11 + 0x2d8], eax
movsx eax, word [r8 + 8]
shl eax, 8
mov dword [rdx + r11 + 0x2dc], eax
movzx eax, byte [r8 + 1]
shr al, 3
movzx ecx, al
movzx eax, byte [r8 + 2]
shl ax, 5
or cx, ax
mov eax, 0xfff
and cx, ax
mov word [rdx + r11 + 0x39a], cx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret
mov rdx, qword [0x14000c810]
movzx eax, byte [r8 + 1]
movzx r9d, byte [rdx + 7]
cmp eax, r9d
je case.default.0x140005f1b
jae 0x140006453
lea ecx, [rax + 1]
jmp 0x14000645a
mov ecx, dword [rsp + 0x20]
cmova ecx, eax
lea eax, [rcx + rcx*4]
xor r10d, r10d
shl eax, 4
add eax, 0x96804
and eax, 0xffffff
add rax, qword [0x14000c818]
mov qword [rax + 0x10], 0x20
mov dword [rax + 0x18], r10d
mov dword [rax + 0x1c], 0x20
movzx eax, byte [rdx + 0xf]
mov dword [rdx + rax*8 + 0x98], ecx
movzx eax, byte [rdx + 0xf]
lea rcx, [rdx + rax*8]
movzx eax, word [r8 + 2]
mov word [rcx + 0x9c], ax
movzx eax, byte [r8 + 4]
mov byte [rcx + 0x9e], al
inc byte [rdx + 0xf]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007800
add rsp, 0x48
ret