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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
xor eax, eax
mov word [rsp + 0x38], ax
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x1800d9a4d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jge 0x1800d9ac4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x1800d9a75
jmp 0x1800d9a35
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x1800d9a90
jmp 0x1800d9a35
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x1800d9aa3
jmp 0x1800d9a35
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
je 0x1800d9ab5
jmp 0x1800d9a35
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x1800d9a35
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0xc0], 0
je 0x1800d9b7b
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x20], 0
jmp 0x1800d9afd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x1800d9b69
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
cmp eax, 0xa4
jne 0x1800d9b46
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
je 0x1800d9b48
jmp 0x1800d9b69
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xc0]
movzx eax, byte [rcx + rax + 0x18]
and eax, 2
test eax, eax
je 0x1800d9b67
jmp 0x1800d9b69
jmp 0x1800d9af3
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jne 0x1800d9b7b
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x14
movsxd rcx, dword [rsp + 0x3c]
lea rax, [rax + rcx*8 + 0x70]
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.180031ec0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1800d9bc9
lea rdx, [0x18012fa38]
mov rcx, qword [rsp + 0xa0]
call fcn.180037220
xor eax, eax
jmp 0x1800d9f69
mov eax, 0x60
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 0x10
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x1800d9cbf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jge 0x1800d9ecb
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x1800d9ceb
jmp 0x1800d9ca7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x1800d9d06
jmp 0x1800d9ca7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x1800d9d19
jmp 0x1800d9ca7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
je 0x1800d9d2e
jmp 0x1800d9ca7
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x1800d9d58
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x1800d9d58
jmp 0x1800d9ca7
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x28]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 8], edx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x1fff
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cmp eax, 1
jne 0x1800d9dae
mov eax, 2
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cmp eax, 0x40
jne 0x1800d9dd8
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
movzx edx, byte [rdx + 0x17]
mov byte [rcx + rax + 4], dl
jmp 0x1800d9ebc
movzx eax, word [rsp + 0x24]
and eax, 0x180
test eax, eax
je 0x1800d9e1f
movzx eax, word [rsp + 0x24]
cmp eax, 0x100
jne 0x1800d9e07
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 0x47
jmp 0x1800d9e1a
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 0x48
jmp 0x1800d9ebc
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax + 4], dl
movzx eax, word [rsp + 0x24]
and eax, 0x3c
test eax, eax
je 0x1800d9ebc
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180085660
test eax, eax
je 0x1800d9ebc
cmp dword [rsp + 0x28], 0x10
jge 0x1800d9e82
mov eax, dword [rsp + 0x28]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
movzx ecx, word [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x24]
cmp eax, 0x10
jne 0x1800d9e9f
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 8
movzx eax, word [rsp + 0x24]
cmp eax, 4
jne 0x1800d9ebc
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 0x20
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x1800d9ca7
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov dword [rsp + 0x20], 0
jmp 0x1800d9eea
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jge 0x1800d9f54
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movsx ecx, word [rcx + 0x30]
mov rdx, qword [rsp + 0x60]
mov dword [rdx + rax*8], ecx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xc0]
movzx eax, byte [rcx + rax + 0x18]
and eax, 1
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx*8 + 4], al
jmp 0x1800d9ee0
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
mov rax, qword [rsp + 0x50]
add rsp, 0x98
ret