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

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov edi, edx
mov rbx, rcx
test r8, r8
je 0x14001fa28
movzx eax, byte [0x14005a0d0]
cmp byte [r8], al
jne 0x14001fa28
cmp r9d, 0x58
jne 0x14001fa28
test rcx, rcx
jne 0x14001f7ce
lea eax, [rcx - 2]
add rsp, 0x28
pop rdi
pop rbx
ret
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov qword [rcx + 0x20], r15
test rax, rax
jne 0x14001f7fc
lea rax, [0x140020d90]
mov qword [rcx + 0x40], r15
mov qword [rcx + 0x30], rax
mov ecx, r15d
jmp 0x14001f800
mov rcx, qword [rcx + 0x40]
cmp qword [rbx + 0x38], r15
jne 0x14001f811
lea rdx, [0x140020db0]
mov qword [rbx + 0x38], rdx
mov edx, 1
mov r8d, 0x1bf0
call qword [case.0x14002066a.0]
mov r14, rax
test rax, rax
jne 0x14001f83f
mov r15, qword [rsp + 0x20]
lea eax, [r14 - 4]
mov r14, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rbx
ret
mov qword [rbx + 0x28], r14
mov qword [rax], rbx
mov qword [rax + 0x40], r15
mov dword [rax + 8], 0x3f34
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
cmp qword [rbx + 0x30], r15
je 0x14001f9f1
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14001f9f1
mov rsi, qword [rbx + 0x28]
test rsi, rsi
je 0x14001f9f1
cmp qword [rsi], rbx
jne 0x14001f9f1
mov eax, dword [rsi + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja 0x14001f9f1
test edi, edi
jns 0x14001f8a4
mov ebp, r15d
neg edi
jmp 0x14001f8b4
mov ebp, edi
shr ebp, 4
add ebp, 5
cmp edi, 0x30
jge 0x14001f8b4
and edi, 0xf
test edi, edi
je 0x14001f8c4
lea eax, [rdi - 8]
cmp eax, 7
ja 0x14001f9f1
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14001f8e3
cmp dword [rsi + 0x30], edi
je 0x14001f8e3
mov rcx, qword [rbx + 0x40]
mov rax, r8
call qword [case.0x14002066a.0]
mov qword [rsi + 0x40], r15
mov dword [rsi + 0x10], ebp
mov dword [rsi + 0x30], edi
cmp qword [rbx + 0x30], r15
je 0x14001f9f1
cmp qword [rbx + 0x38], r15
je 0x14001f9f1
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14001f9f1
cmp qword [rcx], rbx
jne 0x14001f9f1
mov eax, dword [rcx + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja 0x14001f9f1
mov qword [rcx + 0x34], r15
mov dword [rcx + 0x3c], r15d
cmp qword [rbx + 0x30], r15
je 0x14001f9f1
cmp qword [rbx + 0x38], r15
je 0x14001f9f1
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14001f9f1
cmp qword [rcx], rbx
jne 0x14001f9f1
mov eax, dword [rcx + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja 0x14001f9f1
mov dword [rcx + 0x24], r15d
mov dword [rbx + 0x1c], r15d
mov dword [rbx + 0xc], r15d
mov qword [rbx + 0x20], r15
mov eax, dword [rcx + 0x10]
test eax, eax
je 0x14001f984
and eax, 1
mov dword [rbx + 0x4c], eax
mov rsi, qword [rsp + 0x48]
lea rax, [rcx + 0x550]
mov rbp, qword [rsp + 0x40]
mov edi, r15d
mov r14, qword [rsp + 0x50]
mov qword [rcx + 0x88], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x60], rax
mov eax, r15d
mov dword [rcx + 0x14], r15d
mov qword [rcx + 0x28], r15
mov qword [rcx + 0x48], r15
mov r15, qword [rsp + 0x20]
mov qword [rcx + 8], 0x3f34
mov dword [rcx + 0x18], 0xffffffff
mov dword [rcx + 0x1c], 0x8000
mov dword [rcx + 0x1be0], 1
mov dword [rcx + 0x1be4], 0xffffffff
add rsp, 0x28
pop rdi
pop rbx
ret
mov rcx, qword [rbx + 0x40]
mov rdx, r14
mov rax, qword [rbx + 0x38]
mov edi, 0xfffffffe
call qword [case.0x14002066a.0]
mov rsi, qword [rsp + 0x48]
mov eax, edi
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov qword [rbx + 0x28], r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rbx
ret
mov eax, 0xfffffffa
add rsp, 0x28
pop rdi
pop rbx
ret