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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov ebx, r8d
lea rsi, [rcx + 0xb4]
mov r15, rdx
mov rdi, rcx
xor r13d, r13d
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [rbp + 0x2a0], r13
mov r8d, 0x348
mov r14, r9
call sub.VCRUNTIME140.dll_memset
mov r12, qword [rbp + 0x2c8]
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rbp + 0x248], rax
mov r8d, 0xb4
mov dword [rbp + 0x250], 0x1000
mov rcx, rdi
mov qword [rbp + 0x258], rdi
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x260], r13d
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x2c8]
mov dword [rdi + 0x20], 0xff9c0000
lea r8, [rbp + 0x2a0]
mov dword [rdi + 0x24], 0x320000
mov edx, ebx
mov dword [rdi + 0x2c], 2
mov rcx, r15
mov dword [rdi + 0x30], 0x10000
mov dword [rdi + 0x3c], 0x10000
mov dword [rdi + 0x9c], 0x2210
mov dword [rdi], 0xffff
mov dword [rdi + 4], 0xffff
mov dword [rdi + 8], 0xffff
mov dword [rdi + 0xc], 0xffff
mov dword [rdi + 0x10], 0xffff
mov dword [rdi + 0x14], 0xffff
mov dword [rdi + 0x80], 0xffff
mov dword [rdi + 0x84], 0xffff
mov dword [rdi + 0x88], 0xffff
mov dword [rdi + 0xac], 0xffff
call fcn.180185280
mov ebx, eax
test eax, eax
jne 0x18018709f
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rsp + 0x20]
mov r8d, dword [rbp + 0x2c8]
add r8, rdx
call fcn.180186080
mov ebx, eax
cmp qword [r15 + 0x28], r13
jne 0x1801870b4
mov rcx, qword [r15]
lea rdx, [rbp + 0x2a0]
call fcn.18015ece0
test ebx, ebx
jne 0x180187218
cmp dword [rdi + 0x84], 0xffff
jne 0x180187218
mov r15d, dword [rbp + 0x2c0]
cmp dword [rdi + 0x74], r13d
je 0x1801871c5
cmp dword [rdi + 0x78], r13d
je 0x1801871c5
xor edx, edx
mov r8d, 0x168
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsi + 0xc8], 7
mov r8d, 0x348
mov dword [rsi + 0xcc], 1
lea rcx, [rsp + 0x20]
mov dword [rsi + 0x14c], 0xffffffff
mov dword [rsi + 0x154], 0xf5c
mov dword [rsi + 0xc4], 0x27a000
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rdi + 0x74]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x248], rax
add edx, r15d
movzx eax, word [rdi + 0xb0]
mov rcx, r14
mov word [rbp + 0x260], ax
movzx eax, word [rdi + 0xb2]
mov word [rbp + 0x262], ax
mov dword [rbp + 0x250], 0x2000
mov qword [rbp + 0x258], rsi
mov qword [rsp + 0x20], r12
call fcn.18015ed30
mov ebx, eax
test eax, eax
jne 0x180187218
mov edx, dword [rdi + 0x78]
mov rcx, r14
call fcn.18015e0e0
mov ebx, eax
test eax, eax
jne 0x180187218
mov r8, qword [r14 + 0x40]
lea rcx, [rsp + 0x20]
mov rdx, qword [r14 + 0x38]
call fcn.180186080
mov rcx, r14
mov ebx, eax
call fcn.18015e200
test ebx, ebx
jne 0x180187218
and byte [rsi], 0xfe
mov eax, dword [rsi + 0x15c]
test eax, eax
je 0x180187218
mov edx, dword [rdi + 0x74]
mov rcx, r14
add edx, eax
add edx, r15d
call fcn.18015ed30
mov ebx, eax
test eax, eax
jne 0x180187218
mov r8b, 1
lea rcx, [rdi + 0x220]
mov rdx, r14
call fcn.180185700
mov ebx, eax
test eax, eax
jne 0x180187218
lea rdx, [rdi + 0x250]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rdi + 0x220]
call fcn.1801854f0
mov ebx, eax
lea r11, [rsp + 0x370]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret