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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2030]
mov eax, 0x2130
call fcn.180098db0
sub rsp, rax
mov rax, qword [0x1800f2780]
xor rax, rsp
mov qword [rbp + 0x2020], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
xor r14d, r14d
mov dword [rcx], r14d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
mov byte [rcx + 0x28], r14b
mov dword [rcx + 0x2c], r14d
mov qword [rcx + 0x30], r14
mov dword [rcx + 0x38], 0x10000
mov word [rcx + 0x3c], r14w
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov qword [rcx + 0x50], r14
mov qword [rcx + 0x58], r14
mov qword [rcx + 0x60], r14
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x80], r14
mov qword [rcx + 0x88], r14
mov dword [rcx + 0x90], r14d
lea rsi, [rcx + 0x98]
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov qword [rcx + 0x108], r14
mov qword [rcx + 0x110], r14
lea r15, [rcx + 0x118]
mov qword [r15], r14
mov qword [r15 + 8], r14
mov dword [rcx + 0x128], r14d
lea r13, [rcx + 0x12c]
mov dword [r13], r14d
test rdx, rdx
je 0x1800191c9
mov dword [rsi], r14d
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], 0xffffffffffffffff
mov qword [rsi + 0x28], 0xffffffffffffffff
mov qword [rsi + 0x30], 0xffffffffffffffff
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x40], 0xffffffffffffffff
mov dword [rsi + 0x48], 0xffffffff
mov dword [rsi + 0x50], r14d
mov qword [rsi + 0x54], 0x2210
mov qword [rsi + 0x5c], r14
mov qword [rsi + 0x64], r14
mov dword [rsi + 0x6c], r14d
mov qword [rcx + 0x108], r14
mov qword [rcx + 0x110], r14
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp byte [rcx + 0x3c], r14b
jne 0x180018969
mov rcx, rdx
call fcn.180007f90
mov dword [rdi + 0x38], eax
mov byte [rdi + 0x3c], 1
mov edx, 0x43464620
mov rcx, rbx
call fcn.180008090
mov rdx, rax
mov rcx, rdi
call fcn.180016f00
mov qword [rdi + 0x40], rax
mov rcx, rax
call fcn.1800029f0
mov qword [rdi + 0x30], rax
mov byte [rdi + 0x28], 0
mov rcx, rdi
call fcn.1800079d0
mov rax, qword [rdi + 0x40]
mov r12, qword [rax + 0x10]
mov qword [rbp - 0x70], r12
cmp dword [rax + 0x18], 4
jb 0x18001911c
lea rax, [0x1800bad40]
cmp r12, rax
je 0x18001911c
movzx ecx, byte [r12 + 2]
add rcx, r12
mov qword [rdi + 0x58], rcx
cmp rcx, rax
je 0x18001911c
mov rdx, rdi
call fcn.180029dc0
test al, al
je 0x18001911c
mov rcx, qword [rdi + 0x58]
call fcn.180021f80
mov edx, eax
mov r8, rdi
mov rcx, qword [rdi + 0x58]
call fcn.18000fed0
mov qword [rdi + 0x60], rax
lea rbx, [0x1800bad40]
cmp rax, rbx
je 0x18001911c
movzx r8d, byte [rax]
mov edx, 0x100
imul r8d, edx
movzx ecx, byte [rax + 1]
add r8w, cx
je 0x18001911c
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.18001b240
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180015ea0
test al, al
je 0x18001911c
mov byte [rbp - 0x28], 0
mov dword [rbp - 0x24], r14d
lea rax, [rbp - 0x20]
mov r14d, 0x40
mov ecx, r14d
xor edx, edx
nop dword [rax + rax]
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov qword [rax - 0x18], rdx
mov qword [rax - 0x10], rdx
mov qword [rax - 8], rdx
sub rcx, 1
jne 0x180018a70
mov qword [rax], rdx
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x30], xmm1
mov dword [rbp - 0x2c], edx
mov qword [rbp + 0xfe8], rdx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180024b40
test al, al
je 0x180019119
mov edx, dword [rdi + 0xf4]
cmp edx, 2
jg 0x180018ae8
mov qword [rdi + 0x50], rbx
jmp 0x180018b0a
mov qword [rsp + 0x70], r13
lea r9, [rsp + 0x70]
mov r8, rdi
mov rcx, r12
call fcn.180010590
mov qword [rdi + 0x50], rax
cmp rax, rbx
je 0x180019119
mov dword [rdi + 0x90], 1
cmp dword [rdi + 0xdc], 0xffffffff
je 0x180018b7d
mov r8, rdi
mov edx, dword [rdi + 0xb4]
mov rcx, r12
call fcn.18000fed0
mov qword [rdi + 0x80], rax
mov r9, rax
mov r8, rdi
mov edx, dword [rdi + 0xf8]
mov rcx, r12
call fcn.180010070
mov qword [rdi + 0x88], rax
mov rdx, qword [rdi + 0x80]
cmp rdx, rbx
je 0x180019119
cmp rax, rbx
je 0x180019119
movzx ecx, byte [rdx + 1]
movzx eax, byte [rdx]
shl eax, 8
add ecx, eax
mov dword [rdi + 0x90], ecx
jmp 0x180018b8b
mov qword [rdi + 0x80], rbx
mov qword [rdi + 0x88], rbx
mov qword [rdi + 0x48], rbx
cmp dword [rdi + 0xdc], 0xffffffff
je 0x180018b9e
cmp qword [rdi + 0x50], rbx
jmp 0x180018bbb
mov edx, dword [rdi + 0xf0]
cmp edx, 1
jle 0x180018bc1
mov r8, rdi
mov rcx, r12
call fcn.180010670
mov qword [rdi + 0x48], rax
cmp rax, rbx
je 0x180019119
mov rcx, qword [rdi + 0x60]
call fcn.180021f80
mov edx, eax
mov r8, rdi
mov rcx, qword [rdi + 0x60]
call fcn.18000fed0
mov rbx, rax
mov qword [rdi + 0x68], rax
lea r13, [0x1800bad40]
cmp rax, r13
je 0x180019119
mov rcx, rax
call fcn.180021f80
mov edx, eax
mov r8, rdi
mov rcx, rbx
call fcn.18000fed0
mov qword [rdi + 0x70], rax
mov r8, rdi
mov edx, dword [rdi + 0xb0]
mov rcx, r12
call fcn.18000fed0
mov qword [rdi + 0x78], rax
cmp rax, r13
je 0x180019119
movzx ecx, byte [rax]
shl ecx, 8
movzx eax, byte [rax + 1]
add ecx, eax
mov dword [rdi + 0x128], ecx
cmp ecx, dword [rdi + 0x38]
jne 0x180019119
mov ebx, dword [rdi + 0x90]
test ebx, ebx
mov r13d, 0
cmovs ebx, r13d
xor r8d, r8d
mov edx, ebx
mov rcx, r15
call fcn.18001c260
test al, al
je 0x180019119
mov eax, dword [r15 + 4]
cmp ebx, eax
jbe 0x180018ca5
lea rcx, [rax + rax*4]
mov rax, qword [r15 + 8]
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax + rcx*8], xmm0
movups xmmword [rax + rcx*8 + 0x10], xmm0
mov qword [rax + rcx*8 + 0x20], rdx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov eax, dword [r15 + 4]
inc eax
mov dword [r15 + 4], eax
cmp eax, ebx
jb 0x180018c70
jmp 0x180018cb1
jae 0x180018cb5
mov edx, ebx
mov rcx, r15
call fcn.18002dee0
mov qword [rbp - 0x70], r12
mov dword [r15 + 4], ebx
xor ebx, ebx
mov edx, ebx
mov eax, dword [rdi + 0x90]
lea r13, [0x1800f3360]
test eax, eax
je 0x180018d37
lea r8, [0x1800bad40]
cmp edx, dword [r15 + 4]
jb 0x180018d0c
movups xmm0, xmmword [0x1800bad40]
movups xmmword [0x1800f3360], xmm0
movups xmm1, xmmword [0x1800bad50]
movups xmmword [0x1800f3370], xmm1
movsd xmm0, qword [0x1800bad60]
movsd qword [0x1800f3380], xmm0
mov rax, r13
jmp 0x180018d1a
mov eax, edx
lea rcx, [rax + rax*4]
mov rax, qword [r15 + 8]
lea rax, [rax + rcx*8]
mov dword [rax], ebx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], ebx
mov qword [rax + 0x20], r8
inc edx
mov eax, dword [rdi + 0x90]
cmp edx, eax
jb 0x180018cd5
cmp dword [rdi + 0xdc], 0xffffffff
je 0x180019011
mov r12d, ebx
test eax, eax
je 0x1800191c9
lea rsi, [0x1800b7498]
mov r8d, r12d
lea rdx, [rbp - 0x68]
mov rcx, qword [rdi + 0x80]
call fcn.18001b240
mov edx, dword [rbp - 0x58]
cmp edx, 0xffffffff
jae 0x180019119
mov r9, qword [rdi + 8]
mov r10, qword [rbp - 0x60]
mov rcx, r10
sub rcx, r9
mov eax, dword [rdi + 0x18]
cmp rcx, rax
ja 0x180018da3
mov eax, dword [rdi + 0x10]
sub eax, r10d
cmp eax, edx
jb 0x180018da3
sub dword [rdi + 0x1c], edx
cmp dword [rdi + 0x1c], 0
jle 0x180018da3
mov r11b, 1
jmp 0x180018da6
xor r11b, r11b
lea rax, str.OUT_OF_RANGE
test r11b, r11b
cmovne rax, rsi
lea rcx, [r10 + rdx]
mov r8d, dword [rdi]
inc r8d
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x48], edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r10
lea rax, str.check_range___p.._p____u_bytes__in___p.._p______s
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r8d
mov r9d, 1
xor r8d, r8d
mov rdx, r10
lea rcx, [0x1800b7448]
call fcn.180001db0
test r11b, r11b
je 0x180019119
mov byte [rbp + 0x1008], r8b
mov dword [rbp + 0x100c], ebx
lea rax, [rbp + 0x1010]
mov rcx, r14
nop dword [rax]
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
mov qword [rax - 8], rbx
sub rcx, r9
jne 0x180018e30
mov qword [rax], rbx
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0xff0], xmm0
movsd xmm1, qword [rbp - 0x58]
movsd qword [rbp + 0x1000], xmm1
mov dword [rbp + 0x1004], ebx
mov qword [rbp + 0x2018], r8
lea rax, [rbp + 0xff0]
mov qword [rsp + 0x70], rax
lea rcx, [rdi + 0x108]
call fcn.1800292c0
mov rsi, rax
xor r14d, r14d
cmp dword [rdi + 0x108], r14d
jl 0x18001911c
mov dword [rax], r14d
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], r14d
mov dword [rax + 0x24], 0xffffffff
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180024730
test al, al
je 0x18001911c
cmp r12d, dword [r15 + 4]
jb 0x180018f11
movups xmm0, xmmword [0x1800bad40]
movups xmmword [0x1800f3360], xmm0
movups xmm1, xmmword [0x1800bad50]
movups xmmword [0x1800f3370], xmm1
movsd xmm0, qword [0x1800bad60]
movsd qword [0x1800f3380], xmm0
mov r14, r13
jmp 0x180018f20
mov eax, r12d
lea rcx, [rax + rax*4]
mov rax, qword [r15 + 8]
lea r14, [rax + rcx*8]
lea r9, [rsi + 0x1c]
mov ebx, dword [r9]
mov r8, rdi
mov edx, dword [rsi + 0x18]
mov rcx, qword [rbp - 0x70]
call fcn.180010830
mov rsi, rax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], ebx
xor ebx, ebx
mov dword [rbp - 0x74], ebx
lea rdx, [0x1800bad40]
cmp rax, rdx
je 0x180019119
mov byte [rbp - 0x28], bl
mov dword [rbp - 0x24], ebx
lea rax, [rbp - 0x20]
mov ecx, 0x40
nop dword [rax]
nop dword [rax + rax]
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
mov qword [rax - 8], rbx
sub rcx, 1
jne 0x180018f70
mov qword [rax], rbx
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x30], xmm1
mov dword [rbp - 0x2c], ebx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov dword [r14], ebx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov dword [r14 + 0x18], ebx
mov qword [r14 + 0x20], rdx
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.180024940
test al, al
je 0x180019119
mov r8, rdi
mov edx, dword [r14 + 0x18]
mov rcx, rsi
call fcn.18000fed0
mov qword [r14 + 0x20], rax
inc r12d
cmp r12d, dword [rdi + 0x90]
jae 0x1800191c9
mov r14d, 0x40
jmp 0x180018d4f
cmp dword [r15 + 4], ebx
ja 0x180019045
movups xmm0, xmmword [0x1800bad40]
movups xmmword [0x1800f3360], xmm0
movups xmm1, xmmword [0x1800bad50]
movups xmmword [0x1800f3370], xmm1
movsd xmm0, qword [0x1800bad60]
movsd qword [0x1800f3380], xmm0
jmp 0x180019049
mov r13, qword [r15 + 8]
lea r9, [rsi + 0x68]
mov ebx, dword [r9]
mov r8, rdi
mov edx, dword [rsi + 0x64]
mov rcx, r12
call fcn.180010830
mov rsi, rax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], ebx
xor ecx, ecx
mov dword [rbp - 0x74], ecx
lea rdx, [0x1800bad40]
cmp rax, rdx
je 0x180019119
mov byte [rbp - 0x28], cl
mov dword [rbp - 0x24], ecx
lea rax, [rbp - 0x20]
nop word [rax + rax]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rcx
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], rcx
mov qword [rax - 0x10], rcx
mov qword [rax - 8], rcx
sub r14, 1
jne 0x180019090
mov qword [rax], r14
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x30], xmm1
mov dword [rbp - 0x2c], r14d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov dword [r13], r14d
mov qword [r13 + 8], r14
mov qword [r13 + 0x10], r14
mov dword [r13 + 0x18], r14d
mov qword [r13 + 0x20], rdx
mov rdx, r13
lea rcx, [rsp + 0x70]
call fcn.180024940
test al, al
je 0x18001911c
mov r8, rdi
mov edx, dword [r13 + 0x18]
mov rcx, rsi
call fcn.18000fed0
mov qword [r13 + 0x20], rax
jmp 0x1800191c9
xor r14d, r14d
mov rcx, rdi
call fcn.180004a90
cmp dword [rdi + 0xa0], 0
je 0x180019140
mov dword [rdi + 0xa4], r14d
mov rcx, qword [rdi + 0xa8]
call fcn.18009e600
mov qword [rdi + 0xa0], 0
mov qword [rdi + 0xa8], r14
cmp dword [rdi + 0x108], 0
je 0x180019175
xor edx, edx
lea rcx, [rdi + 0x108]
call fcn.18002dee0
mov rcx, qword [rdi + 0x110]
call fcn.18009e600
mov qword [rdi + 0x108], 0
mov qword [rdi + 0x110], r14
cmp dword [rdi + 0x118], 0
je 0x1800191aa
xor edx, edx
lea rcx, [rdi + 0x118]
call fcn.18002dee0
mov rcx, qword [rdi + 0x120]
call fcn.18009e600
mov qword [rdi + 0x118], 0
mov qword [rdi + 0x120], r14
mov rcx, qword [rdi + 0x40]
call fcn.1800028e0
mov qword [rdi + 0x40], r14
mov rax, rdi
mov rcx, qword [rbp + 0x2020]
xor rcx, rsp
call fcn.1800986c0
mov rbx, qword [rsp + 0x2180]
add rsp, 0x2130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret