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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rbx, rcx
mov qword [rcx], r15
cmp r8, 8
jb 0x140184412
test r8b, 1
jne 0x140184412
movzx edi, word [rdx]
lea r13, [rdx + 4]
movzx eax, word [rdx + 2]
mov ebp, 0xffffffff
shl edi, 0x10
or edi, eax
mov qword [rsp + 0x60], r13
cmp edi, ebp
jae 0x140184412
mov dword [rcx + 8], 1
lea rsi, [rdx + r8]
mov dword [rcx + 0xc], 2
mov r9d, 3
mov dword [rcx + 0x10], r9d
mov r14d, r15d
mov dword [rcx + 0x14], 4
mov qword [rcx + 0x18], 1
mov qword [rcx + 0x20], 2
mov qword [rcx + 0x28], r9
mov qword [rcx + 0x30], 4
mov qword [rcx + 0x38], r15
mov dword [rcx + 0x58], 0x30
mov qword [rcx + 0x60], 0x55555555
mov dword [rcx + 0x68], 0x30
mov qword [rcx + 0x70], 0x55555555
mov dword [rcx + 0x78], 0x30
mov qword [rcx + 0x80], 0x55555555
mov dword [rcx + 0x88], 0x30
mov qword [rcx + 0x90], 0x55555555
mov dword [rcx + 0x98], 0x30
mov qword [rcx + 0xa0], 0x55555555
mov dword [rcx + 0xa8], 0x30
mov qword [rcx + 0xb0], 0x55555555
mov dword [rcx + 0xb8], 0x30
mov qword [rcx + 0xc0], 0x55555555
mov dword [rcx + 0xc8], 0x30
mov qword [rcx + 0xd0], 0x55555555
mov dword [rcx + 0xd8], 0x30
mov qword [rcx + 0xe0], 0x55555555
mov dword [rcx + 0xe8], 0x30
mov qword [rcx + 0xf0], 0x55555555
mov dword [rcx + 0xf8], 0x30
mov qword [rcx + 0x100], 0x55555555
mov dword [rcx + 0x108], 0x30
mov qword [rcx + 0x110], 0x55555555
mov dword [rcx + 0x118], 0x30
mov qword [rcx + 0x120], 0x55555555
mov dword [rcx + 0x128], 0x30
mov qword [rcx + 0x130], 0x55555555
mov dword [rcx + 0x138], 0x30
mov qword [rcx + 0x140], 0x55555555
mov dword [rcx + 0x148], 0x30
mov qword [rcx + 0x150], 0x55555555
mov dword [rcx + 0x158], 0x30
mov qword [rcx + 0x160], 0x55555555
mov dword [rcx + 0x168], 0x30
mov qword [rcx + 0x170], 0x55555555
mov dword [rcx + 0x178], 0x30
mov qword [rcx + 0x180], 0x55555555
mov dword [rcx + 0x188], 0x30
mov qword [rcx + 0x190], 0x55555555
mov dword [rcx + 0x198], 0x30
mov qword [rcx + 0x1a0], 0x55555555
mov dword [rcx + 0x1a8], 0x30
mov qword [rcx + 0x1b0], 0x55555555
mov dword [rcx + 0x1b8], 0x30
mov qword [rcx + 0x1c0], 0x55555555
mov dword [rcx + 0x1c8], 0x30
mov qword [rcx + 0x1d0], 0x55555555
mov dword [rcx + 0x1d8], 0x30
mov qword [rcx + 0x1e0], 0x55555555
mov dword [rcx + 0x1e8], 0x30
mov qword [rcx + 0x1f0], 0x55555555
mov dword [rcx + 0x1f8], 0x30
mov qword [rcx + 0x200], 0x55555555
mov dword [rcx + 0x208], 0x30
mov qword [rcx + 0x210], 0x55555555
mov dword [rcx + 0x218], 0x30
mov qword [rcx + 0x220], 0x55555555
mov dword [rcx + 0x228], 0x30
mov qword [rcx + 0x230], 0x55555555
mov dword [rcx + 0x238], 0x30
mov qword [rcx + 0x240], 0x55555555
mov dword [rcx + 0x248], 0x30
mov qword [rcx + 0x250], 0x55555555
mov dword [rcx + 0x258], 0x30
mov qword [rcx + 0x260], 0x55555555
mov dword [rcx + 0x268], 0x30
mov qword [rcx + 0x270], 0x55555555
mov dword [rcx + 0x278], 0x30
mov qword [rcx + 0x280], 0x55555555
lea rax, [rcx + 0x370]
mov dword [rcx + 0x288], 0x30
lea rdx, [rcx + 0x40]
mov qword [rcx + 0x290], 0x55555555
mov r8d, r9d
mov dword [rcx + 0x298], 0x30
mov qword [rcx + 0x2a0], 0x55555555
mov dword [rcx + 0x2a8], 0x30
mov qword [rcx + 0x2b0], 0x55555555
mov dword [rcx + 0x2b8], 0x30
mov qword [rcx + 0x2c0], 0x55555555
mov dword [rcx + 0x2c8], 0x30
mov qword [rcx + 0x2d0], 0x55555555
mov dword [rcx + 0x2d8], 0x30
mov qword [rcx + 0x2e0], 0x55555555
mov dword [rcx + 0x2e8], 0x30
mov qword [rcx + 0x2f0], 0x55555555
mov dword [rcx + 0x2f8], 0x30
mov qword [rcx + 0x300], 0x55555555
mov dword [rcx + 0x308], 0x30
mov qword [rcx + 0x310], 0x55555555
mov dword [rcx + 0x318], 0x30
mov qword [rcx + 0x320], 0x55555555
mov dword [rcx + 0x328], 0x30
mov qword [rcx + 0x330], 0x55555555
mov dword [rcx + 0x338], 0x30
mov qword [rcx + 0x340], 0x55555555
mov dword [rcx + 0x348], 0x30
mov qword [rcx + 0x350], 0x55555555
nop dword [rax]
mov dword [rdx], r15d
mov ecx, 2
nop dword [rax + rax]
mov dword [rax - 0x18], 0x30
mov qword [rax - 0x10], 0x55555555
mov dword [rax - 8], 0x30
mov qword [rax], 0x55555555
mov dword [rax + 8], 0x30
mov qword [rax + 0x10], 0x55555555
mov dword [rax + 0x18], 0x30
mov qword [rax + 0x20], 0x55555555
mov dword [rax + 0x28], 0x30
mov qword [rax + 0x30], 0x55555555
mov dword [rax + 0x38], 0x30
mov qword [rax + 0x40], 0x55555555
mov dword [rax + 0x48], 0x30
mov qword [rax + 0x50], 0x55555555
mov dword [rax + 0x58], 0x30
mov qword [rax + 0x60], 0x55555555
mov dword [rax + 0x68], 0x30
mov qword [rax + 0x70], 0x55555555
mov dword [rax + 0x78], 0x30
mov qword [rax + 0x80], 0x55555555
mov dword [rax + 0x88], 0x30
mov qword [rax + 0x90], 0x55555555
mov dword [rax + 0x98], 0x30
mov qword [rax + 0xa0], 0x55555555
mov dword [rax + 0xa8], 0x30
mov qword [rax + 0xb0], 0x55555555
mov dword [rax + 0xb8], 0x30
mov qword [rax + 0xc0], 0x55555555
mov dword [rax + 0xc8], 0x30
mov qword [rax + 0xd0], 0x55555555
mov dword [rax + 0xd8], 0x30
mov qword [rax + 0xe0], 0x55555555
mov dword [rax + 0xe8], 0x30
mov qword [rax + 0xf0], 0x55555555
mov dword [rax + 0xf8], 0x30
mov qword [rax + 0x100], 0x55555555
mov dword [rax + 0x108], 0x30
mov qword [rax + 0x110], 0x55555555
mov dword [rax + 0x118], 0x30
mov qword [rax + 0x120], 0x55555555
mov dword [rax + 0x128], 0x30
mov qword [rax + 0x130], 0x55555555
mov dword [rax + 0x138], 0x30
mov qword [rax + 0x140], 0x55555555
mov dword [rax + 0x148], 0x30
mov qword [rax + 0x150], 0x55555555
mov dword [rax + 0x158], 0x30
mov qword [rax + 0x160], 0x55555555
mov dword [rax + 0x168], 0x30
mov qword [rax + 0x170], 0x55555555
mov dword [rax + 0x178], 0x30
mov qword [rax + 0x180], 0x55555555
mov dword [rax + 0x188], 0x30
mov qword [rax + 0x190], 0x55555555
mov dword [rax + 0x198], 0x30
mov qword [rax + 0x1a0], 0x55555555
mov dword [rax + 0x1a8], 0x30
mov qword [rax + 0x1b0], 0x55555555
mov dword [rax + 0x1b8], 0x30
mov qword [rax + 0x1c0], 0x55555555
mov dword [rax + 0x1c8], 0x30
mov qword [rax + 0x1d0], 0x55555555
mov dword [rax + 0x1d8], 0x30
mov qword [rax + 0x1e0], 0x55555555
add rax, 0x200
sub rcx, 1
jne 0x140182e70
add rdx, 4
sub r8, 1
jne 0x140182e60
lea rax, [rbx + 0xf70]
lea rdx, [rbx + 0x4c]
nop
mov dword [rdx], r15d
mov ecx, 2
nop dword [rax + rax]
mov dword [rax - 0x18], 0x30
mov qword [rax - 0x10], 0x55555555
mov dword [rax - 8], 0x30
mov qword [rax], 0x55555555
mov dword [rax + 8], 0x30
mov qword [rax + 0x10], 0x55555555
mov dword [rax + 0x18], 0x30
mov qword [rax + 0x20], 0x55555555
mov dword [rax + 0x28], 0x30
mov qword [rax + 0x30], 0x55555555
mov dword [rax + 0x38], 0x30
mov qword [rax + 0x40], 0x55555555
mov dword [rax + 0x48], 0x30
mov qword [rax + 0x50], 0x55555555
mov dword [rax + 0x58], 0x30
mov qword [rax + 0x60], 0x55555555
mov dword [rax + 0x68], 0x30
mov qword [rax + 0x70], 0x55555555
mov dword [rax + 0x78], 0x30
mov qword [rax + 0x80], 0x55555555
mov dword [rax + 0x88], 0x30
mov qword [rax + 0x90], 0x55555555
mov dword [rax + 0x98], 0x30
mov qword [rax + 0xa0], 0x55555555
mov dword [rax + 0xa8], 0x30
mov qword [rax + 0xb0], 0x55555555
mov dword [rax + 0xb8], 0x30
mov qword [rax + 0xc0], 0x55555555
mov dword [rax + 0xc8], 0x30
mov qword [rax + 0xd0], 0x55555555
mov dword [rax + 0xd8], 0x30
mov qword [rax + 0xe0], 0x55555555
mov dword [rax + 0xe8], 0x30
mov qword [rax + 0xf0], 0x55555555
mov dword [rax + 0xf8], 0x30
mov qword [rax + 0x100], 0x55555555
mov dword [rax + 0x108], 0x30
mov qword [rax + 0x110], 0x55555555
mov dword [rax + 0x118], 0x30
mov qword [rax + 0x120], 0x55555555
mov dword [rax + 0x128], 0x30
mov qword [rax + 0x130], 0x55555555
mov dword [rax + 0x138], 0x30
mov qword [rax + 0x140], 0x55555555
mov dword [rax + 0x148], 0x30
mov qword [rax + 0x150], 0x55555555
mov dword [rax + 0x158], 0x30
mov qword [rax + 0x160], 0x55555555
mov dword [rax + 0x168], 0x30
mov qword [rax + 0x170], 0x55555555
mov dword [rax + 0x178], 0x30
mov qword [rax + 0x180], 0x55555555
mov dword [rax + 0x188], 0x30
mov qword [rax + 0x190], 0x55555555
mov dword [rax + 0x198], 0x30
mov qword [rax + 0x1a0], 0x55555555
mov dword [rax + 0x1a8], 0x30
mov qword [rax + 0x1b0], 0x55555555
mov dword [rax + 0x1b8], 0x30
mov qword [rax + 0x1c0], 0x55555555
mov dword [rax + 0x1c8], 0x30
mov qword [rax + 0x1d0], 0x55555555
mov dword [rax + 0x1d8], 0x30
mov qword [rax + 0x1e0], 0x55555555
add rax, 0x200
sub rcx, 1
jne 0x140183110
add rdx, 4
sub r9, 1
jne 0x140183100
lea r12, [rbx + 0x1b58]
mov edx, 0x100
mov rcx, r12
call fcn.140181e60
lea rcx, [rbx + 0x3d2c]
mov edx, 0x36
call fcn.1401824e0
lea rcx, [rbx + 0x40fc]
mov edx, 8
call fcn.140182820
mov rax, qword [rsp + 0x80]
cmp rax, 2
jb 0x140183441
lea r9, [rax - 1]
mov eax, dword [0x1402bf4c8]
cmp r9, rax
jb 0x1401833ef
mov r15d, 0x31f
jmp 0x140183447
mov r8d, r15d
lea r13, [0x140000000]
mov r15d, 0x31f
mov edx, 0x18f
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
mov ecx, dword [r13 + rax*4 + 0x2be850]
cmp r9, rcx
cmovb r15d, edx
cmovb edx, r8d
mov r8d, edx
add edx, r15d
shr edx, 1
cmp r8d, edx
jne 0x140183410
mov r13, qword [rsp + 0x60]
lea r15d, [rdx + 1]
cmp r15d, 2
jae 0x140183447
mov r15d, 2
lea rcx, [rbx + 0x25e4]
mov edx, r15d
call fcn.1401821a0
lea rcx, [rbx + 0x4238]
mov edx, r15d
call fcn.1401821a0
mov rax, qword [rsp + 0x80]
xor r10d, r10d
cmp qword [rbx], rax
jae 0x1401843fe
lea r15d, [r10 + 0x3f]
nop dword [rax]
mov ecx, dword [rbx + 0x38]
mov r8d, ecx
and ecx, 7
shl r8, 4
add ecx, ecx
add r8, rbx
mov edx, dword [r8 + 0x58]
test edx, edx
jne 0x1401834a1
mov edx, 1
jmp 0x1401834a8
cmp edx, 0x40
cmove edx, r15d
cmp ebp, 0xffff
ja 0x1401834c6
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl ebp, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov eax, ebp
shr eax, 6
imul eax, edx
cmp edi, eax
jae 0x140183605
mov dword [rbx + 0x38], ecx
mov ebp, eax
mov rcx, qword [r8 + 0x60]
mov rax, rcx
shr rax, 0x3f
add dword [r8 + 0x58], eax
lea rax, [rcx + rcx]
mov ecx, 9
mov qword [r8 + 0x60], rax
sub ecx, r14d
movzx eax, byte [rsi - 2]
movzx r8d, byte [rsi - 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi - 3]
shl r8d, 8
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r12 + 0x24]
jae 0x14018354f
mov eax, r8d
shr rax, 6
movzx r15d, word [r12 + rax*2 + 0x84]
mov eax, r15d
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr r15d, 4
jmp 0x140183597
mov ecx, 0xa
cmp r8d, dword [r12 + 0x28]
jb 0x140183568
nop dword [rax + rax]
inc ecx
cmp r8d, dword [r12 + rcx*4]
jae 0x140183560
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r12 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r12 + rdx*4 + 0x44]
movzx r15d, word [r12 + r8*2 + 0x484]
inc dword [rbx + r15*4 + 0x21e4]
add dword [rbx + 0x21dc], 0xffffffff
jne 0x1401835e5
mov rcx, r12
call fcn.140181cd0
mov eax, dword [r12 + 0x688]
mov dword [r12 + 0x684], 0x400
test eax, eax
je 0x1401835e5
lea rcx, [r12 + 0x68c]
mov edx, eax
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x1401835d2
cmp rsi, r13
jb 0x140184412
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x78]
mov byte [rcx + rax], r15b
inc qword [rbx]
xor r10d, r10d
jmp 0x1401843cd
sub ebp, eax
sub edi, eax
or ecx, 1
mov dword [rbx + 0x38], ecx
mov rcx, qword [r8 + 0x60]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r8 + 0x58], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r8 + 0x60], rax
lea r8, [rbx + 0x158]
mov ecx, dword [rbx + 0x3c]
mov eax, ecx
and ecx, 0xf
shl rax, 4
add ecx, ecx
add r8, rax
mov r9d, dword [r8]
test r9d, r9d
jne 0x140183654
mov r9d, 1
jmp 0x14018365c
cmp r9d, 0x40
cmove r9d, r15d
cmp ebp, 0xffff
ja 0x14018367a
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl ebp, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov edx, ebp
shr edx, 6
imul edx, r9d
cmp edi, edx
jae 0x140183c5c
mov dword [rbx + 0x3c], ecx
lea r9, [rbx + 0x358]
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
add dword [r8], eax
lea rax, [rcx + rcx]
mov qword [r8 + 8], rax
mov ecx, dword [rbx + 0x40]
mov eax, ecx
and ecx, 0x1f
shl rax, 4
add ecx, ecx
add r9, rax
mov r8d, dword [r9]
test r8d, r8d
jne 0x1401836cc
mov r8d, 1
jmp 0x1401836d4
cmp r8d, 0x40
cmove r8d, r15d
cmp edx, 0xffff
ja 0x1401836f2
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl edx, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov ebp, edx
shr ebp, 6
imul ebp, r8d
cmp edi, ebp
jae 0x1401838b9
mov dword [rbx + 0x40], ecx
lea r15, [rbx + 0x25e4]
mov rcx, qword [r9 + 8]
mov rax, rcx
shr rax, 0x3f
add dword [r9], eax
lea rax, [rcx + rcx]
mov ecx, 9
mov qword [r9 + 8], rax
sub ecx, r14d
movzx eax, byte [rsi - 2]
movzx r8d, byte [rsi - 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi - 3]
shl r8d, 8
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r15 + 0x24]
jae 0x14018377d
mov eax, r8d
shr rax, 6
movzx ecx, word [r15 + rax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr ecx, 4
jmp 0x1401837bf
mov ecx, 0xa
cmp r8d, dword [r15 + 0x28]
jb 0x140183790
inc ecx
cmp r8d, dword [r15 + rcx*4]
jae 0x140183788
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r15 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r15 + rdx*4 + 0x44]
movzx ecx, word [r15 + r8*2 + 0x484]
inc dword [rbx + rcx*4 + 0x30b0]
and r14d, 7
add dword [rbx + 0x30a8], 0xffffffff
mov r12d, ecx
jne 0x140183813
mov rcx, r15
call fcn.140182010
mov eax, dword [r15 + 0xac8]
mov dword [r15 + 0xac4], 0x400
test eax, eax
je 0x140183813
lea rcx, [r15 + 0xacc]
mov edx, eax
nop dword [rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x140183800
cmp rsi, r13
jb 0x140184412
lea rax, [0x140000000]
mov rcx, rsi
movzx edx, byte [r12 + rax + 0x2bf4d0]
sub rcx, r13
mov r15d, dword [rax + r12*4 + 0x2be850]
mov eax, edx
shr rax, 3
cmp rcx, rax
jb 0x140184412
mov r8d, dword [rsi - 4]
mov ecx, edx
mov r9d, 1
add r14d, edx
shl r9d, cl
dec r9d
cmp r14d, 0x20
jbe 0x140183883
movzx edx, byte [rsi - 5]
mov eax, r8d
mov ecx, 0x28
sub cl, r14b
shr edx, cl
lea ecx, [r14 - 0x20]
shl eax, cl
mov r8d, edx
or r8d, eax
jmp 0x14018388e
mov ecx, 0x20
sub ecx, r14d
shr r8d, cl
mov eax, r14d
and r8d, r9d
shr rax, 3
and r14d, 7
sub rsi, rax
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
add r15d, r8d
mov eax, dword [rbx + 0xc]
mov dword [rbx + 0x10], eax
mov eax, dword [rbx + 8]
mov dword [rbx + 0xc], eax
jmp 0x140183a79
or ecx, 1
lea r8, [rbx + 0x758]
mov dword [rbx + 0x40], ecx
sub edx, ebp
mov rcx, qword [r9 + 8]
sub edi, ebp
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r9], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r9 + 8], rax
mov ecx, dword [rbx + 0x44]
mov eax, ecx
and ecx, 0x1f
shl rax, 4
add ecx, ecx
add r8, rax
mov r9d, dword [r8]
test r9d, r9d
jne 0x140183907
mov r9d, 1
jmp 0x14018390f
cmp r9d, 0x40
cmove r9d, r15d
cmp edx, 0xffff
ja 0x14018392d
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl edx, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov ebp, edx
shr ebp, 6
imul ebp, r9d
cmp edi, ebp
jae 0x140183970
mov dword [rbx + 0x44], ecx
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
add dword [r8], eax
lea rax, [rcx + rcx]
mov qword [r8 + 8], rax
mov eax, dword [rbx + 8]
cmp r10d, 1
je 0x140183964
mov r15d, eax
jmp 0x140183a7d
mov r15d, dword [rbx + 0xc]
mov dword [rbx + 0xc], eax
jmp 0x140183a79
or ecx, 1
sub edx, ebp
mov dword [rbx + 0x44], ecx
sub edi, ebp
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r8], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r8 + 8], rax
lea r8, [rbx + 0xb58]
mov r9d, dword [rbx + 0x48]
mov eax, r9d
and r9d, 0x1f
shl rax, 4
add r9d, r9d
add r8, rax
mov ecx, dword [r8]
test ecx, ecx
jne 0x1401839c0
mov ecx, 1
jmp 0x1401839c7
cmp ecx, 0x40
cmove ecx, r15d
cmp edx, 0xffff
ja 0x1401839e5
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl edx, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov ebp, edx
shr ebp, 6
imul ebp, ecx
cmp edi, ebp
jae 0x140183a2b
mov dword [rbx + 0x48], r9d
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
add dword [r8], eax
lea rax, [rcx + rcx]
mov qword [r8 + 8], rax
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
cmp r10d, 1
je 0x140183a1f
mov r15d, eax
mov dword [rbx + 0xc], ecx
jmp 0x140183a79
mov r15d, dword [rbx + 0x10]
mov dword [rbx + 0x10], eax
mov dword [rbx + 0xc], ecx
jmp 0x140183a79
or r9d, 1
sub edx, ebp
mov dword [rbx + 0x48], r9d
sub edi, ebp
mov rcx, qword [r8 + 8]
mov ebp, edx
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r8], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r8 + 8], rax
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], eax
mov eax, dword [rbx + 8]
mov dword [rbx + 0xc], eax
cmp r10d, 1
je 0x140183a72
mov r15d, ecx
mov dword [rbx + 8], ecx
jmp 0x140183a7d
mov r15d, dword [rbx + 0x14]
mov dword [rbx + 0x14], ecx
mov dword [rbx + 8], r15d
movzx eax, byte [rsi - 2]
lea r9, [rbx + 0x3d2c]
movzx r8d, byte [rsi - 1]
mov ecx, 9
shl r8d, 8
sub ecx, r14d
or r8d, eax
movzx eax, byte [rsi - 3]
shl r8d, 8
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r9 + 0x20]
jae 0x140183ade
mov eax, r8d
shr rax, 7
movzx ecx, word [r9 + rax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr ecx, 4
jmp 0x140183b27
mov ecx, 9
cmp r8d, dword [r9 + 0x24]
jb 0x140183af8
nop dword [rax]
inc ecx
cmp r8d, dword [r9 + rcx*4]
jae 0x140183af0
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r9 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r9 + rdx*4 + 0x44]
movzx ecx, word [r9 + r8*2 + 0x284]
inc dword [rbx + rcx*4 + 0x4024]
and r14d, 7
add dword [rbx + 0x401c], 0xffffffff
mov r12d, ecx
jne 0x140183b76
mov rcx, r9
call fcn.140182350
mov eax, dword [rbx + 0x4020]
mov dword [rbx + 0x401c], 0x200
test eax, eax
je 0x140183b76
lea rcx, [rbx + 0x4024]
mov edx, eax
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x140183b63
cmp rsi, r13
jb 0x140184412
lea rax, [0x140000000]
mov rcx, rsi
movzx edx, byte [r12 + rax + 0x220aa0]
sub rcx, r13
mov r8d, dword [rax + r12*4 + 0x2bf7f0]
mov eax, edx
shr rax, 3
cmp rcx, rax
jb 0x140184412
mov r9d, dword [rsi - 4]
mov ecx, edx
mov r10d, 1
add r14d, edx
shl r10d, cl
dec r10d
cmp r14d, 0x20
jbe 0x140183be6
movzx edx, byte [rsi - 5]
mov eax, r9d
mov ecx, 0x28
sub cl, r14b
shr edx, cl
lea ecx, [r14 - 0x20]
shl eax, cl
mov r9d, edx
or r9d, eax
jmp 0x140183bf1
mov ecx, 0x20
sub ecx, r14d
shr r9d, cl
and r9d, r10d
mov eax, r14d
shr rax, 3
add r8d, r9d
mov r9, qword [rbx]
sub rsi, rax
mov rax, qword [rsp + 0x80]
sub rax, r9
mov r10d, r8d
cmp r10, rax
ja 0x140184412
mov eax, r15d
cmp rax, r9
ja 0x140184412
mov rdx, qword [rsp + 0x78]
add rdx, r9
mov rcx, rdx
sub rcx, rax
lea rax, [r8 + r9]
mov qword [rbx], rax
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
add r8d, 0xffffffff
jne 0x140183c40
lea r10d, [r8 + 1]
jmp 0x1401843c6
or ecx, 1
sub ebp, edx
mov dword [rbx + 0x3c], ecx
sub edi, edx
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r8], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r8 + 8], rax
lea r8, [rbx + 0xf58]
mov edx, dword [rbx + 0x4c]
mov eax, edx
and edx, 0x1f
shl rax, 4
add edx, edx
add r8, rax
mov ecx, dword [r8]
test ecx, ecx
jne 0x140183ca8
mov ecx, 1
jmp 0x140183caf
cmp ecx, 0x40
cmove ecx, r15d
cmp ebp, 0xffff
ja 0x140183ccd
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl ebp, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov eax, ebp
shr eax, 6
imul eax, ecx
cmp edi, eax
jae 0x140183fd7
mov dword [rbx + 0x4c], edx
lea r12, [rbx + 0x40fc]
mov rcx, qword [r8 + 8]
mov ebp, eax
mov rax, rcx
shr rax, 0x3f
add dword [r8], eax
lea rax, [rcx + rcx]
mov ecx, 9
mov qword [r8 + 8], rax
sub ecx, r14d
movzx eax, byte [rsi - 2]
movzx r8d, byte [rsi - 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi - 3]
shl r8d, 8
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r12 + 0x18]
jae 0x140183d5c
mov eax, r8d
shr rax, 9
movzx r15d, word [r12 + rax*2 + 0x84]
mov eax, r15d
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr r15d, 4
jmp 0x140183d9f
mov ecx, 7
cmp r8d, dword [r12 + 0x1c]
jb 0x140183d70
inc ecx
cmp r8d, dword [r12 + rcx*4]
jae 0x140183d68
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r12 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r12 + rdx*4 + 0x44]
movzx r15d, word [r12 + r8*2 + 0x104]
inc dword [rbx + r15*4 + 0x4218]
and r14d, 7
add dword [rbx + 0x4210], 0xffffffff
mov eax, r15d
mov qword [rsp + 0x70], rax
jne 0x140183e03
mov rcx, r12
call fcn.140182690
mov eax, dword [r12 + 0x118]
mov dword [r12 + 0x114], 0x200
test eax, eax
je 0x140183e03
lea rcx, [r12 + 0x11c]
mov edx, eax
nop word [rax + rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x140183df0
cmp rsi, r13
jb 0x140184412
movzx eax, byte [rsi - 2]
lea r12, [rbx + 0x4238]
movzx r8d, byte [rsi - 1]
mov ecx, 9
shl r8d, 8
sub ecx, r14d
or r8d, eax
movzx eax, byte [rsi - 3]
shl r8d, 8
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r12 + 0x24]
jae 0x140183e6e
mov eax, r8d
shr rax, 6
movzx ecx, word [r12 + rax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr ecx, 4
jmp 0x140183eb7
mov ecx, 0xa
cmp r8d, dword [r12 + 0x28]
jb 0x140183e88
nop word [rax + rax]
inc ecx
cmp r8d, dword [r12 + rcx*4]
jae 0x140183e80
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r12 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r12 + rdx*4 + 0x44]
movzx ecx, word [r12 + r8*2 + 0x484]
inc dword [rbx + rcx*4 + 0x4d04]
and r14d, 7
add dword [rbx + 0x4cfc], 0xffffffff
mov r13d, ecx
jne 0x140183f13
mov rcx, r12
call fcn.140182010
mov eax, dword [r12 + 0xac8]
mov dword [r12 + 0xac4], 0x400
test eax, eax
je 0x140183f13
lea rcx, [r12 + 0xacc]
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x140183f00
mov rax, qword [rsp + 0x60]
cmp rsi, rax
jb 0x140184412
lea rcx, [0x140000000]
movzx edx, byte [rcx + r13 + 0x2bf4d0]
mov r12d, dword [rcx + r13*4 + 0x2be850]
mov rcx, rsi
sub rcx, rax
mov eax, edx
shr rax, 3
cmp rcx, rax
jb 0x140184412
mov r8d, dword [rsi - 4]
mov ecx, edx
mov r9d, 1
add r14d, edx
shl r9d, cl
dec r9d
cmp r14d, 0x20
jbe 0x140183f88
movzx edx, byte [rsi - 5]
mov eax, r8d
mov ecx, 0x28
sub cl, r14b
shr edx, cl
lea ecx, [r14 - 0x20]
shl eax, cl
mov r8d, edx
or r8d, eax
jmp 0x140183f93
mov ecx, 0x20
sub ecx, r14d
shr r8d, cl
mov rcx, qword [rsp + 0x70]
and r8d, r9d
mov eax, r14d
add r12d, r8d
shr rax, 3
and r14d, 7
sub rsi, rax
shl rcx, 0x20
mov rax, qword [rbx + 0x28]
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x20]
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x20], rax
mov eax, r12d
or rcx, rax
mov qword [rbx + 0x18], rcx
jmp 0x1401841bd
sub ebp, eax
sub edi, eax
or edx, 1
mov dword [rbx + 0x4c], edx
lea rdx, [rbx + 0x1358]
mov rcx, qword [r8 + 8]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [r8], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [r8 + 8], rax
mov ecx, dword [rbx + 0x50]
mov eax, ecx
and ecx, 0x1f
shl rax, 4
add ecx, ecx
add rdx, rax
mov r8d, dword [rdx]
test r8d, r8d
jne 0x140184025
mov r8d, 1
jmp 0x14018402d
cmp r8d, 0x40
cmove r8d, r15d
cmp ebp, 0xffff
ja 0x14018404b
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl ebp, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov eax, ebp
shr eax, 6
imul eax, r8d
cmp edi, eax
jae 0x14018409d
mov dword [rbx + 0x50], ecx
mov ebp, eax
mov rcx, qword [rdx + 8]
mov rax, rcx
shr rax, 0x3f
add dword [rdx], eax
lea rax, [rcx + rcx]
mov qword [rdx + 8], rax
cmp r10d, 2
jne 0x140184090
mov r12, qword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
mov r15, r12
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], r12
jmp 0x1401841b9
mov r12d, dword [rbx + 0x18]
mov r15, qword [rbx + 0x18]
jmp 0x1401841b9
sub ebp, eax
sub edi, eax
or ecx, 1
mov dword [rbx + 0x50], ecx
mov rcx, qword [rdx + 8]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [rdx], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [rdx + 8], rax
lea rdx, [rbx + 0x1758]
mov r8d, dword [rbx + 0x54]
mov eax, r8d
and r8d, 0x1f
shl rax, 4
add r8d, r8d
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
jne 0x1401840eb
mov ecx, 1
jmp 0x1401840f2
cmp ecx, 0x40
cmove ecx, r15d
cmp ebp, 0xffff
ja 0x140184110
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
shl ebp, 0x10
add r13, 2
mov qword [rsp + 0x60], r13
mov eax, ebp
shr eax, 6
imul eax, ecx
cmp edi, eax
jae 0x14018415d
mov dword [rbx + 0x54], r8d
mov ebp, eax
mov rcx, qword [rdx + 8]
mov rax, rcx
shr rax, 0x3f
add dword [rdx], eax
lea rax, [rcx + rcx]
mov qword [rdx + 8], rax
mov r15, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
cmp r10d, 2
jne 0x140184150
mov rax, qword [rbx + 0x28]
mov qword [rbx + 0x28], r15
mov r15, rax
mov qword [rbx + 0x20], rcx
mov r12d, r15d
mov qword [rbx + 0x18], r15
jmp 0x1401841b9
sub ebp, eax
sub edi, eax
or r8d, 1
mov dword [rbx + 0x54], r8d
mov rcx, qword [rdx + 8]
mov rax, rcx
shr rax, 0x3f
dec eax
add dword [rdx], eax
lea rax, [rcx + rcx]
or rax, 1
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x20]
mov r15, qword [rbx + 0x28]
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x20], rax
cmp r10d, 2
je 0x1401841a7
mov qword [rbx + 0x18], r15
mov r12d, r15d
jmp 0x1401841b9
mov rax, qword [rbx + 0x30]
mov qword [rbx + 0x30], r15
mov r12d, eax
mov qword [rbx + 0x18], rax
mov r15, rax
shr r15, 0x20
movzx eax, byte [rsi - 2]
lea r9, [rbx + 0x3d2c]
movzx r8d, byte [rsi - 1]
mov ecx, r15d
shl r8d, 8
or r8d, eax
shl r12d, cl
movzx eax, byte [rsi - 3]
mov ecx, 9
shl r8d, 8
sub ecx, r14d
or r8d, eax
shr r8d, cl
and r8d, 0x7fff
cmp r8d, dword [r9 + 0x20]
jae 0x140184224
mov eax, r8d
shr rax, 7
movzx ecx, word [r9 + rax*2 + 0x84]
mov eax, ecx
and eax, 0xf
add r14d, eax
mov eax, r14d
shr rax, 3
sub rsi, rax
shr ecx, 4
jmp 0x140184267
mov ecx, 9
cmp r8d, dword [r9 + 0x24]
jb 0x140184238
nop
inc ecx
cmp r8d, dword [r9 + rcx*4]
jae 0x140184230
add r14d, ecx
mov edx, ecx
mov eax, r14d
shr rax, 3
sub rsi, rax
mov eax, 0xf
sub r8d, dword [r9 + rdx*4 - 4]
sub eax, ecx
movzx ecx, al
shr r8d, cl
add r8d, dword [r9 + rdx*4 + 0x44]
movzx ecx, word [r9 + r8*2 + 0x284]
inc dword [rbx + rcx*4 + 0x4024]
and r14d, 7
add dword [rbx + 0x401c], 0xffffffff
mov r13d, ecx
jne 0x1401842b6
mov rcx, r9
call fcn.140182350
mov eax, dword [rbx + 0x4020]
mov dword [rbx + 0x401c], 0x200
test eax, eax
je 0x1401842b6
lea rcx, [rbx + 0x4024]
mov edx, eax
mov eax, dword [rcx]
lea rcx, [rcx + 4]
shr eax, 1
inc eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x1401842a3
mov rax, qword [rsp + 0x60]
cmp rsi, rax
jb 0x140184412
lea rcx, [0x140000000]
movzx edx, byte [rcx + r13 + 0x220aa0]
mov r9d, dword [rcx + r13*4 + 0x2bf7f0]
mov rcx, rsi
sub rcx, rax
mov eax, edx
shr rax, 3
cmp rcx, rax
jb 0x140184412
mov r8d, dword [rsi - 4]
mov ecx, edx
mov r10d, 1
add r14d, edx
shl r10d, cl
dec r10d
cmp r14d, 0x20
jbe 0x14018432b
movzx edx, byte [rsi - 5]
mov eax, r8d
mov ecx, 0x28
sub cl, r14b
shr edx, cl
lea ecx, [r14 - 0x20]
shl eax, cl
mov r8d, edx
or r8d, eax
jmp 0x140184336
mov ecx, 0x20
sub ecx, r14d
shr r8d, cl
and r8d, r10d
mov eax, r14d
mov r10, qword [rbx]
add r9d, r8d
shr rax, 3
sub rsi, rax
mov r13d, r9d
mov rax, qword [rsp + 0x80]
sub rax, r10
cmp r13, rax
ja 0x140184412
mov ecx, r15d
mov r11d, r12d
mov r8d, 1
shl r8, cl
lea rax, [r12 + r8]
cmp rax, r10
ja 0x140184412
mov rcx, r10
lea rax, [r10 + r9]
sub rcx, r8
mov qword [rbx], rax
add rcx, qword [rsp + 0x78]
mov rdx, rcx
sub rdx, r11
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
lea rcx, [rcx + 1]
sub al, byte [rdx]
lea rdx, [rdx + 1]
add al, byte [rcx - 1]
mov byte [rcx + r8 - 1], al
add r9d, 0xffffffff
jne 0x1401843a0
mov r13, qword [rsp + 0x60]
lea r10d, [r9 + 2]
lea r12, [rbx + 0x1b58]
mov rax, qword [rsp + 0x80]
and r14d, 7
mov r15d, 0x3f
cmp qword [rbx], rax
jb 0x140183480
cmp ebp, 0xffff
ja 0x1401843fe
movzx eax, word [r13]
shl edi, 0x10
or edi, eax
add r13, 2
test edi, edi
jne 0x140184412
cmp r13, rsi
ja 0x140184412
jne 0x14018440e
test r14d, r14d
jne 0x140184412
xor eax, eax
jmp 0x140184417
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret