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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov qword [rsp + 0x58], r12
mov r12d, edx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14006b579
call qword [0x1402fd098]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x14006b591
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x14006b591
call fcn.140074840
mov rdx, qword [rsi]
test rdx, rdx
je 0x14006b5ab
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14006b5ab
call qword [0x1402fd098]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x14006b5be
lea eax, [rbx - 5]
cmp eax, 1
ja 0x14006bb2f
mov rcx, qword [rsi + 0x28]
mov r9, qword [rsi + 8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], r13
mov r8, qword [rcx + 8]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x20], 0
mov rax, qword [r8]
mov qword [rsp + 0x30], rax
mov rax, qword [r9 + 8]
mov r13, qword [rax]
mov qword [rsp + 0x28], r13
test rdx, rdx
je 0x14006b60d
cmp byte [r8 + 0x24], 2
jne 0x14006b60d
mov ebx, 5
jmp 0x14006b657
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x14006b640
lea edx, [rbx + 2]
mov rcx, r9
call fcn.1400ce4e0
mov ebx, eax
test eax, eax
jne 0x14006b657
mov rcx, qword [rsi + 8]
lea r8, [rsi + 0x10]
lea edx, [rax + 1]
mov dword [rsi + 0x14], 1
call fcn.1400cf930
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x14006b657
xor edx, edx
call fcn.1400ce4e0
mov ebx, eax
mov dword [rsp + 0x20], 1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov r8d, dword [rcx + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0x90], r8d
mov edx, dword [rax + 0x34]
mov rax, qword [rax]
mov dword [rsp + 0x98], edx
movzx edi, byte [rax + 9]
mov byte [rsp + 0x80], dil
test ebx, ebx
jne 0x14006b6a1
cmp dil, 5
jne 0x14006b6a1
cmp r8d, edx
mov eax, 8
cmovne ebx, eax
mov r15d, dword [rcx + 0x40]
xor r14d, r14d
mov qword [rsp + 0x88], rbp
test r12d, r12d
js 0x14006b6ba
cmp r14d, r12d
jge 0x14006b726
mov ebp, dword [rsi + 0x18]
cmp ebp, r15d
ja 0x14006b726
test ebx, ebx
jne 0x14006b76b
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1402fd1c0]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x14006b71e
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 2]
lea r8, [rsp + 0x38]
mov edx, ebp
call fcn.1400f2650
mov ebx, eax
test eax, eax
jne 0x14006b71e
mov rdi, qword [rsp + 0x38]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.140071570
mov rcx, rdi
mov ebx, eax
call fcn.1400f4b30
inc dword [rsi + 0x18]
inc r14d
jmp 0x14006b6b0
test ebx, ebx
jne 0x14006b76b
mov eax, r15d
mov dword [rsi + 0x38], r15d
sub eax, dword [rsi + 0x18]
inc eax
mov dword [rsi + 0x34], eax
cmp dword [rsi + 0x18], r15d
ja 0x14006b774
cmp dword [rsi + 0x3c], ebx
jne 0x14006bae2
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x14006bae2
cmp ebx, 0x65
jne 0x14006bae2
test r15d, r15d
jne 0x14006b7d1
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r15b
je 0x14006b794
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r15b
jne 0x14006b794
mov rcx, rdi
call fcn.140074840
mov rax, qword [rdi + 8]
mov dword [rax + 0x40], 0
mov rcx, qword [rdi + 8]
call fcn.1400b21b0
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x14006b7be
sub dword [rdi + 0x14], 1
jne 0x14006b7be
mov rcx, rdi
call fcn.14011bdb0
mov r15d, 1
test ebx, ebx
je 0x14006b7d1
cmp ebx, 0x65
jne 0x14006bae2
mov r8d, dword [rsi + 0x10]
mov edx, 1
mov rcx, qword [rsi + 8]
inc r8d
call fcn.1400d1d70
mov ebx, eax
test eax, eax
jne 0x14006bae2
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006b7fd
call fcn.1400fbba0
cmp byte [rsp + 0x80], 5
jne 0x14006b81f
mov rcx, qword [rsi + 8]
mov edx, 2
call fcn.1400d1b10
mov ebx, eax
test eax, eax
jne 0x14006bae2
movsxd r9, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
cmp r9d, ecx
jge 0x14006baaa
mov rdi, qword [rsp + 0x28]
mov eax, ecx
cdq
mov r13, r9
idiv r9d
mov r12, qword [rdi + 0x48]
mov r14d, dword [rdi + 0x1c]
mov ecx, eax
dec eax
movsxd r9, r15d
add eax, r15d
cdq
idiv ecx
xor edx, edx
mov r8d, eax
mov rax, qword [rsi + 8]
imul r9, r13
mov rcx, qword [rax + 8]
lea ebp, [r8 - 1]
mov eax, dword [0x1402fd1c0]
mov qword [rsp + 0x38], r9
div dword [rcx + 0x34]
inc eax
cmp r8d, eax
cmovne ebp, r8d
cmp ebp, r14d
ja 0x14006b902
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1402fd1c0]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x14006b8f7
xor r9d, r9d
lea r8, [rsp + 0x80]
mov edx, ebp
mov rcx, rdi
call fcn.1400f2650
mov ebx, eax
test eax, eax
jne 0x14006b8f7
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rdi
jbe 0x14006b8e3
call fcn.1400b5c70
jmp 0x14006b8e8
call fcn.1400b6f20
mov rcx, rdi
mov ebx, eax
call fcn.1400f4b30
mov rdi, qword [rsp + 0x28]
inc ebp
test ebx, ebx
je 0x14006b886
jmp 0x14006bae2
test ebx, ebx
jne 0x14006b916
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rdi
call fcn.1400f3090
mov ebx, eax
mov ecx, dword [0x1402fd1c0]
mov eax, dword [rsp + 0x98]
mov ebp, dword [rsp + 0x90]
add eax, ecx
movsxd r15, eax
cmp r15, qword [rsp + 0x38]
cmovge r15, qword [rsp + 0x38]
lea eax, [rcx + rbp]
movsxd r14, eax
test ebx, ebx
jne 0x14006bae2
nop dword [rax + rax]
cmp r14, r15
jge 0x14006ba31
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x80]
mov rax, r14
mov qword [rsp + 0x80], 0
cqo
xor r9d, r9d
idiv r13
lea edx, [rax + 1]
call fcn.1400f2650
mov rdi, qword [rsp + 0x80]
mov ebx, eax
test eax, eax
jne 0x14006b9a9
mov rax, qword [r12]
mov r9, r14
mov rdx, qword [rdi + 8]
mov r8d, ebp
mov rcx, r12
call qword [rax + 0x18]
mov ebx, eax
test rdi, rdi
je 0x14006ba21
test byte [rdi + 0x2c], 0x40
mov rbp, qword [rdi + 0x20]
je 0x14006b9f4
dec dword [rbp + 0x98]
mov rax, qword [rbp + 0xa8]
mov qword [rdi + 0x18], rax
movsxd rax, dword [rbp + 0xbc]
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0xa8], rdi
mov edx, dword [rdi + 0x28]
mov r8, qword [rdi + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x14006b9fc
mov rcx, rdi
call fcn.1400f58a0
cmp dword [rbp + 0x98], 0
jne 0x14006ba1a
mov rax, qword [rbp + 0x130]
cmp dword [rax + 0x18], 0
jne 0x14006ba1a
mov rcx, rbp
call fcn.1400b5a00
mov ebp, dword [rsp + 0x90]
add r14, r13
test ebx, ebx
je 0x14006b950
jmp 0x14006bae2
mov rax, qword [r12]
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x14006ba67
mov rdi, qword [rsp + 0x38]
cmp qword [rsp + 0x80], rdi
jle 0x14006ba67
mov rax, qword [r12]
mov rdx, rdi
mov rcx, r12
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x14006bae2
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14006ba94
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x14006ba90
xor ebx, ebx
jmp 0x14006ba94
test eax, eax
jne 0x14006bac7
cmp byte [rdi + 0xb], 0
jne 0x14006bac7
mov rcx, qword [rdi + 0x48]
movzx edx, byte [rdi + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14006bac5
mov eax, r9d
xor r8d, r8d
cdq
idiv ecx
xor edx, edx
mov rcx, r13
imul eax, r15d
mov dword [r13 + 0x1c], eax
call fcn.1400f3090
mov ebx, eax
test ebx, ebx
jne 0x14006bae2
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.1400ceea0
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
cmp dword [rsp + 0x20], 0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x88]
je 0x14006bb1b
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1400cedf0
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1400ceea0
mov rdx, qword [rsi]
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rsi + 0x30], ebx
mov r12, qword [rsp + 0x58]
test rdx, rdx
je 0x14006bb48
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14006bb48
call qword [0x1402fd0a8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x14006bb5d
sub dword [rcx + 0x14], 1
jne 0x14006bb5d
call fcn.14011bdb0
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14006bb75
call qword [0x1402fd0a8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret