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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
xor r15d, r15d
mov rbp, qword [rcx + 8]
mov r12d, edx
mov rsi, qword [rcx + 0x10]
mov r14d, r8d
mov rbx, rcx
mov dword [rsp + 0x80], r15d
mov r13d, dword [rdi + 0x44]
lea edx, [r15 + 2]
mov al, byte [rbp + 0x20]
dec r13d
mov byte [rsp + 0x88], al
mov dword [rsp + 0x34], r13d
mov dword [rdi + 0x44], r13d
mov dword [rsp + 0x30], r15d
cmp r12d, edx
jne 0x14022ffd9
cmp byte [rbp + 0x21], 0x5a
jne 0x14022ffd9
xor eax, eax
jmp 0x140230378
mov ecx, 0x39
test r14d, r14d
jle 0x14023005a
cmp byte [rbp + 0x20], 0x59
jne 0x140230042
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x30], eax
cmp r12d, edx
jne 0x140230020
cmp byte [rbp + 0x21], 0x56
jne 0x140230004
mov r8d, dword [rbx + 0x34]
jmp 0x140230008
mov r8d, dword [rbx + 0x2c]
mov eax, 0x2c
mov edx, 0x37
cmovne edx, ecx
lea ecx, [rax + 8]
cmovne eax, ecx
mov ecx, dword [rax + rbx]
jmp 0x14023002c
mov r8d, dword [rbx + 0x3c]
mov edx, 0x36
mov ecx, dword [rbx + 0x34]
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.140230390
jmp 0x14023005a
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x31
mov rcx, rsi
call fcn.14020cbd8
cmp r12d, 1
jne 0x140230073
cmp dword [rbp + 0x84], r15d
jne 0x140230073
xor edx, edx
mov rcx, rbx
call fcn.14022f7ec
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x38], eax
mov al, byte [rbp + 0x22]
cmp byte [rbp + 0x21], al
jne 0x140230186
test r14d, r14d
je 0x140230186
cmp byte [rbp + 0x20], 0x59
jne 0x140230186
mov al, byte [rdi + 0x1f]
test al, al
jne 0x1402300ac
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1402300c0
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xd8]
test al, al
jne 0x1402300c9
inc dword [rdi + 0x38]
mov r15d, dword [rdi + 0x38]
jmp 0x1402300d9
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r15d, dword [rdi + rax*4 + 0xd8]
mov eax, 2
cmp r12d, eax
jne 0x14023011a
mov r8d, dword [rbx + 0x2c]
mov r9d, r14d
and dword [rsp + 0x20], 0
mov edx, 0x87
mov rcx, rsi
call fcn.14020cbd8
mov r8d, dword [rbx + 0x3c]
mov r9d, r15d
and dword [rsp + 0x20], 0
mov edx, 0x87
mov rcx, rsi
call fcn.14020cbd8
mov r8d, r15d
jmp 0x14023013d
cmp dword [rbx + 0x28], 0
je 0x140230152
and dword [rsp + 0x20], 0
mov r9d, r14d
mov r8d, dword [rbx + 0x3c]
mov edx, 0x87
mov rcx, rsi
call fcn.14020cbd8
mov r8d, dword [rbx + 0x28]
mov r9d, r13d
mov dword [rsp + 0x20], r14d
mov edx, 0x39
mov rcx, rsi
call fcn.14020cbd8
test r14d, r14d
je 0x14023016c
cmp byte [rdi + 0x1f], 8
jae 0x14023016c
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], r14d
inc byte [rdi + 0x1f]
test r15d, r15d
je 0x140230186
cmp byte [rdi + 0x1f], 8
jae 0x140230186
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], r15d
inc byte [rdi + 0x1f]
mov ecx, r12d
sub ecx, 1
je 0x1402301fb
cmp ecx, 1
je 0x1402301ca
cmp dword [rbp + 0x84], 0
mov r15d, dword [rbx + 0x3c]
mov r13d, dword [rbx + 0x40]
je 0x1402301c5
mov r8d, dword [rbp + 0x88]
mov r9d, 1
and dword [rsp + 0x20], 0
mov edx, 0x56
mov rcx, rsi
call fcn.14020cbd8
jmp 0x14023020b
xor r9d, r9d
jmp 0x1402301e4
mov r8d, dword [rbp + 0x84]
mov r9d, 1
mov r15d, dword [rbx + 0x2c]
mov r13d, dword [rbx + 0x30]
test r8d, r8d
jne 0x1402301b1
mov eax, dword [rbx + 0x20]
mov r8d, r15d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.14022f964
jmp 0x14023020b
mov r15d, dword [rbx + 0x34]
mov rcx, rbx
mov r13d, dword [rbx + 0x38]
call fcn.140230c0c
cmp r12d, dword [rbx + 0x24]
jne 0x140230249
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
mov edx, 0x82
mov rcx, rsi
call fcn.14020cbd8
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140230249
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
mov r8d, r15d
mov eax, dword [rsi + 0x90]
mov edx, 0x26
mov rcx, rsi
je 0x1402302a3
and dword [rsp + 0x20], 0
lea r9d, [rax + 2]
call fcn.14020cbd8
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 8]
call fcn.14020cbd8
cmp byte [rsp + 0x88], 0x4c
mov r12d, eax
mov dword [rsp + 0x80], eax
je 0x14023034a
jmp 0x1402302e5
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
and dword [rsp + 0x20], 0
inc r9d
add r9d, eax
call fcn.14020cbd8
cmp byte [rsp + 0x88], 0x4c
je 0x140230342
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x34]
mov rcx, rsi
lea edx, [r8 + 8]
call fcn.14020cbd8
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140230306
mov r14d, dword [rax]
test r14d, r14d
je 0x140230309
mov edx, r14d
mov rcx, rdi
call fcn.1401f8884
mov r12d, eax
jmp 0x14023030c
xor r14d, r14d
xor r12d, r12d
mov r8d, r12d
mov edx, r15d
mov rcx, rbx
call fcn.140230b7c
mov eax, dword [rsp + 0x38]
mov r9d, r13d
mov rdx, qword [rbp + 0x18]
mov r8d, r12d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140230aa8
mov r8d, r14d
mov edx, r12d
mov rcx, rdi
call fcn.1402044e0
mov r12d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140230369
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, eax
mov rcx, rsi
lea edx, [r8 + 8]
call fcn.14020cbd8
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.140217360
mov eax, r12d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret