Function at 0x18006e260
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 0x18006e289
call qword [0x1801e59a8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x18006e2a1
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x18006e2a1
call fcn.18007b390
mov rdx, qword [rsi]
test rdx, rdx
je 0x18006e2bb
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18006e2bb
call qword [0x1801e59a8]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x18006e2ce
lea eax, [rbx - 5]
cmp eax, 1
ja 0x18006e867
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 + 0x98], 0
mov rax, qword [r8]
mov qword [rsp + 0x28], rax
mov rax, qword [r9 + 8]
mov r10, qword [rax]
mov qword [rsp + 0x20], r10
test rdx, rdx
je 0x18006e320
cmp byte [r8 + 0x24], 2
jne 0x18006e320
mov ebx, 5
jmp 0x18006e36d
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x18006e353
lea edx, [rbx + 2]
mov rcx, r9
call fcn.1800efb00
mov ebx, eax
test eax, eax
jne 0x18006e36d
mov rcx, qword [rsi + 8]
lea r8, [rsi + 0x10]
lea edx, [rax + 1]
mov dword [rsi + 0x14], 1
call fcn.1800f0fe0
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x18006e36d
xor edx, edx
call fcn.1800efb00
mov ebx, eax
mov dword [rsp + 0x98], 1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov edx, dword [rcx + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0x80], edx
mov edi, dword [rax + 0x34]
mov rax, qword [rax]
mov dword [rsp + 0x90], edi
movzx r13d, byte [rax + 9]
test ebx, ebx
jne 0x18006e3ad
cmp r13b, 5
jne 0x18006e3ad
cmp edx, edi
mov eax, 8
cmovne ebx, eax
mov r15d, dword [rcx + 0x40]
xor r14d, r14d
mov qword [rsp + 0x88], rbp
nop dword [rax]
test r12d, r12d
js 0x18006e3ca
cmp r14d, r12d
jge 0x18006e436
mov ebp, dword [rsi + 0x18]
cmp ebp, r15d
ja 0x18006e436
test ebx, ebx
jne 0x18006e47b
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1801e5ad0]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x18006e42e
mov rcx, qword [rsp + 0x28]
lea r9d, [rbx + 2]
lea r8, [rsp + 0x30]
mov edx, ebp
call fcn.18011f2d0
mov ebx, eax
test eax, eax
jne 0x18006e42e
mov rdi, qword [rsp + 0x30]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.180077c80
mov rcx, rdi
mov ebx, eax
call fcn.180120c90
inc dword [rsi + 0x18]
inc r14d
jmp 0x18006e3c0
test ebx, ebx
jne 0x18006e47b
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 0x18006e484
cmp dword [rsi + 0x3c], ebx
jne 0x18006e817
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 0x18006e817
cmp ebx, 0x65
jne 0x18006e817
test r15d, r15d
jne 0x18006e4e1
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r15b
je 0x18006e4a4
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r15b
jne 0x18006e4a4
mov rcx, rdi
call fcn.18007b390
mov rax, qword [rdi + 8]
mov dword [rax + 0x40], 0
mov rcx, qword [rdi + 8]
call fcn.1800d99b0
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x18006e4ce
sub dword [rdi + 0x14], 1
jne 0x18006e4ce
mov rcx, rdi
call fcn.18014cdf0
mov r15d, 1
test ebx, ebx
je 0x18006e4e1
cmp ebx, 0x65
jne 0x18006e817
mov r8d, dword [rsi + 0x10]
mov edx, 1
mov rcx, qword [rsi + 8]
inc r8d
call fcn.1800f3320
mov ebx, eax
test eax, eax
jne 0x18006e817
mov rcx, qword [rsi]
test rcx, rcx
je 0x18006e50d
call fcn.180128050
cmp r13b, 5
jne 0x18006e52b
mov rcx, qword [rsi + 8]
mov edx, 2
call fcn.1800f3060
mov ebx, eax
test eax, eax
jne 0x18006e817
movsxd r9, dword [rsp + 0x80]
mov edi, dword [rsp + 0x90]
cmp r9d, edi
jge 0x18006e7db
mov eax, edi
mov r13, r9
mov rdi, qword [rsp + 0x20]
cdq
idiv r9d
mov r12, qword [rdi + 0x48]
mov r14d, dword [rdi + 0x20]
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 [0x1801e5ad0]
mov qword [rsp + 0x30], r9
div dword [rcx + 0x34]
inc eax
cmp r8d, eax
cmovne ebp, r8d
cmp ebp, r14d
ja 0x18006e63b
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1801e5ad0]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x18006e62c
xor r9d, r9d
lea r8, [rsp + 0x38]
mov edx, ebp
mov rcx, rdi
call fcn.18011f2d0
mov ebx, eax
test eax, eax
jne 0x18006e62c
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x20]
mov ebx, dword [rcx + 0x30]
test ebx, ebx
jne 0x18006e61f
test byte [rdi + 0x2c], 4
je 0x18006e600
mov eax, dword [rdi + 0x28]
cmp dword [rcx + 0x20], eax
jb 0x18006e600
cmp dword [rcx + 0x80], ebx
je 0x18006e5fc
mov rcx, rdi
call fcn.18014be20
jmp 0x18006e61d
xor ebx, ebx
jmp 0x18006e61f
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rdi
jbe 0x18006e618
call fcn.1800dca40
jmp 0x18006e61d
call fcn.1800ddcd0
mov ebx, eax
mov rcx, rdi
call fcn.180120c90
mov rdi, qword [rsp + 0x20]
inc ebp
test ebx, ebx
je 0x18006e592
jmp 0x18006e817
test ebx, ebx
jne 0x18006e64f
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rdi
call fcn.18011f040
mov ebx, eax
mov ecx, dword [0x1801e5ad0]
mov eax, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x80]
add eax, ecx
movsxd r15, eax
cmp r15, qword [rsp + 0x30]
cmovge r15, qword [rsp + 0x30]
lea eax, [rcx + rbp]
movsxd r14, eax
test ebx, ebx
jne 0x18006e817
cmp r14, r15
jge 0x18006e762
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x90]
mov rax, r14
mov qword [rsp + 0x90], 0
cqo
xor r9d, r9d
idiv r13
lea edx, [rax + 1]
call fcn.18011f2d0
mov rdi, qword [rsp + 0x90]
mov ebx, eax
test eax, eax
jne 0x18006e6da
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 0x18006e752
test byte [rdi + 0x2c], 0x40
mov rbp, qword [rdi + 0x20]
je 0x18006e725
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 0x18006e72d
mov rcx, rdi
call fcn.180121bf0
cmp dword [rbp + 0x98], 0
jne 0x18006e74b
mov rax, qword [rbp + 0x130]
cmp dword [rax + 0x18], 0
jne 0x18006e74b
mov rcx, rbp
call fcn.1800dc890
mov ebp, dword [rsp + 0x80]
add r14, r13
test ebx, ebx
je 0x18006e681
jmp 0x18006e817
mov rax, qword [r12]
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x18006e798
mov rdi, qword [rsp + 0x30]
cmp qword [rsp + 0x80], rdi
jle 0x18006e798
mov rax, qword [r12]
mov rdx, rdi
mov rcx, r12
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x18006e817
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x18006e7c5
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x18006e7c1
xor ebx, ebx
jmp 0x18006e7c5
test eax, eax
jne 0x18006e7fc
cmp byte [rdi + 0xb], 0
jne 0x18006e7fc
mov rcx, qword [rdi + 0x48]
movzx edx, byte [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x18006e7fa
mov eax, r9d
xor r8d, r8d
cdq
idiv edi
mov rdi, qword [rsp + 0x20]
xor edx, edx
imul eax, r15d
mov rcx, rdi
mov dword [rdi + 0x20], eax
call fcn.18011f040
mov ebx, eax
test ebx, ebx
jne 0x18006e817
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.1800f04b0
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
cmp dword [rsp + 0x98], 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 0x18006e853
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1800f0400
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1800f04b0
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 0x18006e880
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18006e880
call qword [0x1801e59b8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x18006e895
sub dword [rcx + 0x14], 1
jne 0x18006e895
call fcn.18014cdf0
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18006e8ad
call qword [0x1801e59b8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret