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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rsi, qword [rsp + 0xc0]
xor r13d, r13d
mov ebx, r9d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test rdx, rdx
jne 0x14001f4ac
cmp byte [rcx], r13b
jne 0x14001f4a5
test byte [rcx + 1], 2
je 0x14001f4a5
mov rax, qword [rcx + 0x30]
cmp rax, r8
jne 0x14001f46a
mov rax, rsi
mov dword [rax], r13d
xor eax, eax
jmp 0x14001f894
jge 0x14001f4a5
test byte [rcx + 1], 8
jne 0x14001f52a
inc rax
cmp rax, rbp
jne 0x14001f4a5
xor edx, edx
mov dword [rsi], r13d
call fcn.14001fa08
test eax, eax
jne 0x14001f49c
mov rcx, rdi
call fcn.14001ec64
cmp qword [rdi + 0x30], rbp
jne 0x14001f4a5
jmp 0x14001f463
cmp eax, 0x65
jne 0x14001f894
mov qword [rsp + 0x38], r13
jmp 0x14001f515
mov rcx, qword [rdx]
cmp word [rcx + 8], 0xd
ja 0x14001f505
mov rax, qword [rdx + 8]
movzx r8d, word [rax + 8]
mov rax, qword [rcx + 0x18]
mov cl, byte [rax]
mov al, cl
neg al
sbb dl, dl
and dl, 0xfe
inc dl
neg cl
sbb al, al
and al, 2
dec al
mov byte [r14 + 0x14], al
mov byte [r14 + 0x15], dl
test r8b, 4
je 0x14001f4ef
lea rax, [0x1400271f4]
jmp 0x14001f50c
test r8b, 0x19
jne 0x14001f505
mov rax, qword [r14]
cmp qword [rax + 0x20], r13
lea rax, [0x1400273b8]
je 0x14001f50c
lea rax, [0x1400271ec]
mov qword [rsp + 0x38], rax
mov byte [r14 + 0x13], r13b
mov rcx, rdi
call fcn.14001f0f8
test eax, eax
je 0x14001f532
cmp eax, 0x10
jne 0x14001f894
or dword [rsi], 0xffffffff
jmp 0x14001f463
mov eax, 1
sub eax, ebx
mov dword [rsp + 0x30], eax
mov rbp, qword [rdi + 0x88]
mov r12d, r13d
mov r9, qword [rsp + 0x38]
mov ecx, eax
movzx r13d, word [rbp + 0x16]
lea r15, [rbp + 0x60]
dec r13d
mov qword [rsp + 0x50], r15
mov esi, r13d
lea rbx, [rbp + 0x18]
sar esi, cl
mov word [rdi + 0x56], si
mov qword [rsp + 0x40], rbx
test r9, r9
jne 0x14001f671
mov rdx, qword [r15]
lea eax, [rsi + rsi]
movzx r9d, word [rbx]
movsxd rcx, eax
movzx r8d, byte [rdx + rcx]
movzx eax, byte [rdx + rcx + 1]
shl r8, 8
or r8, rax
and r8, r9
add r8, qword [rbp + 0x68]
cmp byte [rbp + 3], 0
je 0x14001f5bd
jmp 0x14001f5b4
inc r8
cmp r8, qword [rbp + 0x58]
jae 0x14001f810
cmp byte [r8], 0x80
jae 0x14001f5a7
inc r8
lea rdx, [rsp + 0x48]
mov rcx, r8
call fcn.140014a24
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0xb0]
jge 0x14001f5e7
lea r12d, [rsi + 1]
cmp r12d, r13d
jle 0x14001f5f2
or ebx, 0xffffffff
jmp 0x14001f5ff
jle 0x14001f65b
lea r13d, [rsi - 1]
cmp r12d, r13d
jg 0x14001f5fa
lea esi, [r12 + r13]
sar esi, 1
jmp 0x14001f57a
mov ebx, 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
xor r13d, r13d
cmp byte [rbp + 8], r13b
jne 0x14001f833
mov rbx, qword [rsp + 0x40]
movzx eax, word [rbp + 0x16]
cmp r12d, eax
jl 0x14001f7a1
movzx edx, byte [rbp + 9]
mov rcx, qword [rbp + 0x50]
movzx eax, byte [rdx + rcx + 0xa]
movzx r9d, byte [rdx + rcx + 9]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 8]
shl eax, 0x18
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 0xb]
jmp 0x14001f7ea
xor r13d, r13d
mov word [rdi + 0x56], si
cmp byte [rbp + 8], r13b
jne 0x14001f81c
mov r12d, esi
jmp 0x14001f61b
lea eax, [rsi + rsi]
movsxd rcx, eax
mov rax, qword [r15]
movzx edx, byte [rcx + rax + 1]
movzx eax, byte [rcx + rax]
shl rax, 8
or rdx, rax
movzx eax, word [rbx]
and rdx, rax
movzx eax, byte [rbp + 0xb]
add rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx]
lea r10, [rdx + 1]
cmp ecx, eax
ja 0x14001f6a8
mov rdx, r10
jmp 0x14001f6c6
cmp byte [r10], 0
jl 0x14001f6d3
movzx eax, byte [r10]
and ecx, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [rbp + 0xe]
cmp ecx, eax
ja 0x14001f6d3
add rdx, 2
mov r8, r14
call r9
mov ebx, eax
jmp 0x14001f76a
movzx eax, byte [rbp + 0xa]
lea r8, [rdi + 0x30]
sub rdx, rax
mov rcx, rbp
call qword [rbp + Ordinal_133]
mov ebx, dword [rdi + 0x30]
mov dword [rsp + 0xa8], ebx
cmp ebx, 2
jl 0x14001f87e
mov rcx, qword [rdi + 0x20]
xor edx, edx
mov eax, ebx
div dword [rcx + 0x34]
cmp eax, dword [rcx + 0x3c]
ja 0x14001f87e
lea eax, [rbx + 0x12]
movsxd rcx, eax
call fcn.140011f98
mov r15, rax
test rax, rax
je 0x14001f874
mov r9, rax
mov word [rdi + 0x56], si
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call fcn.14001ed54
and byte [rdi + 1], 0xfb
mov ebx, eax
test eax, eax
jne 0x14001f86a
mov ecx, dword [rsp + 0xa8]
mov r8, r14
mov rax, qword [rsp + 0x38]
mov rdx, r15
call rax
mov rcx, r15
mov ebx, eax
call fcn.140012014
mov r15, qword [rsp + 0x50]
test ebx, ebx
jns 0x14001f774
lea r12d, [rsi + 1]
jmp 0x14001f783
xor r13d, r13d
test ebx, ebx
jle 0x14001f846
lea r13d, [rsi - 1]
cmp r12d, r13d
jg 0x14001f609
mov rbx, qword [rsp + 0x40]
lea esi, [r12 + r13]
mov r9, qword [rsp + 0x38]
sar esi, 1
jmp 0x14001f671
lea eax, [r12 + r12]
movsxd rcx, eax
mov rax, qword [r15]
movzx r8d, byte [rcx + rax + 1]
movzx eax, byte [rcx + rax]
shl rax, 8
or r8, rax
movzx eax, word [rbx]
and r8, rax
add r8, qword [rbp + 0x50]
movzx eax, byte [r8 + 2]
movzx r9d, byte [r8 + 1]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8]
shl eax, 0x18
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 3]
or r9d, eax
mov word [rdi + 0x56], r12w
mov edx, r9d
mov rcx, rdi
call fcn.14001f03c
mov ebx, eax
test eax, eax
jne 0x14001f88d
mov eax, dword [rsp + 0x30]
jmp 0x14001f53d
mov ecx, 0x10b83
call fcn.140058c14
jmp 0x14001f894
or byte [rdi + 1], 2
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov dword [rax], r13d
xor eax, eax
jmp 0x14001f88f
mov rax, qword [rsp + 0xc0]
mov word [rdi + 0x56], si
mov dword [rax], ebx
mov ebx, r13d
jmp 0x14001f88d
mov rax, qword [rsp + 0xc0]
mov ebx, r13d
mov word [rdi + 0x56], si
mov dword [rax], r13d
cmp byte [r14 + 0x13], r13b
je 0x14001f88d
mov ecx, 0x10bec
call fcn.140058c14
jmp 0x14001f88b
mov rcx, r15
call fcn.140012014
jmp 0x14001f879
mov ebx, 7
xor r13d, r13d
jmp 0x14001f88d
mov ecx, 0x10bcd
call fcn.140058c14
xor r13d, r13d
mov ebx, eax
mov eax, ebx
mov word [rdi + 0x46], r13w
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret