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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x70], 0
movzx eax, word [rsp + 0x170]
test eax, eax
je 0x1800dfb5a
mov rax, qword [rsp + 0x110]
movzx eax, word [rax + 0x5c]
and eax, 0x40
test eax, eax
je 0x1800dfb5a
xor al, al
jmp 0x1800e06e1
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
cmp eax, 0x3f
jle 0x1800dfb7b
xor al, al
jmp 0x1800e06e1
mov byte [rsp + 0x30], 1
movzx eax, word [rsp + 0x44]
mov ecx, 1
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
shl rax, cl
dec rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov eax, 0x182
mov word [rsp + 0x5c], ax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1800dfbeb
movzx eax, word [rsp + 0x5c]
or eax, 1
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x68], 0
jmp 0x1800dfbff
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800e064e
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jae 0x1800e064e
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x68], eax
jg 0x1800e064e
cmp dword [rsp + 0x68], 0
jle 0x1800dfc57
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x68], eax
jge 0x1800dfc97
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1800dfc95
jmp 0x1800dfbf5
jmp 0x1800dfca4
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x1800dfce7
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x1800dfce0
movzx eax, word [rsp + 0x168]
and eax, 0x80
test eax, eax
jne 0x1800dfce0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
jmp 0x1800e064e
movzx eax, word [rsp + 0x168]
and eax, 0x80
test eax, eax
je 0x1800dfd03
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x1e], ax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x70
mov eax, dword [rax + rcx + 0x4c]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x34], 0
jmp 0x1800dfd3b
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800dff30
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xd0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd0]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800dfd75
jmp 0x1800dfd31
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.1800869a0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0xa4
je 0x1800dfdac
jmp 0x1800dfd31
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
cmp dword [rax + 0x2c], ecx
je 0x1800dfdc5
jmp 0x1800dfd31
movzx eax, word [rsp + 0x5c]
mov rcx, qword [rsp + 0xa8]
not rcx
mov rdx, qword [rsp + 0x88]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x150]
add r8, 0x68
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, edx
mov edx, dword [rsp + 0x90]
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.1800da3a0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1800dfe37
jmp 0x1800dfd31
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x1800dfe9d
mov dword [rsp + 0x3c], 0
jmp 0x1800dfe5c
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x3c], eax
jge 0x1800dfe89
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x98], rax
je 0x1800dfe89
jmp 0x1800dfe52
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x3c], eax
jl 0x1800dfe9d
jmp 0x1800dfd31
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x1800dfefc
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x1800dfefc
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x98]
mov r8, qword [rcx]
mov rcx, qword [rsp + 0x158]
mov rdx, qword [rcx + rax + 8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.180086cf0
test eax, eax
jne 0x1800dfefc
jmp 0x1800dfd31
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800dfd31
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x1800e0518
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1800dff7b
mov qword [rsp + 0x78], 0
xor eax, eax
mov word [rsp + 0x80], ax
mov eax, 1
mov word [rsp + 0x84], ax
jmp 0x1800e0010
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800dffa3
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1800dffac
xor al, al
jmp 0x1800e06e1
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x5e]
mov word [rsp + 0x80], ax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x84], ax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1800dfff9
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x8000
test eax, eax
jne 0x1800dfff9
mov dword [rsp + 0x94], 1
jmp 0x1800e0004
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x40], al
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x3c], 0
jmp 0x1800e0037
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0x84]
cmp dword [rsp + 0x3c], eax
jge 0x1800e050a
mov byte [rsp + 0x4a], 1
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jge 0x1800e012f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x3c], eax
jl 0x1800e012f
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x64], ax
movzx eax, word [rsp + 0x64]
movzx ecx, word [rsp + 0x5c]
and eax, ecx
test eax, eax
je 0x1800e00b9
movzx eax, word [rsp + 0x64]
and eax, 0x180
test eax, eax
je 0x1800e00b2
mov byte [rsp + 0x30], 0
jmp 0x1800e002d
movzx eax, word [rsp + 0x64]
and eax, 1
test eax, eax
je 0x1800e012f
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1800e00f8
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x34], eax
jge 0x1800e012f
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x100]
cmp qword [rax], rcx
jne 0x1800e012d
mov byte [rsp + 0x4a], 0
jmp 0x1800e012f
jmp 0x1800e00ee
cmp qword [rsp + 0x78], 0
je 0x1800e0183
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rcx + rax]
and eax, 1
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x60], eax
jne 0x1800e0181
mov dword [rsp + 0x60], 0xffffffff
jmp 0x1800e0190
mov dword [rsp + 0x60], 0xffffffff
mov byte [rsp + 0x49], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800e01d3
cmp dword [rsp + 0x60], 0
jl 0x1800e01d3
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jl 0x1800e01d3
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
jne 0x1800e01d3
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
jmp 0x1800e01ec
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x1800e038d
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800e038d
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800e0233
jmp 0x1800e01e2
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.1800869a0
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0x168]
and eax, 0xc0
test eax, eax
jne 0x1800e026c
mov byte [rsp + 0x4a], 0
cmp dword [rsp + 0x60], 0xffffffff
jl 0x1800e02bc
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0xa4
je 0x1800e028a
jmp 0x1800e01e2
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
cmp dword [rax + 0x2c], ecx
je 0x1800e02a3
jmp 0x1800e01e2
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x60]
je 0x1800e02ba
jmp 0x1800e01e2
jmp 0x1800e0301
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x20
mov rax, qword [rax + rcx + 8]
mov qword [rsp + 0xd8], rax
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
call fcn.180090d50
test eax, eax
je 0x1800e0301
jmp 0x1800e01e2
cmp dword [rsp + 0x60], 0xffffffff
je 0x1800e0361
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x158]
mov rdx, qword [rcx + rax + 8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.180086ca0
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
call fcn.180039050
test eax, eax
je 0x1800e0361
jmp 0x1800e01e2
movzx eax, word [rsp + 0x168]
and eax, 0x80
test eax, eax
je 0x1800e0381
mov eax, dword [rsp + 0x3c]
inc eax
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x1e], ax
mov byte [rsp + 0x38], 1
jmp 0x1800e038d
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1800e0453
movzx eax, word [rsp + 0x168]
and eax, 0x40
test eax, eax
jne 0x1800e0453
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x1800e03e6
movzx eax, byte [rsp + 0x40]
movzx ecx, byte [rsp + 0x49]
xor eax, ecx
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x18]
and ecx, 1
cmp eax, ecx
je 0x1800e03e4
mov byte [rsp + 0x38], 0
jmp 0x1800e0453
movzx eax, byte [rsp + 0x49]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x18]
and ecx, 1
xor eax, ecx
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1800e044e
mov eax, dword [rsp + 0x68]
mov ecx, 1
mov qword [rsp + 0xf8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf8]
shl rax, cl
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x180]
mov qword [rcx], rax
mov byte [rsp + 0x48], 1
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1800e04a3
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x158]
movzx eax, byte [rcx + rax + 0x18]
and eax, 2
test eax, eax
je 0x1800e04a3
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jne 0x1800e049e
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
bts eax, 0x13
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x28], eax
jmp 0x1800e04a3
mov byte [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1800e04e9
cmp dword [rsp + 0x60], 0xffffffff
jne 0x1800e04b8
mov byte [rsp + 0x58], 1
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800e0505
cmp dword [rsp + 0x3c], 0
je 0x1800e04fe
movzx eax, word [rsp + 0x80]
cmp dword [rsp + 0x3c], eax
jge 0x1800e0503
mov byte [rsp + 0x30], 0
jmp 0x1800e050a
jmp 0x1800e002d
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1800e0518
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800e0649
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x34], 0
jmp 0x1800e0558
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800e0649
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800e0592
jmp 0x1800e054e
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x158]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x150]
add rax, 0x290
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1800d96e0
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1800e05f7
mov rcx, qword [rsp + 0xb8]
call fcn.18008a260
test eax, eax
jne 0x1800e05f7
jmp 0x1800e054e
mov rax, qword [rsp + 0xa0]
not rax
mov rcx, qword [rsp + 0xc0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1800e0644
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x128], rcx
movzx ecx, al
mov rax, qword [rsp + 0x128]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800e054e
jmp 0x1800dfbf5
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jne 0x1800e0664
movzx eax, byte [rsp + 0x44]
jmp 0x1800e06e1
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1800e06df
movzx eax, word [rsp + 0x44]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x1800e0684
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x1800e06db
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x138], rcx
movzx ecx, al
mov rax, qword [rsp + 0x138]
shl rax, cl
dec rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xc8]
jne 0x1800e06d9
movzx eax, byte [rsp + 0x34]
jmp 0x1800e06e1
jmp 0x1800e067a
xor al, al
jmp 0x1800e06e1
mov al, 0xff
add rsp, 0x148
ret