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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xe80]
and eax, 0x40000
test eax, eax
je 0x180115fc5
mov byte [rsp + 0x20], 1
jmp 0x180115fca
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*2]
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.1800bee60
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x18011603a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x40]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x44]
jle 0x18011603a
xor al, al
jmp 0x180116210
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x10]
jle 0x1801160f8
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x18011606a
xor al, al
jmp 0x180116210
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x98], 0x100
jg 0x180116092
mov dword [rsp + 0x28], 0x100
jmp 0x18011609d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
shl eax, 2
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x20
jge 0x1801160bc
mov dword [rsp + 0x3c], 0x20
jmp 0x1801160e0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jle 0x1801160d0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
jmp 0x1801160d8
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx + 1]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1800a7d70
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x88], eax
je 0x180116170
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cdqe
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
movsxd rdx, dword [rsp + 0x88]
mov r8, qword [rsp + 0x48]
lea rdx, [r8 + rdx*2]
movsxd r8, dword [rsp + 0x98]
lea rdx, [rdx + r8*2]
mov qword [rsp + 0x58], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.1801d9f70
movsxd rax, dword [rsp + 0x98]
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
mov r8, rax
mov rdx, qword [rsp + 0x90]
call fcn.1801d9f70
mov rax, qword [rsp + 0x80]
mov byte [rax + 0xe7e], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
xor edx, edx
mov word [rcx + rax*2], dx
mov al, 1
add rsp, 0x78
ret