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

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
xor r14d, r14d
cmp byte [rcx + 0x12], 2
mov r12d, edx
mov rdi, rcx
mov esi, r14d
mov r13d, r14d
jae 0x180186699
xor eax, eax
jmp 0x1801868a4
cmp byte [rcx + 0xd], sil
je 0x180186718
cmp byte [rcx + 0x18], sil
jne 0x1801866b4
mov rcx, qword [rcx + 0x60]
call fcn.180189c00
mov qword [rdi + 0x60], r14
jmp 0x180186709
mov qword [rsp + 0x48], rbp
mov rbp, qword [rcx + 0xc8]
test rbp, rbp
je 0x180186704
mov qword [rsp + 0x40], rbx
nop
nop
movsxd rax, dword [rdi + 0x40]
mov byte [rax + rbp + 0x78], sil
mov qword [rax + rbp + 0x70], r14
mov rcx, qword [rax + rbp + 0x60]
lea rbx, [rax + rbp + 0x58]
mov rbp, qword [rax + rbp + 0x68]
mov qword [rbx + 0x10], r14
call fcn.180169b50
test rbp, rbp
mov qword [rbx + 8], r14
jne 0x1801866d0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov dword [rdi + 0x3c], r14d
mov byte [rdi + 0xd], sil
mov qword [rdi + 0xc8], r14
cmp byte [rdi + 0xc], sil
mov byte [rdi + 0xe], sil
je 0x180186738
cmp byte [rdi + 0x1b], sil
jne 0x180186738
mov rcx, qword [rdi + 0x98]
call fcn.1801800b0
mov byte [rdi + 0xc], sil
cmp byte [rdi + 8], sil
je 0x180186848
cmp byte [rdi + 0x1b], sil
jne 0x180186774
cmp byte [rdi + 0x1c], 1
je 0x180186774
mov rcx, qword [rdi + 0x90]
call fcn.1801800b0
mov rdx, qword [rdi + 0x70]
mov rcx, qword [rdi]
xor r8d, r8d
mov byte [rdi + 8], sil
call fcn.1801801c0
mov esi, eax
jmp 0x1801867fe
cmp qword [rdi + 0xd8], rsi
je 0x1801867c9
test r12d, r12d
je 0x180186794
mov rcx, qword [rdi + 0x90]
xor edx, edx
call fcn.180180100
mov esi, eax
jmp 0x1801867b0
mov rcx, qword [rdi + 0x90]
xor r9d, r9d
lea rdx, [0x1801e5ed8]
lea r8d, [r9 + 0x1c]
call fcn.1801800f0
mov esi, eax
test esi, esi
jne 0x1801867c9
movzx edx, byte [rdi + 0x11]
mov rcx, qword [rdi + 0x90]
or edx, 0x10
call fcn.180180110
mov esi, eax
movzx eax, sil
cmp eax, 0xd
je 0x1801867dc
cmp eax, 0xa
je 0x1801867dc
cmp eax, 0xb
jne 0x1801867f3
cmp byte [rdi + 0x12], r13b
mov dword [rdi + 0x24], esi
jne 0x1801867f3
cmp dword [rdi + 0x4c], r13d
jne 0x1801867f3
mov rcx, rdi
call fcn.180184be0
mov qword [rdi + 0xd8], r14
mov byte [rdi + 9], r13b
mov rcx, qword [rdi + 0x58]
call fcn.180189c00
mov rax, qword [rdi + 0xc0]
mov qword [rdi + 0x58], r14
test rax, rax
je 0x180186839
nop
nop
nop
mov byte [rax + 0x38], r13b
mov byte [rax + 0x39], r13b
mov byte [rax + 0x3a], r13b
mov byte [rax + 0x3b], r13b
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x180186820
mov qword [rdi + 0xd0], r14
mov byte [rdi + 0x16], r13b
mov dword [rdi + 0x34], r14d
cmp byte [rdi + 0x1b], r13b
jne 0x18018686d
mov rcx, qword [rdi + 0x88]
cmp qword [rcx], r13
je 0x180186867
mov edx, 1
call fcn.180180140
mov r13d, eax
mov byte [rdi + 0x12], 1
jmp 0x180186877
cmp byte [rdi + 0x12], 5
jne 0x180186877
mov byte [rdi + 0x12], 4
mov rax, qword [rdi + 0xa8]
test esi, esi
mov dword [rdi + 0x2c], r14d
cmove esi, r13d
mov qword [rdi + 0xb8], rax
mov byte [rdi + 0x19], r14b
mov byte [rdi + 0x15], r14b
mov dword [rdi + 0x28], 0xffffffff
mov byte [rdi + 0x1d], r14b
mov eax, esi
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
ret