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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x248
lea rdi, [rsp + 0x30]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x260]
mov rax, qword [0x180493728]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor eax, eax
test eax, eax
jne 0x1801c1128
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x8c], 0xffffffff
je 0x1801c1512
mov eax, dword [rsp + 0x278]
and eax, 8
test eax, eax
jne 0x1801c1512
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov eax, dword [rax + 4]
and eax, 0x7fff0000
test eax, eax
jne 0x1801c1512
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 0x8000
test eax, eax
jne 0x1801c1512
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x194], eax
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x198], eax
mov r9d, dword [rsp + 0x278]
mov r8d, dword [rsp + 0x270]
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1801cb7c0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0xff
cmp eax, 0x9d
jne 0x1801c13de
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x1801c13d9
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1a0], rax
xor eax, eax
mov word [rsp + 0x1b4], ax
xor eax, eax
mov word [rsp + 0x1d4], ax
xor eax, eax
mov word [rsp + 0x1f4], ax
xor eax, eax
mov word [rsp + 0x214], ax
mov rax, qword [rsp + 0x1a0]
cmp dword [rax + 0x42c], 0
jne 0x1801c125e
mov eax, dword [rsp + 0x30]
jmp 0x1801c180c
lea r9, [rsp + 0x1f4]
lea r8, [rsp + 0x1b4]
mov edx, dword [rsp + 0x270]
mov rcx, qword [rsp + 0x1a0]
call fcn.1801c0ee0
lea rax, [rsp + 0x214]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1d4]
xor r8d, r8d
mov edx, dword [rsp + 0x270]
mov rcx, qword [rsp + 0x1a0]
call fcn.1801c0f40
xor eax, eax
mov rcx, qword [rsp + 0x268]
mov word [rcx + 0x9a], ax
xor eax, eax
mov rcx, qword [rsp + 0x268]
mov word [rcx + 0x98], ax
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x34], 0
movsx eax, word [rsp + 0x1b4]
mov edx, dword [rsp + 0x194]
mov ecx, eax
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x3c], 0
movzx eax, word [rsp + 0x1f4]
mov edx, dword [rsp + 0x194]
mov ecx, eax
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x44], 0
movsx eax, word [rsp + 0x1d4]
mov edx, dword [rsp + 0x198]
mov ecx, eax
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x48], eax
movzx eax, word [rsp + 0x214]
mov edx, dword [rsp + 0x198]
mov ecx, eax
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x60], 0x62697473
mov rax, qword [rsp + 0x268]
mov byte [rax + 0x82], 1
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x90], 0
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x94], 0
xor eax, eax
jmp 0x1801c180c
jmp 0x1801c1512
cmp dword [rsp + 0x30], 0
je 0x1801c1409
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x1801c1404
mov eax, dword [rsp + 0x30]
jmp 0x1801c180c
jmp 0x1801c1512
mov rax, qword [rsp + 0x268]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x1801c150b
mov byte [rsp + 0x20], 1
mov r9d, dword [rsp + 0x278]
mov r8, qword [rsp + 0x268]
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x50]
call fcn.1801cba00
mov r9b, 1
xor r8d, r8d
mov edx, dword [rsp + 0x270]
lea rcx, [rsp + 0x50]
call fcn.1801c9bb0
lea rcx, [rsp + 0x50]
call fcn.1801cc010
mov rax, qword [rsp + 0x268]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x268]
mov ecx, dword [rsp + 0x15c]
mov dword [rax + 0x54], ecx
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x40], 0
jne 0x1801c14cd
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x50], 0
je 0x1801c14cd
mov edx, dword [rsp + 0x194]
mov rax, qword [rsp + 0x268]
mov ecx, dword [rax + 0x50]
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x4c], 0
jne 0x1801c150b
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x54], 0
je 0x1801c150b
mov edx, dword [rsp + 0x198]
mov rax, qword [rsp + 0x268]
mov ecx, dword [rax + 0x54]
call fcn.180199fe0
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0x4c], eax
xor eax, eax
jmp 0x1801c180c
mov eax, dword [rsp + 0x278]
and eax, 1
test eax, eax
jne 0x1801c1540
mov rax, qword [rsp + 0x260]
movzx eax, byte [rax + 0x88]
test eax, eax
jne 0x1801c1540
mov dword [rsp + 0x30], 0x24
jmp 0x1801c1808
mov eax, dword [rsp + 0x278]
and eax, 0x4000
test eax, eax
je 0x1801c155d
mov dword [rsp + 0x30], 6
jmp 0x1801c1808
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x278]
mov r8, qword [rsp + 0x268]
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x50]
call fcn.1801cba00
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1801c1594
jmp 0x1801c1808
mov rax, qword [rsp + 0x268]
mov dword [rax + 0x60], 0x6f75746c
mov rax, qword [rsp + 0x268]
mov dword [rax + 0xc0], 0
mov rax, qword [rsp + 0x268]
mov dword [rax + 0xb8], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x270]
lea rcx, [rsp + 0x50]
call fcn.1801c9bb0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1801c17bb
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x60], 0x636f6d70
jne 0x1801c162e
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x50]
mov dword [rax + 0xc0], ecx
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x58]
mov qword [rax + 0xc8], rcx
jmp 0x1801c1699
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x68]
lea rdi, [rax + 0x98]
lea rsi, [rcx + 0x18]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
btr eax, 9
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
cmp dword [rsp + 0xa8], 0
je 0x1801c1699
mov eax, dword [rsp + 0xa8]
neg eax
mov rcx, qword [rsp + 0x268]
add rcx, 0x98
xor r8d, r8d
mov edx, eax
call fcn.1801a4680
mov eax, dword [rsp + 0x278]
and eax, 2
test eax, eax
jne 0x1801c17a6
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x1f5]
test eax, eax
je 0x1801c1787
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x230], eax
cmp dword [rsp + 0x230], 0
je 0x1801c1701
cmp dword [rsp + 0x230], 1
je 0x1801c1722
cmp dword [rsp + 0x230], 4
je 0x1801c1724
cmp dword [rsp + 0x230], 5
je 0x1801c1745
jmp 0x1801c1766
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
or eax, 0x20
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
jmp 0x1801c1785
jmp 0x1801c1785
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
or eax, 0x30
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
jmp 0x1801c1785
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
or eax, 0x10
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
jmp 0x1801c1785
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
or eax, 8
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
jmp 0x1801c17a6
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
or eax, 8
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
mov edx, dword [rsp + 0x270]
lea rcx, [rsp + 0x50]
call fcn.1801cb310
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.1801cc010
mov eax, dword [rsp + 0x278]
and eax, 1
test eax, eax
jne 0x1801c1808
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x40]
movzx eax, word [rax + 2]
cmp eax, 0x18
jge 0x1801c1808
mov rax, qword [rsp + 0x268]
mov eax, dword [rax + 0xb8]
bts eax, 8
mov rcx, qword [rsp + 0x268]
mov dword [rcx + 0xb8], eax
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180380360]
call fcn.180259f60
mov rax, rdi
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.180258fa0
add rsp, 0x248
pop rdi
pop rsi
ret