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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov eax, dword [r8 + 0x1c]
mov r13, rdx
dec dword [rcx + 0x44]
xor edx, edx
mov rbx, qword [rsp + 0xd0]
mov r10d, r9d
mov r9d, dword [r8 + 0x14]
mov r14, r8
mov r12, qword [r13 + 0x20]
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
add r12, 8
movzx ebp, byte [rbx]
mov r15, qword [r8]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x44]
mov dword [rsp + 0x44], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x48], r12
test r9d, r9d
je 0x14022d586
mov r8d, dword [r8 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, 9
call fcn.14027bd9c
mov r9d, dword [rsp + 0x40]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 8]
call fcn.14027bd9c
mov edx, dword [r14 + 0x14]
mov rcx, rsi
call fcn.1402864c0
mov r10d, dword [rsp + 0xc8]
xor edx, edx
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x3c], eax
lea eax, [rbp - 9]
test al, 0xfb
je 0x14022d62b
cmp bpl, 0xa
je 0x14022d60c
mov al, byte [rdi + 0x1f]
lea rbx, [rdi + 0x38]
test al, al
jne 0x14022d5b7
mov r11d, dword [rbx]
mov cl, dl
inc r11d
mov dword [rbx], r11d
jmp 0x14022d5c7
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r11d, dword [rdi + rcx*4 + 0xd8]
lea eax, [rbp - 0xc]
mov dword [rsp + 0xb8], r11d
test al, 0xfd
je 0x14022d5e8
mov edx, r10d
mov rcx, rdi
call fcn.140267bd8
mov r14d, eax
xor edx, edx
jmp 0x14022d63a
test cl, cl
jne 0x14022d5f3
inc dword [rbx]
mov r14d, dword [rbx]
jmp 0x14022d603
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xd8]
mov dword [rsp + 0xc8], edx
jmp 0x14022d63a
cmp dword [r13 + 0xc], edx
je 0x14022d62b
mov r9d, dword [rbx + 0xc]
xor r8d, r8d
mov dword [rsp + 0x20], edx
mov rcx, rsi
lea edx, [r8 + 0x4b]
call fcn.14027bd9c
xor edx, edx
mov r14d, dword [rbx + 0xc]
lea rbx, [rdi + 0x38]
mov dword [rsp + 0xb8], edx
mov rcx, qword [rsp + 0xc0]
mov r15d, dword [r15]
sub r15d, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x14022d737
mov r12d, dword [rdi + 0x34]
inc dword [rbx]
mov ebp, dword [rbx]
mov dword [rsp + 0x34], r12d
lea eax, [r12 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], edx
je 0x14022d687
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call fcn.14027bd9c
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0xc8]
mov r9d, ebp
inc ecx
mov r8d, r12d
add ecx, r15d
mov edx, 0x79
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14027bd9c
mov eax, dword [rsp + 0x30]
xor r9d, r9d
test eax, eax
je 0x14022d6c8
mov edx, eax
mov rcx, rsi
call fcn.140283c8c
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [rsp + 0x3c]
mov edx, 0x21
mov dword [rsp + 0x20], r9d
mov rcx, rsi
mov r9d, dword [rsp + 0x40]
call fcn.14027bd9c
mov r8d, dword [r13 + 0xc]
inc eax
mov dword [rsp + 0x30], eax
test r8d, r8d
jle 0x14022d70d
mov r9d, dword [rsp + 0x44]
mov edx, 0x31
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14027bd9c
mov r8d, dword [rsp + 0x3c]
mov r9d, ebp
mov edx, 0x85
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.14027bd9c
xor r10d, r10d
mov r8d, r12d
mov r12, qword [rsp + 0x48]
mov eax, r10d
jmp 0x14022d78e
mov ebp, dword [rsp + 0x3c]
mov rcx, rsi
mov r9d, dword [rsp + 0x40]
mov r8d, ebp
mov dword [rsp + 0x20], edx
mov edx, 0x22
call fcn.14027bd9c
mov r8d, dword [r13 + 0xc]
inc eax
xor r10d, r10d
mov dword [rsp + 0x30], eax
test r8d, r8d
jle 0x14022d782
mov r9d, dword [rsp + 0x44]
lea edx, [r10 + 0x31]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14027bd9c
xor r10d, r10d
mov r8d, ebp
mov dword [rsp + 0x34], ebp
mov eax, 1
movsxd r13, dword [rsp + 0xc8]
lea r9d, [rax + r15]
mov dword [rsp + 0x48], r9d
lea ebp, [r9 - 1]
mov rcx, r13
test r13d, r13d
jle 0x14022d7c6
lea rdx, [r12 + 0x18]
cmp word [rdx], r10w
lea eax, [rbp + 1]
lea rdx, [rdx + 0x20]
cmovne eax, ebp
mov ebp, eax
sub rcx, 1
jne 0x14022d7b0
lea eax, [r13 - 1]
movsxd r15, eax
test eax, eax
js 0x14022d83c
mov edi, dword [rsp + 0x34]
lea r13d, [rax + r14]
mov rax, r15
shl rax, 5
add rax, 0x18
add r12, rax
cmp word [r12], r10w
je 0x14022d7f8
movzx r9d, word [r12]
dec r9d
jmp 0x14022d7fd
mov r9d, ebp
dec ebp
mov r8d, edi
mov dword [rsp + 0x20], r13d
mov edx, 0x5e
mov rcx, rsi
call fcn.14027bd9c
xor r10d, r10d
dec r13d
sub r12, 0x20
sub r15, 1
jns 0x14022d7e7
mov rdi, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x48]
mov r13d, dword [rsp + 0xc8]
mov r15d, dword [rsp + 0x50]
mov ecx, r15d
sub ecx, 0xa
je 0x14022d890
sub ecx, 1
je 0x14022d9bd
sub ecx, 1
je 0x14022d944
sub ecx, 2
je 0x14022d944
mov rax, qword [rsp + 0xd0]
cmp ecx, 1
je 0x14022d8cf
mov dword [rsp + 0x20], r10d
mov rcx, rsi
cmp r15b, 9
jne 0x14022d8c2
mov r8d, dword [rax + 0xc]
mov r9d, r13d
mov edx, 0x54
call fcn.14027bd9c
mov ebp, dword [rsp + 0xb8]
mov r9d, 8
test ebp, ebp
je 0x14022da49
cmp r15b, 0xb
jne 0x14022da1b
mov r8d, r13d
mov edx, r14d
mov rcx, rdi
call fcn.1402738a0
jmp 0x14022da35
mov r8d, dword [rax + 4]
xor r9d, r9d
lea edx, [r9 + 0xb]
jmp 0x14022d88b
mov ebp, dword [rax + 8]
mov al, byte [rdi + 0x1f]
test al, al
jne 0x14022d8df
inc dword [rbx]
mov ebx, dword [rbx]
jmp 0x14022d8ee
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xd8]
mov eax, ebp
mov dword [rsp + 0x20], ebx
shr eax, 0x1f
mov r9d, r13d
sub r9d, eax
mov edx, 0x61
mov rcx, rsi
lea r8d, [rax + r14]
call fcn.14027bd9c
mov r8d, dword [rsp + 0x38]
mov r9d, ebx
mov rcx, rsi
test ebp, ebp
jns 0x14022d92c
mov dword [rsp + 0x20], r14d
mov edx, 0x80
jmp 0x14022d88b
mov dword [rsp + 0x28], ebp
mov edx, 0x8a
mov dword [rsp + 0x20], r14d
call fcn.14027beb0
jmp 0x14022d890
mov edx, 0x5e
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call fcn.14027bd9c
mov ebp, dword [rsp + 0xb8]
xor r12d, r12d
mov r8d, dword [rsp + 0x38]
mov r9d, ebp
mov rcx, rsi
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x7f]
call fcn.14027bd9c
mov r8d, dword [rsp + 0x38]
mov r9d, r14d
mov edx, 0x80
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.14027bd9c
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x14022d897
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea r9d, [r12 + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x14022d89d
mov rax, qword [rsp + 0xd0]
mov r9d, r13d
mov ebp, dword [rsp + 0xb8]
mov r8d, r14d
mov edx, 0x61
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov rbx, qword [rax + 0x18]
call fcn.14027bd9c
mov r9d, r13d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.14027c144
mov r8d, dword [rsp + 0x38]
mov r9d, ebp
mov edx, 0x8a
mov dword [rsp + 0x28], r13d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.14027beb0
jmp 0x14022d897
test r14d, r14d
je 0x14022da35
cmp byte [rdi + 0x1f], r9b
jae 0x14022da49
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], r14d
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x14022da49
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], ebp
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x44]
mov rcx, rsi
call fcn.1402864c0
mov rbx, qword [rsp + 0xc0]
xor edi, edi
mov r9d, dword [rsp + 0x30]
mov rcx, rsi
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], edi
mov dl, byte [rbx + 0x24]
not dl
and edx, 1
lea edx, [rdx*2 + 0x24]
call fcn.14027bd9c
mov r8d, dword [rbx + 0x10]
test r8d, r8d
je 0x14022da9f
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x43]
mov rcx, rsi
call fcn.14027bd9c
mov edx, dword [rsp + 0x40]
mov rcx, rsi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1402864c0