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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov rsi, rcx
mov rbp, qword [rcx + 8]
mov r14d, r8d
xor ecx, ecx
mov r12d, edx
mov eax, ecx
mov dword [rsp + 0x34], ecx
mov rbx, qword [rsi + 0x10]
movzx r15d, byte [rbp + 0x20]
cmp r15b, 0x4c
mov byte [rsp + 0x80], r15b
mov dword [rsp + 0x30], ecx
setne al
dec dword [rdi + 0x44]
mov r13d, dword [rdi + 0x44]
mov dword [rsp + 0x38], eax
cmp edx, 2
jne 0x1400af38e
cmp byte [rbp + 0x21], 0x5a
jne 0x1400af38e
xor eax, eax
jmp 0x1400af84d
test r14d, r14d
jle 0x1400af41b
cmp byte [rbp + 0x20], 0x59
jne 0x1400af403
mov eax, dword [rbx + 0x90]
mov r9d, r14d
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov dword [rsp + 0x28], r13d
cmp r12d, 2
jne 0x1400af3ec
cmp byte [rbp + 0x21], 0x56
jne 0x1400af3d5
mov eax, dword [rsi + 0x2c]
lea edx, [r12 + 0x35]
mov r8d, dword [rsi + 0x34]
mov dword [rsp + 0x20], eax
call fcn.1400aed90
jmp 0x1400af434
mov eax, dword [rsi + 0x34]
mov edx, 0x39
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x20], eax
call fcn.1400aed90
jmp 0x1400af434
mov eax, dword [rsi + 0x34]
mov edx, 0x36
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x20], eax
call fcn.1400aed90
jmp 0x1400af41b
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.140030100
cmp r12d, 1
jne 0x1400af434
cmp dword [rbp + 0x84], 0
jne 0x1400af434
xor edx, edx
mov rcx, rsi
call fcn.1400ad520
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rbp + 0x22]
cmp byte [rbp + 0x21], al
jne 0x1400af545
test r14d, r14d
je 0x1400af545
cmp byte [rbp + 0x20], 0x59
jne 0x1400af545
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1400af46f
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1400af47f
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xe8]
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1400af490
inc dword [rdi + 0x38]
mov r15d, dword [rdi + 0x38]
jmp 0x1400af4a0
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r15d, dword [rdi + rax*4 + 0xe8]
cmp r12d, 2
jne 0x1400af4d3
mov r8d, dword [rsi + 0x2c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.140030090
mov r8d, dword [rsi + 0x3c]
mov r9d, r15d
mov edx, 0x87
mov rcx, rbx
call fcn.140030090
mov r8d, r15d
jmp 0x1400af4f1
cmp dword [rsi + 0x28], 0
je 0x1400af506
mov r8d, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.140030090
mov r8d, dword [rsi + 0x28]
mov r9d, r13d
mov dword [rsp + 0x20], r14d
mov edx, 0x39
mov rcx, rbx
call fcn.140030100
test r14d, r14d
je 0x1400af521
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400af521
movzx eax, al
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
test r15d, r15d
je 0x1400af53c
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400af53c
movzx eax, al
mov dword [rdi + rax*4 + 0xe8], r15d
inc byte [rdi + 0x1f]
movzx r15d, byte [rsp + 0x80]
mov ecx, r12d
sub ecx, 1
je 0x1400af5eb
cmp ecx, 1
je 0x1400af5a4
cmp dword [rbp + 0x84], 0
mov r14d, dword [rsi + 0x40]
mov r12d, dword [rsi + 0x3c]
mov dword [rsp + 0x80], r14d
je 0x1400af58a
mov r8d, dword [rbp + 0x88]
mov r9d, 1
mov rcx, rbx
lea edx, [r9 + 0x55]
call fcn.140030090
jmp 0x1400af601
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, rsi
call fcn.1400acb60
jmp 0x1400af601
mov r8d, dword [rbp + 0x84]
mov r9d, 1
mov r14d, dword [rsi + 0x30]
mov r12d, dword [rsi + 0x2c]
mov dword [rsp + 0x80], r14d
test r8d, r8d
je 0x1400af5d4
lea edx, [r9 + 0x55]
mov rcx, rbx
call fcn.140030090
jmp 0x1400af601
mov eax, dword [rsi + 0x20]
mov r8d, r12d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.1400acb60
jmp 0x1400af601
mov eax, dword [rsi + 0x38]
mov rcx, rsi
mov r12d, dword [rsi + 0x34]
mov dword [rsp + 0x80], eax
call fcn.1400ae100
mov eax, dword [rsp + 0x88]
cmp eax, dword [rsi + 0x24]
jne 0x1400af641
mov r8d, r12d
mov edx, 0x82
mov rcx, rbx
call fcn.140030020
mov eax, dword [rbx + 0x90]
test eax, eax
jle 0x1400af641
dec eax
movsxd rcx, eax
mov rax, qword [rbx + 0x88]
lea rdx, [rcx + rcx*2]
mov ecx, 2
mov word [rax + rdx*8 + 2], cx
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
je 0x1400af6ba
lea edx, [rcx + 2]
cmp dword [rbx + 0x94], ecx
jg 0x1400af676
xor eax, eax
mov r9d, edx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x27]
call fcn.14002feb0
jmp 0x1400af6a7
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, 9
mov rcx, rbx
call fcn.14002ffb0
mov dword [rsp + 0x34], eax
jmp 0x1400af730
mov edx, dword [rsp + 0x38]
inc edx
add edx, ecx
cmp dword [rbx + 0x94], ecx
jg 0x1400af6e3
xor eax, eax
mov r9d, edx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x27]
call fcn.14002feb0
jmp 0x1400af714
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
cmp r15b, 0x4c
je 0x1400af7c0
xor r8d, r8d
mov r9d, r13d
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.140030090
cmp r15b, 0x4c
je 0x1400af7c0
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x1400af758
mov r14d, dword [rax]
test r14d, r14d
je 0x1400af75d
mov edx, r14d
mov rcx, rdi
call fcn.140054e50
jmp 0x1400af75f
mov r14d, eax
jmp 0x1400af75f
xor eax, eax
mov r8d, eax
mov edx, r12d
mov rcx, rsi
mov r15d, eax
call fcn.1400aca40
mov eax, dword [rsp + 0x3c]
mov r8d, r15d
mov r9d, dword [rsp + 0x80]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], eax
call fcn.1400aeb60
cmp r14d, 1
jne 0x1400af7b2
test r15d, r15d
je 0x1400af7c0
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400af7c0
movzx eax, al
mov dword [rdi + rax*4 + 0xe8], r15d
inc byte [rdi + 0x1f]
jmp 0x1400af7c0
cmp r14d, dword [rdi + 0x28]
jle 0x1400af7c0
mov dword [rdi + 0x28], r14d
mov dword [rdi + 0x2c], r15d
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x1400af81d
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400af7f0
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 9]
call fcn.14002feb0
jmp 0x1400af81d
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r13d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400af839
mov r8d, r13d
mov rdx, rbx
call fcn.1400309b0
jmp 0x1400af849
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, r13d
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret