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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
add rax, 0x178
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
mov rax, qword [rsp + 0xc8]
mov dword [rax + 4], 0
cmp dword [rsp + 0xb8], 0
jbe 0x1801c3177
mov eax, dword [rsp + 0xb8]
dec eax
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xc0], 0
jbe 0x1801c3191
mov eax, dword [rsp + 0xc0]
dec eax
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xb8], eax
ja 0x1801c31b9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xc0], eax
jbe 0x1801c31be
jmp 0x1801c3798
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc0]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
shl eax, 0x10
movzx ecx, word [rsp + 0x3c]
or eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x50], rax
jmp 0x1801c3240
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801c3268
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x40], eax
jb 0x1801c3266
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x40], eax
ja 0x1801c3266
jmp 0x1801c326d
jmp 0x1801c3233
jmp 0x1801c3798
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.18016d040
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1801c32b3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov rcx, qword [rsp + 0x48]
imul eax, dword [rcx + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.18016d340
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1801c32b8
jmp 0x1801c3798
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x58]
call fcn.1801c27f0
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x5c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 1
test eax, eax
je 0x1801c333b
mov byte [rsp + 0x94], 1
jmp 0x1801c3343
mov byte [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x78], al
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 2
test eax, eax
je 0x1801c3369
mov byte [rsp + 0x95], 1
jmp 0x1801c3371
mov byte [rsp + 0x95], 0
movzx eax, byte [rsp + 0x95]
mov byte [rsp + 0x79], al
cmp dword [rsp + 0x68], 0
jbe 0x1801c34df
mov eax, dword [rsp + 0x68]
imul eax, dword [rsp + 0x5c]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801c3437
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801c3481
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801c3493
jmp 0x1801c3716
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1801c34df
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1801c34bf
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x1801c34d2
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x64], eax
jbe 0x1801c3621
mov eax, dword [rsp + 0x64]
shr eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801c359f
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801c35e9
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801c35fb
jmp 0x1801c3716
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1801c361c
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1801c34df
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801c36bf
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801c3709
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801c378e
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1801c3758
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
cwde
mov dword [rsp + 0x8c], eax
jmp 0x1801c3774
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0xa]
add eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
call fcn.18016d520
mov eax, dword [rsp + 0x28]
add rsp, 0xa0
pop rdi
ret