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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r11d, dword [r8 + 0x1c]
mov r12, rdx
dec dword [rcx + 0x44]
xor edx, edx
mov eax, dword [rcx + 0x44]
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
mov r10d, r9d
mov rcx, qword [rsp + 0xc0]
mov r13, r8
mov r9d, dword [r8 + 0x14]
mov r15d, edx
mov rbx, qword [r8]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 4]
movzx ebp, byte [rcx]
mov dword [rsp + 0xa8], eax
mov rax, qword [r12 + 0x20]
add rax, 8
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x44], ebp
mov qword [rsp + 0x48], rax
test r9d, r9d
je 0x1401307c2
mov r8d, dword [r8 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, 0xc
call fcn.140178330
mov r9d, dword [rsp + 0x34]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0xb]
call fcn.140178330
mov edx, dword [r13 + 0x14]
mov rcx, rsi
call fcn.140182144
mov r10d, dword [rsp + 0xb8]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
mov r11d, dword [rsp + 0x34]
mov r8d, dword [r13 + 0xc]
lea eax, [rbp - 9]
mov dword [rsp + 0x30], r8d
test al, 0xfa
jne 0x1401307e5
cmp bpl, 0xe
je 0x1401307e5
mov r14d, dword [rcx + 0xc]
mov dword [rsp + 0xa0], edx
jmp 0x14013085a
mov al, byte [rdi + 0x1f]
test al, al
jne 0x1401307ff
inc dword [rdi + 0x38]
mov edx, dword [rdi + 0x38]
mov dword [rsp + 0xa0], edx
xor edx, edx
mov cl, dl
jmp 0x140130815
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov eax, dword [rdi + rcx*4 + 0xd4]
mov dword [rsp + 0xa0], eax
lea eax, [rbp - 0xc]
test al, 0xfd
je 0x140130833
mov edx, r10d
mov rcx, rdi
call fcn.140165754
mov r8d, dword [rsp + 0x30]
mov r14d, eax
xor edx, edx
jmp 0x14013085a
test cl, cl
jne 0x140130840
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x140130850
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xd4]
mov r10d, edx
mov dword [rsp + 0xb8], edx
mov ebp, dword [rbx]
sub ebp, dword [r13 + 8]
test byte [r13 + 0x24], 1
je 0x14013094c
mov r13d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], edx
je 0x1401308aa
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x11]
call fcn.140178330
mov r10d, dword [rsp + 0xb8]
mov r15d, eax
lea ecx, [rbp + 1]
mov r9d, ebx
add ecx, r10d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
mov edx, 0x72
mov rcx, rsi
call fcn.140178330
xor r9d, r9d
test r15d, r15d
je 0x1401308e3
mov edx, r15d
mov rcx, rsi
call fcn.14017fa44
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r15d, dword [rsp + 0x30]
mov edx, 0x23
mov dword [rsp + 0x20], r9d
mov r8d, r15d
mov r9d, dword [rsp + 0x34]
mov rcx, rsi
call fcn.140178330
mov r8d, dword [r12 + 0xc]
inc eax
mov dword [rsp + 0x3c], eax
test r8d, r8d
jle 0x14013092c
mov r9d, dword [rsp + 0x38]
mov edx, 0x30
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140178330
mov r9d, ebx
mov dword [rsp + 0x20], r13d
mov r8d, r15d
mov edx, 0x7d
mov rcx, rsi
call fcn.140178330
xor r10d, r10d
mov eax, r10d
jmp 0x140130999
mov dword [rsp + 0x20], edx
mov r9d, r11d
mov edx, 0x24
mov rcx, rsi
call fcn.140178330
mov r8d, dword [r12 + 0xc]
inc eax
xor r10d, r10d
mov dword [rsp + 0x3c], eax
test r8d, r8d
jle 0x14013098f
mov r9d, dword [rsp + 0x38]
lea edx, [r10 + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140178330
xor r10d, r10d
mov r13d, dword [rsp + 0x30]
mov eax, 1
movsxd r15, dword [rsp + 0xb8]
lea r8d, [rax + rbp]
mov r9, qword [rsp + 0x48]
lea ebx, [r8 - 1]
mov dword [rsp + 0x40], r8d
mov rcx, r15
test r15d, r15d
jle 0x1401309d5
lea rdx, [r9 + 0x18]
cmp word [rdx], r10w
lea eax, [rbx + 1]
lea rdx, [rdx + 0x20]
cmovne eax, ebx
mov ebx, eax
sub rcx, 1
jne 0x1401309bf
lea eax, [r15 - 1]
movsxd rbp, eax
test eax, eax
js 0x140130a38
mov r15, rbp
lea r12d, [rax + r14]
shl r15, 5
add r15, 0x18
add r15, r9
cmp word [r15], r10w
je 0x140130a01
movzx r9d, word [r15]
dec r9d
jmp 0x140130a06
mov r9d, ebx
dec ebx
mov r8d, r13d
mov dword [rsp + 0x20], r12d
mov edx, 0x59
mov rcx, rsi
call fcn.140178330
xor r10d, r10d
dec r12d
sub r15, 0x20
sub rbp, 1
jns 0x1401309f2
mov r8d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0xb8]
mov r12d, dword [rsp + 0x44]
mov ecx, r12d
sub ecx, 0xa
je 0x140130a8c
sub ecx, 1
je 0x140130bc7
sub ecx, 1
je 0x140130b45
sub ecx, 2
je 0x140130b45
mov rbx, qword [rsp + 0xc0]
cmp ecx, 1
je 0x140130acb
mov dword [rsp + 0x20], r10d
mov rcx, rsi
cmp r12b, 9
jne 0x140130abe
mov r8d, dword [rbx + 0xc]
mov r9d, r15d
mov edx, 0x50
call fcn.140178330
mov ebp, dword [rsp + 0xa0]
mov r9d, 8
test ebp, ebp
je 0x140130c56
cmp r12b, 0xb
jne 0x140130c28
mov r8d, r15d
mov edx, r14d
mov rcx, rdi
call fcn.1401704fc
jmp 0x140130c42
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x140130a87
mov al, byte [rdi + 0x1f]
mov ebp, dword [rbx + 8]
test al, al
jne 0x140130add
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
jmp 0x140130aec
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xd4]
mov eax, ebp
mov dword [rsp + 0x20], ebx
shr eax, 0x1f
mov r9d, r15d
sub r9d, eax
mov edx, 0x5b
mov rcx, rsi
lea r8d, [rax + r14]
call fcn.140178330
mov r8d, dword [rsp + 0xa8]
mov r9d, ebx
mov rcx, rsi
test ebp, ebp
jns 0x140130b2d
mov dword [rsp + 0x20], r14d
mov edx, 0x79
jmp 0x140130a87
mov dword [rsp + 0x28], ebp
mov edx, 0x82
mov dword [rsp + 0x20], r14d
call fcn.140178444
jmp 0x140130a8c
mov r9d, r8d
mov dword [rsp + 0x20], r14d
mov r8d, r13d
mov edx, 0x59
mov rcx, rsi
call fcn.140178330
mov ebp, dword [rsp + 0xa0]
xor r13d, r13d
mov r8d, dword [rsp + 0xa8]
mov r9d, ebp
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r13 + 0x78]
call fcn.140178330
mov r8d, dword [rsp + 0xa8]
lea edx, [r13 + 0x79]
mov r9d, r14d
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.140178330
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140130a93
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea r9d, [r13 + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x140130a99
mov rbx, qword [rsp + 0xc0]
mov r9d, r15d
mov ebp, dword [rsp + 0xa0]
mov r8d, r14d
mov edx, 0x5b
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov rbx, qword [rbx + 0x18]
call fcn.140178330
mov r9d, r15d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.1401786a8
mov r8d, dword [rsp + 0xa8]
mov r9d, ebp
mov edx, 0x82
mov dword [rsp + 0x28], r15d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.140178444
jmp 0x140130a93
test r14d, r14d
je 0x140130c42
cmp byte [rdi + 0x1f], r9b
jae 0x140130c56
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd4], r14d
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x140130c56
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd4], ebp
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.140182144
mov rbx, qword [rsp + 0xb0]
xor edi, edi
mov r9d, dword [rsp + 0x3c]
mov rcx, rsi
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], edi
mov dl, byte [rbx + 0x24]
not dl
and edx, 1
lea edx, [rdx*2 + 3]
call fcn.140178330
mov r8d, dword [rbx + 0x10]
test r8d, r8d
je 0x140130cac
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x41]
mov rcx, rsi
call fcn.140178330
mov edx, dword [rsp + 0x34]
mov rcx, rsi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140182144