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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
cmp byte [rcx + 0x1e], 0
mov rbx, rcx
jne 0x14021a6dd
mov r12d, dword [rcx + 0x30]
mov rdi, qword [rcx]
test r12d, r12d
je 0x14021a34f
cmp byte [rdi + 0x67], 0
je 0x14021a6dd
mov dword [rcx + 0x18], 7
jmp 0x14021a6dd
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x14021a37e
cmp byte [rdi + 0xc5], 0
jne 0x14021a6cd
call fcn.14021e130
mov rsi, rax
test rax, rax
jne 0x14021a37e
mov dword [rbx + 0x18], 1
jmp 0x14021a6bc
cmp byte [rbx + 0xd5], 0
je 0x14021a434
mov rbp, qword [rbx + 0xc0]
cmp dword [rbp + 0xbc], 0
je 0x14021a434
mov edx, 0x53
mov rcx, rsi
call fcn.1402344e0
mov r8d, dword [rbp + 0xb8]
mov edx, 0x23
mov rcx, rsi
call fcn.140234500
mov r14d, dword [rbp + 0xc0]
xor r9d, r9d
mov r13d, eax
cmp dword [rbp + 0xbc], r9d
jle 0x14021a401
lea eax, [r14 + r9]
mov edx, 0x5e
mov rcx, rsi
mov dword [rsp + 0x48], r9d
mov r8d, dword [rbp + 0xb8]
mov dword [rsp + 0x20], eax
call fcn.140234540
mov r9d, dword [rsp + 0x48]
inc r9d
jmp 0x14021a3cd
mov r8d, r14d
mov edx, 0x54
mov rcx, rsi
call fcn.140234520
mov r8d, dword [rbp + 0xb8]
mov rcx, rsi
lea r9d, [r13 + 1]
mov edx, 0x26
call fcn.140234520
mov edx, r13d
mov rcx, rsi
call fcn.14023bad0
mov edx, 0x46
mov rcx, rsi
call fcn.1402344e0
cmp byte [rdi + 0x67], 0
jne 0x14021a6bc
cmp dword [rbx + 0x74], 0
jne 0x14021a45c
cmp qword [rbx + 0x58], 0
je 0x14021a6bc
xor edx, edx
mov rcx, rsi
xor ebp, ebp
mov r13d, 1
call fcn.14023bad0
mov r9d, r13d
mov ecx, ebp
mov edx, ebp
shl r9d, cl
mov eax, r9d
and eax, dword [rbx + 0x74]
je 0x14021a4d6
mov rcx, rsi
call fcn.14023dcf0
mov rax, rbp
mov r8d, ebp
mov rcx, rsi
shl rax, 5
add rax, qword [rdi + 0x20]
and r9d, dword [rbx + 0x70]
mov rax, qword [rax + 0x18]
setne r9b
movzx r9d, r9b
mov edx, dword [rax + 4]
mov dword [rsp + 0x28], edx
mov eax, dword [rax]
mov edx, 2
mov dword [rsp + 0x20], eax
call fcn.140234640
cmp byte [rdi + 0xc5], 0
jne 0x14021a4d6
mov edx, 1
mov rcx, rsi
call fcn.140234900
inc rbp
cmp dword [rdi + 0x28], ebp
jg 0x14021a46e
xor ebp, ebp
cmp dword [rbx + 0x128], ebp
jle 0x14021a52a
mov rax, qword [rbx + 0x180]
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rax + rbp*8]
inc rbp
mov rdx, qword [rax + 0x50]
call fcn.14021def0
xor edx, edx
mov dword [rsp + 0x30], 0xfffffff5
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, 0xaa
mov qword [rsp + 0x28], rax
call fcn.1402345a0
jmp 0x14021a4e0
xor eax, eax
mov rbp, qword [rbx + 0x10]
xor edi, edi
mov dword [rbx + 0x128], eax
cmp dword [rbx + 0x88], edi
jle 0x14021a57d
imul rax, rdi, 0x18
add rax, qword [rbx + 0x90]
mov rcx, rbp
inc rdi
mov r9d, dword [rax + 4]
mov dword [rsp + 0x30], 0xffffffff
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x28], rdx
movzx edx, byte [rax + 8]
mov dword [rsp + 0x20], edx
mov r8d, dword [rax]
mov edx, 0xa9
call fcn.1402345a0
jmp 0x14021a538
mov rax, qword [rbx + 0x10]
mov r15, qword [rbx]
lea r13, [0x140363f60]
mov r14, qword [rbx + 0x98]
mov qword [rsp + 0x48], rax
test r14, r14
je 0x14021a5f6
movsxd rax, dword [r14 + 0x10]
mov edi, dword [r14 + 0x14]
xor edx, edx
mov rcx, rbx
mov r8, rax
shl rax, 5
add rax, qword [r15 + 0x20]
lea ebp, [rdi - 1]
mov rax, qword [rax + 0x18]
mov r9, qword [rax + 0x68]
mov dword [rsp + 0x20], 0x70
call fcn.1402225a0
mov rax, qword [r14 + 8]
mov rcx, qword [rsp + 0x48]
mov edx, ebp
mov r8, qword [rax]
call fcn.14023bb30
mov rcx, qword [rsp + 0x48]
mov r8, r13
mov edx, 0xc
call fcn.140234680
test rax, rax
jne 0x14021a601
mov rbp, qword [rbx + 0x58]
test rbp, rbp
jne 0x14021a652
jmp 0x14021a660
lea edx, [rdi + 2]
lea ecx, [rdi + 1]
cmp dword [rbx + 0x34], 0
mov dword [rax + 8], edi
mov dword [rax + 0xc], edx
mov dword [rax + 0x3c], edi
mov dword [rax + 0x4c], ebp
mov dword [rax + 0x54], edi
mov word [rax + 0x4a], 0x10
mov dword [rax + 0x68], ecx
mov dword [rax + 0x84], edi
mov dword [rax + 0x94], edi
mov dword [rax + 0xb0], edx
mov dword [rax + 0xac], edi
mov dword [rax + 0xf8], edi
jne 0x14021a64a
mov dword [rbx + 0x34], 1
mov r14, qword [r14]
jmp 0x14021a597
mov byte [rbx + 0x23], 0
lea rdi, [rbp + 8]
cmp dword [rbp], r12d
jg 0x14021a66b
cmp byte [rbx + 0xd5], 0
jne 0x14021a688
jmp 0x14021a6af
mov r8d, dword [rdi + 0x18]
test r8d, r8d
jle 0x14021a67f
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1402161b0
inc r12d
add rdi, 0x20
jmp 0x14021a65a
mov rax, qword [rbx + 0xc0]
mov r9d, dword [rax + 0xbc]
test r9d, r9d
je 0x14021a6af
mov r8d, dword [rax + 0xb8]
mov edx, 0x76
mov rcx, rsi
call fcn.140234520
mov edx, 1
mov rcx, rsi
call fcn.14023b120
cmp dword [rbx + 0x30], 0
jne 0x14021a6d6
mov rdx, rbx
mov rcx, rsi
call fcn.14023bb60
mov dword [rbx + 0x18], 0x65
jmp 0x14021a6dd
mov dword [rbx + 0x18], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret