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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x180493728]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0xb0], 1
mov byte [rsp + 0xb1], 1
mov byte [rsp + 0xb2], 1
mov byte [rsp + 0xb3], 1
mov byte [rsp + 0xb4], 1
mov byte [rsp + 0xb5], 1
mov byte [rsp + 0xb6], 1
mov byte [rsp + 0xb7], 1
mov byte [rsp + 0xb8], 1
mov byte [rsp + 0xb9], 1
mov byte [rsp + 0xba], 1
mov byte [rsp + 0xbb], 1
mov byte [rsp + 0xbc], 1
mov byte [rsp + 0xbd], 1
mov byte [rsp + 0xbe], 1
mov byte [rsp + 0xbf], 1
mov byte [rsp + 0xc0], 0
mov byte [rsp + 0xc1], 0
mov byte [rsp + 0xc2], 0
mov byte [rsp + 0xc3], 0
mov byte [rsp + 0xc4], 0
mov byte [rsp + 0xc5], 0
mov byte [rsp + 0xc6], 0
mov byte [rsp + 0xc7], 0
mov byte [rsp + 0xc8], 2
mov byte [rsp + 0xc9], 2
mov byte [rsp + 0xca], 2
mov byte [rsp + 0xcb], 2
mov byte [rsp + 0xcc], 3
mov byte [rsp + 0xcd], 3
mov byte [rsp + 0xce], 4
mov byte [rsp + 0xcf], 0
mov byte [rsp + 0x98], 0
mov byte [rsp + 0x99], 0x7f
mov byte [rsp + 0x9a], 0x1f
mov byte [rsp + 0x9b], 0xf
mov byte [rsp + 0x9c], 7
mov dword [rsp + 0x80], 0x400000
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x88], 0x80
mov dword [rsp + 0x8c], 0x800
mov dword [rsp + 0x90], 0x10000
mov byte [rsp + 0xa0], 0
mov byte [rsp + 0xa1], 0x12
mov byte [rsp + 0xa2], 0xc
mov byte [rsp + 0xa3], 6
mov byte [rsp + 0xa4], 0
mov byte [rsp + 0xa8], 0
mov byte [rsp + 0xa9], 6
mov byte [rsp + 0xaa], 4
mov byte [rsp + 0xab], 2
mov byte [rsp + 0xac], 0
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0xb0]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801189d7
mov dword [rsp + 0x2c], 1
jmp 0x1801189df
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x20]
add eax, dword [rsp + 0x2c]
cdqe
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jle 0x180118a3e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
jmp 0x180118a46
mov dword [rsp + 0x30], 0
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x30]
mov byte [rsp + rax + 0x28], cl
cmp qword [rsp + 0x60], 1
jle 0x180118a7b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0xf0]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x180118a83
mov dword [rsp + 0x34], 0
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x34]
mov byte [rsp + rax + 0x28], cl
cmp qword [rsp + 0x60], 2
jle 0x180118ab8
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0xf0]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
jmp 0x180118ac0
mov dword [rsp + 0x38], 0
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x38]
mov byte [rsp + rax + 0x28], cl
cmp qword [rsp + 0x60], 3
jle 0x180118af5
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0xf0]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
jmp 0x180118afd
mov dword [rsp + 0x3c], 0
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rsp + 0x3c]
mov byte [rsp + rax + 0x28], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x28]
movzx ecx, byte [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x98]
and eax, ecx
shl eax, 0x12
mov rcx, qword [rsp + 0x100]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
and eax, 0x3f
shl eax, 0xc
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x28]
and eax, 0x3f
shl eax, 6
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
and eax, 0x3f
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x20]
movzx eax, byte [rsp + rax + 0xa0]
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x70], rcx
movzx ecx, al
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x100]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov eax, dword [rsp + rax*4 + 0x80]
cmp dword [rcx], eax
jae 0x180118c0c
mov dword [rsp + 0x40], 1
jmp 0x180118c14
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
shl eax, 6
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
shr eax, 0xb
cmp eax, 0x1b
jne 0x180118c3b
mov dword [rsp + 0x44], 1
jmp 0x180118c43
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
shl eax, 7
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0x10ffff
jbe 0x180118c70
mov dword [rsp + 0x48], 1
jmp 0x180118c78
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
shl eax, 8
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
and eax, 0xc0
sar eax, 2
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x28]
and eax, 0xc0
sar eax, 4
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
sar eax, 6
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
xor eax, 0x2a
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x20]
movzx eax, byte [rsp + rax + 0xa8]
movzx ecx, al
mov eax, dword [rsp + 0x24]
shr eax, cl
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x180118dec
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x28]
test eax, eax
je 0x180118d38
mov dword [rsp + 0x50], 1
jmp 0x180118d40
mov dword [rsp + 0x50], 0
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
test eax, eax
je 0x180118d5c
mov dword [rsp + 0x4c], 1
jmp 0x180118d64
mov dword [rsp + 0x4c], 0
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x28]
test eax, eax
je 0x180118d80
mov dword [rsp + 0x54], 1
jmp 0x180118d88
mov dword [rsp + 0x54], 0
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
test eax, eax
je 0x180118da4
mov dword [rsp + 0x58], 1
jmp 0x180118dac
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x54]
add eax, dword [rsp + 0x58]
cdqe
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.18011d210
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x100]
mov dword [rax], 0xfffd
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180258fa0
add rsp, 0xe0
pop rdi
ret