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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
cmp byte [rdx + 0x38], 0
lea rbp, [rdx + 8]
mov rsi, rdx
mov rbx, rcx
jne 0x14001b14c
mov byte [rdx + 0x38], 1
lea r9, [rdx + 0x3c]
lea r8, [rdx + 0x24]
mov rdx, rbp
call fcn.140016fd4
test al, al
je 0x14001b159
mov ecx, dword [rsi + 0x30]
mov edx, dword [rsi + 0x24]
add ecx, edx
cmp dword [rbp], ecx
jle 0x14001b167
mov byte [rsi + 0x4adc], 1
xor al, al
jmp 0x14001bd83
mov eax, dword [rsi + 0x2c]
mov r13d, 8
mov r9d, dword [rsi + 0x4ad8]
dec eax
add eax, edx
sub r9d, 0x10
cmp eax, r9d
mov dword [rsp + 0x80], eax
mov r10d, r9d
mov dword [rsp + 0x78], r9d
cmovl r10d, eax
mov dword [rsp + 0x88], r10d
mov r8, qword [rbx + 0xe970]
mov rdx, r8
and rdx, qword [rbx + 0xd8]
mov qword [rbx + 0xd8], rdx
mov ecx, dword [rbp]
cmp ecx, r10d
jl 0x14001b1f1
cmp ecx, eax
jg 0x14001bd81
jne 0x14001b1d3
mov eax, dword [rsi + 0x28]
cmp dword [rsi + 0xc], eax
jge 0x14001bd81
cmp ecx, r9d
jl 0x14001b1e5
cmp byte [rsi + 0x4ade], 0
je 0x14001bd7a
cmp ecx, dword [rsi + 0x4ad8]
jge 0x14001bd7a
mov rcx, qword [rbx + 0x4ba0]
mov rax, rcx
sub rax, rdx
and rax, r8
cmp rax, 0x1004
jae 0x14001b22a
cmp rcx, rdx
je 0x14001b22a
mov rcx, rbx
call fcn.1400181bc
mov rax, qword [rbx + 0x4db8]
cmp qword [rbx + 0x4dc8], rax
jg 0x14001b160
movsxd r9, dword [rbp]
mov ecx, r13d
mov r15, qword [rbp + 0x10]
mov r11d, dword [rbp + 4]
sub ecx, r11d
movzx eax, byte [r9 + r15]
movzx edx, byte [r9 + r15 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + r15 + 2]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, dword [rsi + 0xc0]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0x40]
jae 0x14001b2a2
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r8d, byte [rdx + rsi + 0xc4]
add r8d, r11d
mov eax, r8d
shr eax, 3
add r9d, eax
and r8d, 7
mov dword [rbp], r9d
mov dword [rbp + 4], r8d
movzx eax, word [rsi + rdx*2 + 0x4c4]
jmp 0x14001b313
mov r10d, 0xf
inc ecx
cmp ecx, r10d
jae 0x14001b2cf
mov r8d, ecx
add r8, 0x10
lea r8, [rsi + r8*4]
cmp edx, dword [r8]
jb 0x14001b2cc
inc ecx
add r8, 4
cmp ecx, r10d
jb 0x14001b2ba
jmp 0x14001b2cf
mov r10d, ecx
lea r8d, [r11 + r10]
mov ecx, 0x10
mov eax, r8d
sub ecx, r10d
shr eax, 3
and r8d, 7
add r9d, eax
mov dword [rbp + 4], r8d
mov dword [rbp], r9d
lea eax, [r10 - 1]
sub edx, dword [rsi + rax*4 + 0x40]
mov eax, r10d
shr edx, cl
add edx, dword [rsi + rax*4 + 0x80]
cmp edx, dword [rsi + 0x3c]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0xcc4]
movzx edx, ax
cmp edx, 0x100
jae 0x14001b34f
mov rax, qword [rbx + 0xd8]
mov rcx, qword [rbx + 0x4ba8]
mov byte [rcx + rax], dl
inc qword [rbx + 0xd8]
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
jmp 0x14001b19d
cmp edx, 0x106
jb 0x14001b924
lea edi, [rdx - 0x106]
cmp edi, r13d
jae 0x14001b36b
add edi, 2
jmp 0x14001b3d5
mov r10d, edi
and edi, 3
or edi, 4
shr r10d, 2
dec r10d
mov ecx, r10d
shl edi, cl
add edi, 2
test r10d, r10d
je 0x14001b3d5
movsxd rcx, r9d
movzx eax, byte [rcx + r15]
movzx edx, byte [rcx + r15 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + r15 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
add r8d, r10d
mov eax, r8d
movzx edx, dx
shr eax, 3
mov ecx, 0x10
sub ecx, r10d
add r9d, eax
shr edx, cl
add edi, edx
mov dword [rbp], r9d
and r8d, 7
mov dword [rbp + 4], r8d
movsxd rcx, r9d
movzx eax, byte [rcx + r15 + 1]
movzx edx, byte [rcx + r15]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + r15 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
mov ecx, dword [rsi + 0xfac]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0xf2c]
jae 0x14001b448
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r11d, byte [rdx + rsi + 0xfb0]
add r11d, r8d
mov r14d, r11d
shr r14d, 3
add r14d, r9d
and r11d, 7
mov dword [rbp], r14d
mov dword [rbp + 4], r11d
movzx eax, word [rsi + rdx*2 + 0x13b0]
jmp 0x14001b4c3
mov r13d, 0xf
inc ecx
cmp ecx, r13d
jae 0x14001b478
mov r10d, ecx
add r10, 0x3cb
lea r10, [rsi + r10*4]
cmp edx, dword [r10]
jb 0x14001b475
inc ecx
add r10, 4
cmp ecx, r13d
jb 0x14001b463
jmp 0x14001b478
mov r13d, ecx
lea r11d, [r8 + r13]
mov ecx, 0x10
sub ecx, r13d
lea eax, [r13 - 1]
mov r14d, r11d
and r11d, 7
mov dword [rbp + 4], r11d
shr r14d, 3
add r14d, r9d
mov dword [rbp], r14d
sub edx, dword [rsi + rax*4 + 0xf2c]
mov eax, r13d
shr edx, cl
add edx, dword [rsi + rax*4 + 0xf6c]
cmp edx, dword [rsi + 0xf28]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x1bb0]
movzx eax, ax
mov r13d, r14d
cmp eax, 4
jae 0x14001b5e2
lea r9d, [rax + 1]
mov r13d, 8
cmp r9d, 0x100
jbe 0x14001b4fd
inc edi
cmp r9d, 0x2000
jbe 0x14001b4fd
inc edi
cmp r9d, 0x40000
jbe 0x14001b4fd
inc edi
mov eax, dword [rbx + 0xc0]
mov dword [rbx + 0xc4], eax
mov eax, dword [rbx + 0xbc]
mov dword [rbx + 0xc0], eax
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0xbc], eax
mov dword [rbx + 0xb8], r9d
mov rdx, qword [rbx + 0xd8]
mov eax, r9d
mov r8, rdx
sub r8, rax
mov dword [rbx + 0xcc], edi
mov rax, qword [rbx + 0xe968]
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001b8c9
cmp rdx, rax
jae 0x14001b8c9
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
mov eax, edi
add rax, rdx
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b812
cmp r9d, edi
jae 0x14001b7ee
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001b590
jmp 0x14001b812
mov r10d, eax
and eax, 1
shr r10d, 1
or eax, 2
dec r10d
mov ecx, r10d
shl eax, cl
lea r12d, [rax + 1]
mov r9d, r12d
test r10d, r10d
je 0x14001b4d6
cmp r10d, 4
jb 0x14001b781
jbe 0x14001b683
movsxd r8, r14d
mov ecx, 8
sub cl, byte [rsi + 0xc]
movzx eax, byte [r8 + r15 + 1]
movzx edx, byte [r8 + r15]
movzx r9d, byte [r8 + r15 + 4]
shr r9d, cl
mov ecx, r11d
shl edx, 8
add r11d, 0xfffffffc
or edx, eax
add r11d, r10d
movzx eax, byte [r8 + r15 + 2]
mov r13d, r11d
shl edx, 8
or edx, eax
shr r13d, 3
movzx eax, byte [r8 + r15 + 3]
add r13d, r14d
shl edx, 8
or edx, eax
mov dword [rbp], r13d
shl edx, cl
mov ecx, 0x24
or r9d, edx
sub ecx, r10d
shr r9d, cl
shl r9d, 4
add r9d, r12d
and r11d, 7
mov dword [rbp + 4], r11d
movsxd rdx, r13d
mov ecx, 8
sub ecx, r11d
movzx eax, byte [rdx + r15 + 1]
movzx r8d, byte [rdx + r15]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + r15 + 2]
shl r8d, 8
or r8d, eax
shr r8d, cl
mov ecx, dword [rsi + 0x1e98]
and r8d, 0xfffe
cmp r8d, dword [rsi + rcx*4 + 0x1e18]
jae 0x14001b6fc
mov eax, 0x10
mov edx, r8d
sub eax, ecx
mov cl, al
shr rdx, cl
movzx ecx, byte [rdx + rsi + 0x1e9c]
add ecx, r11d
mov eax, ecx
shr eax, 3
add eax, r13d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
movzx eax, word [rsi + rdx*2 + 0x229c]
jmp 0x14001b776
mov r10d, 0xf
inc ecx
cmp ecx, r10d
jae 0x14001b72b
mov edx, ecx
add rdx, 0x786
lea rdx, [rsi + rdx*4]
cmp r8d, dword [rdx]
jb 0x14001b728
inc ecx
add rdx, 4
cmp ecx, r10d
jb 0x14001b716
jmp 0x14001b72b
mov r10d, ecx
lea ecx, [r11 + r10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, r13d
mov dword [rbp + 4], ecx
mov dword [rbp], eax
mov ecx, 0x10
sub ecx, r10d
lea eax, [r10 - 1]
sub r8d, dword [rsi + rax*4 + 0x1e18]
mov eax, r10d
shr r8d, cl
mov edx, dword [rsi + rax*4 + 0x1e58]
add edx, r8d
cmp edx, dword [rsi + 0x1e14]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x2a9c]
movzx eax, ax
add r9d, eax
jmp 0x14001b4d6
movsxd r8, r14d
mov r13d, 8
mov ecx, r13d
sub cl, byte [rsi + 0xc]
movzx eax, byte [r8 + r15 + 1]
movzx edx, byte [r8 + r15]
movzx r9d, byte [r8 + r15 + 4]
shr r9d, cl
mov ecx, r11d
shl edx, 8
or edx, eax
movzx eax, byte [r8 + r15 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + r15 + 3]
shl edx, 8
or edx, eax
shl edx, cl
lea ecx, [r13 + 0x18]
sub ecx, r10d
or r9d, edx
shr r9d, cl
lea ecx, [r11 + r10]
mov eax, ecx
add r9d, r12d
shr eax, 3
add eax, r14d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
jmp 0x14001b4dc
mov r12d, edi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.1400250c0
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001b7f5
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001b19d
mov al, byte [r14]
mov byte [r15], al
mov eax, dword [rsp + 0x80]
cmp edi, 1
jbe 0x14001b19d
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov eax, dword [rsp + 0x80]
cmp edi, 2
jbe 0x14001b19d
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov eax, dword [rsp + 0x80]
cmp edi, 3
jbe 0x14001b19d
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov eax, dword [rsp + 0x80]
cmp edi, 4
jbe 0x14001b19d
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov eax, dword [rsp + 0x80]
cmp edi, 5
jbe 0x14001b19d
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov eax, dword [rsp + 0x80]
cmp edi, 6
jbe 0x14001b19d
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
jmp 0x14001bd6e
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001b19d
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001b8ec
jmp 0x14001bd6e
cmp edx, 0x100
jne 0x14001b95e
lea r8, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call fcn.140016a98
test al, al
je 0x14001bd81
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140014984
test al, al
je 0x14001bd81
jmp 0x14001b336
cmp edx, 0x101
jne 0x14001baa5
mov edi, dword [rbx + 0xcc]
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001b19d
mov rdx, qword [rbx + 0xd8]
mov ecx, dword [rbx + 0xb8]
mov r8, rdx
mov rax, qword [rbx + 0xe968]
sub r8, rcx
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001ba66
cmp rdx, rax
jae 0x14001ba66
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
lea rax, [rdx + rdi]
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b812
cmp ecx, edi
jae 0x14001ba3d
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001b9eb
jmp 0x14001b812
mov r12, rdi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.1400250c0
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001ba44
jmp 0x14001b812
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001ba6d
jmp 0x14001bd6e
add edx, 0xfffffefe
lea r8, [rbx + 0xb8]
lea r8, [r8 + rdx*4]
mov r12d, dword [r8]
je 0x14001bace
sub edx, 1
mov ecx, dword [rbx + rdx*4 + 0xb8]
mov dword [r8], ecx
lea r8, [r8 - 4]
jne 0x14001babb
mov dword [rbx + 0xb8], r12d
mov ecx, r13d
movsxd r10, dword [rbp]
mov r11, qword [rbp + 0x10]
mov edi, dword [rbp + 4]
sub ecx, edi
movzx eax, byte [r10 + r11]
movzx edx, byte [r10 + r11 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [r10 + r11 + 2]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, dword [rsi + 0x2d84]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0x2d04]
jae 0x14001bb4e
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r8d, byte [rdx + rsi + 0x2d88]
add r8d, edi
mov eax, r8d
shr eax, 3
add r10d, eax
and r8d, 7
mov dword [rbp], r10d
mov dword [rbp + 4], r8d
movzx eax, word [rsi + rdx*2 + 0x3188]
jmp 0x14001bbc8
mov r9d, 0xf
inc ecx
cmp ecx, r9d
jae 0x14001bb7e
mov r8d, ecx
add r8, 0xb41
lea r8, [rsi + r8*4]
cmp edx, dword [r8]
jb 0x14001bb7b
inc ecx
add r8, 4
cmp ecx, r9d
jb 0x14001bb69
jmp 0x14001bb7e
mov r9d, ecx
lea r8d, [r9 + rdi]
mov ecx, 0x10
mov eax, r8d
sub ecx, r9d
shr eax, 3
and r8d, 7
add r10d, eax
mov dword [rbp + 4], r8d
mov dword [rbp], r10d
lea eax, [r9 - 1]
sub edx, dword [rsi + rax*4 + 0x2d04]
mov eax, r9d
shr edx, cl
add edx, dword [rsi + rax*4 + 0x2d44]
cmp edx, dword [rsi + 0x2d00]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x3988]
movzx edi, ax
cmp edi, r13d
jae 0x14001bbd5
add edi, 2
jmp 0x14001bc3c
mov r9d, edi
and edi, 3
or edi, 4
shr r9d, 2
dec r9d
mov ecx, r9d
shl edi, cl
add edi, 2
test r9d, r9d
je 0x14001bc3c
movsxd rcx, r10d
movzx eax, byte [rcx + r11]
movzx edx, byte [rcx + r11 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + r11 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
mov ecx, 0x10
sub ecx, r9d
movzx edx, dx
shr edx, cl
lea ecx, [r8 + r9]
mov eax, ecx
add edi, edx
shr eax, 3
add eax, r10d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe968]
mov r8, rdx
sub r8, r12
mov dword [rbx + 0xcc], edi
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001bd18
cmp rdx, rax
jae 0x14001bd18
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
mov eax, edi
add rax, rdx
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b812
cmp r12d, edi
jae 0x14001bcef
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001bc9d
jmp 0x14001b812
mov r12d, edi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.1400250c0
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001bcf6
jmp 0x14001b812
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001b19d
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001bd3b
mov eax, dword [rsp + 0x80]
jmp 0x14001b19d
mov byte [rsi + 0x4adf], 1
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret