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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r14d, r8d
mov rdi, rcx
mov eax, dword [0x180018a48]
mov ecx, dword [0x180018a44]
lea ebx, [rax - 1]
imul ebx, eax
mov eax, 0xffffffff
xor ebx, eax
or ebx, 0xfffffffe
cmp ebx, eax
sete bl
setne r8b
cmp ecx, 0xa
setl al
cmp ecx, 9
setg cl
cmp al, bl
jne 0x18000e1d2
or cl, r8b
xor cl, 1
jne 0x18000e1d2
jmp 0x18000e1d0
cmp edx, 1
jne 0x18000e1e0
mov rax, qword [0x1800173b0]
jmp 0x18000e1f1
test rdi, rdi
jne 0x18000e1ef
mov ecx, edx
call fcn.18000e44c
mov rdi, rax
xor eax, eax
test rax, rax
sete cl
test rdi, rdi
setne dl
cmp cl, dl
jne 0x18000e2df
test rdi, rdi
je 0x18000e2df
cmp byte [rdi], 0
je 0x18000e242
mov eax, dword [0x180018a38]
lea ecx, [rax - 1]
imul ecx, eax
mov ebp, 0xffffffff
xor ecx, ebp
or ecx, 0xfffffffe
cmp ecx, ebp
sete al
cmp dword [0x180018a34], 0xa
setl cl
test cl, al
jne 0x18000e249
xor cl, al
je 0x18000e29e
jmp 0x18000e249
xor eax, eax
jmp 0x18000e2df
xor ecx, ecx
mov edx, 1
mov r8d, 0x18d1ea71
mov r9d, 0x2b
call fcn.18000e5ac
mov rcx, rdi
call rax
mov ecx, dword [0x180018a38]
mov esi, dword [0x180018a34]
lea edx, [rcx - 1]
imul edx, ecx
xor edx, ebp
or edx, 0xfffffffe
cmp edx, ebp
setne r8b
sete bl
cmp esi, 9
setg dl
cmp esi, 0xa
setl cl
xor cl, bl
jne 0x18000e2bd
or dl, r8b
xor dl, 1
jne 0x18000e2bd
xor ecx, ecx
mov edx, 1
mov r8d, 0x18d1ea71
mov r9d, 0x2b
call fcn.18000e5ac
mov rcx, rdi
call rax
jmp 0x18000e249
test rax, rax
jne 0x18000e2df
xor ecx, ecx
mov edx, 1
mov r8d, 0x84161500
mov r9d, 2
call fcn.18000e5ac
mov rcx, rdi
call rax
test r14d, r14d
je 0x18000e2f9
mov rcx, rax
mov edx, r14d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp 0x18000e305
nop
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov r15d, dword [rcx + rax + 0x88]
mov edx, dword [rcx + rax + 0x8c]
lea r13, [rcx + r15]
cmp edi, 0x10000
jae 0x18000e345
sub edi, dword [r13 + 0x10]
jns 0x18000e3ce
jmp 0x18000e3b6
mov ebp, dword [r13 + 0x18]
test ebp, ebp
je 0x18000e3b6
mov qword [rsp + 0x30], rdx
mov ebx, dword [r13 + 0x20]
mov eax, dword [r13 + 0x24]
mov qword [rsp + 0x28], rax
mov eax, dword [0x180018a40]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x180018a3c], 0xa
setl r12b
mov ecx, r12d
and cl, al
xor r12b, al
or r12b, cl
add rbx, rsi
xor r14d, r14d
test r12b, r12b
je 0x18000e3ba
mov ecx, dword [rbx + r14*4]
add rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.18000dcb0
cmp eax, edi
je 0x18000e3bc
inc r14
cmp r14d, ebp
jb 0x18000e391
xor esi, esi
jmp 0x18000e408
jmp 0x18000e3ba
mov rax, qword [rsp + 0x28]
add rax, rsi
movzx edi, word [rax + r14*2]
mov rdx, qword [rsp + 0x30]
mov eax, dword [r13 + 0x1c]
add rax, rsi
mov ecx, edi
mov eax, dword [rax + rcx*4]
add rsi, rax
cmp eax, r15d
jbe 0x18000e408
movabs rax, 0x1e1098ab7cd1901e
mov rcx, rsi
add rcx, rax
sub rcx, r13
sub rcx, rax
cmp rcx, rdx
jae 0x18000e408
mov rcx, rsi
call fcn.18000df63
mov rsi, rax
mov eax, dword [0x180018a40]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, 0xffffffff
xor ecx, eax
or ecx, 0xfffffffe
cmp ecx, eax
sete al
cmp dword [0x180018a3c], 0xa
setl cl
test cl, al
jne 0x18000e437
xor cl, al
jne 0x18000e437
jmp 0x18000e435
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret