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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
push rbp
sub rsp, 0x78
mov rax, qword [rdx + 0x30]
mov rbx, qword [rcx + 0x10]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov rdi, rcx
mov qword [r11 - 0x38], r14
mov r14, rdx
mov qword [r11 - 0x40], r15
xor r15d, r15d
mov ebp, r15d
mov dword [rsp + 0xa0], r15d
mov byte [rdx], 1
mov dword [rsp + 0xa8], r15d
mov qword [rsp + 0x38], rax
cmp dword [rdx + 0x38], r15d
jle 0x18014d256
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
nop dword [rax + rax]
mov rax, qword [rax]
mov r13d, r15d
mov r14, qword [rax + 0x20]
test r14, r14
je 0x18014cede
mov r12d, dword [r14]
mov ecx, dword [rdi + 0x48]
mov ebp, dword [rdi + 0x4c]
mov dword [rsp + 0x90], ebp
cmp r12d, ecx
jg 0x18014ceb3
lea eax, [r12 + rbp]
sub ecx, r12d
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x48], ecx
jmp 0x18014cec6
mov eax, dword [rdi + 0x58]
lea ebp, [rax + 1]
add eax, r12d
mov dword [rdi + 0x58], eax
mov dword [rsp + 0x90], ebp
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8d, ebp
mov rdx, r14
mov rcx, rdi
call fcn.1800fcc80
jmp 0x18014ceec
mov r12d, r15d
mov dword [rsp + 0x90], r15d
mov ebp, r15d
mov rdx, qword [rsp + 0x38]
cmp dword [rdx + 0x14], r15d
jl 0x18014cf73
mov rsi, qword [rbx + 0x30]
movsxd r13, dword [rsi + 0x80]
lea eax, [r13 + 1]
mov dword [rsi + 0x80], eax
lea eax, [r13 - 1]
test r13d, eax
jne 0x18014cf3f
mov rdx, qword [rsi + 0x88]
lea eax, [r13*2 + 1]
mov rcx, qword [rsi]
movsxd r8, eax
shl r8, 2
call fcn.1800f8550
mov rdx, qword [rsp + 0x38]
mov qword [rsi + 0x88], rax
mov rcx, qword [rsi + 0x88]
test rcx, rcx
je 0x18014cf53
mov dword [rcx + r13*4], 0xffffffff
mov edx, dword [rdx + 0x14]
not r13d
mov r8d, r13d
mov dword [rsp + 0x20], ebp
mov r9d, 1
mov rcx, rdi
call fcn.18007e740
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + 8]
test byte [rax + 2], 0x20
je 0x18014d07b
mov r14, qword [r14 + 8]
mov rbp, r15
mov esi, r15d
nop dword [rax + rax]
cmp esi, r12d
jge 0x18014cfb0
mov rdx, qword [r14]
mov rcx, rdi
call fcn.1800fedd0
inc esi
add r14, 0x28
mov rbp, rax
test rax, rax
je 0x18014cf90
jmp 0x18014cfbc
test rbp, rbp
jne 0x18014cfbc
mov rax, qword [rdi]
mov rbp, qword [rax + 0x10]
mov r8d, dword [rsp + 0xa0]
test r8d, r8d
jne 0x18014cfe6
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x2c], r15d
je 0x18014cfe6
inc dword [rdi + 0x58]
mov r8d, dword [rdi + 0x58]
mov dword [rsp + 0xa0], r8d
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x18014d00b
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov rcx, rbx
lea edx, [r9 + 0x22]
call fcn.1800cfb00
mov edx, eax
jmp 0x18014d033
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x22
mov byte [rax + rcx*8 + 3], r15b
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
cmp byte [rax + 0x55], r15b
jne 0x18014d07b
test edx, edx
jns 0x18014d045
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], r15b
lea rdx, [rax + rcx*8]
je 0x18014d06e
mov r9d, 0xfffffffc
mov r8, rbp
mov rcx, rbx
call fcn.18014e490
jmp 0x18014d07b
test rbp, rbp
je 0x18014d07b
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfc
mov rax, qword [rsp + 0x38]
movsxd rdx, dword [rbx + 0x3c]
mov r14d, dword [rsp + 0x90]
mov rsi, qword [rax + 8]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], edx
jg 0x18014d0b9
mov dword [rsp + 0x20], r8d
mov r9d, r14d
xor r8d, r8d
mov edx, 0x8f
mov rcx, rbx
call fcn.1800cfb00
mov edx, eax
jmp 0x18014d0e6
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x8f
mov byte [rax + rcx*8 + 3], r15b
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r15
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], r15b
je 0x18014d104
test rsi, rsi
je 0x18014d143
test byte [rsi + 2], 0x10
je 0x18014d143
mov rdx, rsi
call fcn.1800f83c0
jmp 0x18014d143
test edx, edx
jns 0x18014d10d
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], r15b
lea rdx, [rax + rcx*8]
je 0x18014d136
mov r9d, 0xfffffffb
mov r8, rsi
mov rcx, rbx
call fcn.18014e490
jmp 0x18014d143
test rsi, rsi
je 0x18014d143
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], 0xfb
mov rax, qword [rbx]
cmp byte [rax + 0x55], r15b
jne 0x18014d15d
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], r12b
mov r8d, r12d
mov edx, r14d
mov rcx, rdi
call fcn.1800fc570
mov r8d, r12d
mov edx, r14d
call fcn.1800fc570
cmp r12d, dword [rdi + 0x48]
jle 0x18014d184
mov dword [rdi + 0x48], r12d
mov dword [rdi + 0x4c], r14d
test r13d, r13d
je 0x18014d1b6
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x88]
test r8, r8
je 0x18014d1a6
mov eax, dword [rbx + 0x3c]
not r13d
movsxd rcx, r13d
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, rdi
dec eax
mov dword [rdx + 0x6c], eax
call fcn.1800fc120
mov ecx, dword [rsp + 0xa8]
mov rax, qword [rsp + 0x38]
inc ecx
mov r14, qword [rsp + 0x98]
add rax, 0x18
mov dword [rsp + 0xa8], ecx
mov qword [rsp + 0x38], rax
cmp ecx, dword [r14 + 0x38]
jl 0x18014ce80
mov edx, dword [rsp + 0xa0]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
test edx, edx
je 0x18014d253
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ebp
jg 0x18014d223
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x2d]
call fcn.1800cfb00
mov ebp, eax
jmp 0x18014d256
lea eax, [rbp + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
mov word [rax + rcx*8], 0x2d
mov byte [rax + rcx*8 + 3], r15b
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
jmp 0x18014d256
mov ebp, r15d
mov rcx, rdi
call fcn.1800fc120
mov rsi, qword [r14 + 0x20]
cmp dword [r14 + 0x2c], r15d
jle 0x18014d28c
add rsi, 0x18
nop dword [rax]
mov r8d, dword [rsi - 4]
mov rcx, rdi
mov rdx, qword [rsi]
call fcn.1800fcab0
inc r15d
lea rsi, [rsi + 0x20]
cmp r15d, dword [r14 + 0x2c]
jl 0x18014d270
mov rcx, rdi
mov byte [r14], 0
call fcn.1800fc120
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
test ebp, ebp
je 0x18014d2f3
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x3c]
dec ecx
mov dword [rax + 0x6c], ecx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x3c]
cmp byte [rax + 0x55], 0
je 0x18014d2d9
lea rax, [0x1801eea88]
mov dword [rax + 8], edx
add rsp, 0x78
pop rbp
pop rbx
ret
lea eax, [rdx - 1]
test ebp, ebp
cmovns eax, ebp
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
add rsp, 0x78
pop rbp
pop rbx
ret