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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13, qword [rcx + 0x18]
xor r15d, r15d
xor r12d, r12d
mov qword [rbp + 0x58], r15
mov qword [rbp - 0x10], r13
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
cmp r8d, 2
jb 0x18001b389
cmp r8d, dword [rcx + 0x3c]
ja 0x18001b389
test rdx, rdx
je 0x18001b138
mov rax, qword [rdx + 0x70]
lea ecx, [r15 + 1]
add word [rax + 0x36], cx
mov rax, qword [rax + 0x18]
add dword [rax + 0x18], ecx
jmp 0x18001b143
mov edx, r14d
call fcn.1800172c4
mov rbx, rax
mov rcx, qword [r13 + 0x70]
mov qword [rbp + 0x40], rbx
call fcn.180012778
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
jne 0x18001b360
mov rcx, qword [r13 + 0x50]
mov r13d, dword [rcx + 0x24]
bswap r13d
lea eax, [r13 + 1]
bswap eax
mov dword [rcx + 0x24], eax
test byte [rsi + 0x26], 4
je 0x18001b1c5
test rbx, rbx
jne 0x18001b19c
xor r9d, r9d
lea r8, [rbp + 0x40]
mov edx, r14d
mov rcx, rsi
call fcn.180017254
mov edi, eax
test eax, eax
jne 0x18001b383
mov rbx, qword [rbp + 0x40]
mov rcx, qword [rbx + 0x70]
call fcn.180012778
mov dword [rbp + 0x50], eax
mov edi, eax
test eax, eax
jne 0x18001b360
mov rax, qword [rbx + 0x48]
xor edx, edx
mov rcx, qword [rbx + 0x50]
mov r8d, dword [rax + 0x30]
call fcn.180079910
cmp byte [rsi + 0x21], r12b
je 0x18001b1f0
lea rax, [rbp + 0x50]
xor r9d, r9d
mov r8b, 2
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, rsi
call fcn.1800161a8
mov edi, dword [rbp + 0x50]
test edi, edi
jne 0x18001b360
test r13d, r13d
je 0x18001b310
mov rax, qword [rbp - 0x10]
lea r8, [rbp + 0x58]
xor r9d, r9d
mov rcx, rsi
mov rax, qword [rax + 0x50]
mov r12d, dword [rax + 0x20]
bswap r12d
mov edx, r12d
call fcn.180017254
mov r15, qword [rbp + 0x58]
mov edi, eax
test eax, eax
jne 0x18001b360
mov rax, qword [r15 + 0x50]
mov ecx, dword [rsi + 0x34]
shr ecx, 2
mov r13d, dword [rax + 4]
bswap r13d
lea eax, [rcx - 2]
cmp r13d, eax
jbe 0x18001b252
mov ecx, 0x11010
call fcn.1800765e0
mov edi, eax
jmp 0x18001b360
lea eax, [rcx - 8]
cmp r13d, eax
jae 0x18001b310
mov rcx, qword [r15 + 0x70]
call fcn.180012778
mov edi, eax
test eax, eax
jne 0x18001b360
mov rax, qword [r15 + 0x50]
lea ecx, [r13 + 1]
mov edx, r14d
bswap ecx
bswap edx
mov dword [rax + 4], ecx
lea ecx, [r13*4 + 8]
mov rax, qword [r15 + 0x50]
mov dword [rcx + rax], edx
test rbx, rbx
je 0x18001b2cb
test byte [rsi + 0x26], 4
jne 0x18001b2cb
mov rcx, qword [rbx + 0x70]
mov rdx, qword [rcx + 0x28]
cmp byte [rdx + 0x10], dil
jne 0x18001b2cb
movzx eax, word [rcx + 0x34]
test al, 2
je 0x18001b2cb
cmp dword [rdx + 0x80], edi
jne 0x18001b2cb
mov edx, 0xfffb
and ax, dx
or ax, 0x10
mov word [rcx + 0x34], ax
mov rax, qword [rsi + 0x58]
xor edi, edi
test rax, rax
jne 0x18001b2f0
mov r12d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.180006cd0
test rax, rax
je 0x18001b305
mov dword [rax], r12d
mov qword [rsi + 0x58], rax
cmp r14d, dword [rax]
ja 0x18001b360
mov edx, r14d
mov rcx, rax
call fcn.18000d3e4
jmp 0x18001b24b
mov qword [rsi + 0x58], rax
mov edi, 7
jmp 0x18001b360
test rbx, rbx
jne 0x18001b331
xor r9d, r9d
lea r8, [rbp + 0x40]
mov edx, r14d
mov rcx, rsi
call fcn.180017254
mov edi, eax
test eax, eax
jne 0x18001b383
mov rbx, qword [rbp + 0x40]
mov rcx, qword [rbx + 0x70]
call fcn.180012778
mov edi, eax
test eax, eax
jne 0x18001b360
mov rax, qword [rbx + 0x50]
bswap r12d
bswap r14d
mov dword [rax], r12d
mov rax, qword [rbx + 0x50]
and dword [rax + 4], edi
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x20], r14d
test rbx, rbx
je 0x18001b371
mov byte [rbx], 0
mov rcx, qword [rbx + 0x70]
call fcn.1800122b8
test r15, r15
je 0x18001b37f
mov rcx, qword [r15 + 0x70]
call fcn.1800122b8
mov eax, edi
jmp 0x18001b393
mov rbx, qword [rbp + 0x40]
jmp 0x18001b360
mov ecx, 0x10fda
call fcn.1800765e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret