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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov rax, qword [rsp + 0x148]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x150]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x148]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov edx, 0x230
mov rcx, qword [rsp + 0x48]
call fcn.180031f70
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x28], rcx
cmp qword [rsp + 0xa0], 0
jne 0x1800d58d5
jmp 0x1800d61d8
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x12]
or eax, 0x10
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.1800d7910
mov r8b, 0x2b
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call fcn.1800d7870
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
call fcn.1800d7d60
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x61]
test eax, eax
je 0x1800d595a
jmp 0x1800d61d8
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x78], 0xffffffffffffffff
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
jmp 0x1800d59a2
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1800d5c6f
cmp qword [rsp + 0x40], 0
je 0x1800d5c6f
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
and eax, 0x1ff
test eax, eax
jne 0x1800d5b85
mov qword [rsp + 0x78], 0
mov edx, 0x228
mov rcx, qword [rsp + 0x48]
call fcn.180032040
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x1800d5b80
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
or eax, 0x20
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
mov eax, 0x400
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.1800d7910
mov r8b, 0x2c
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.1800d7870
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x140]
call fcn.1800d7d60
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x148]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x61]
test eax, eax
jne 0x1800d5b68
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x1800d5af7
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x90]
add rax, 0x40
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x68], eax
jge 0x1800d5b68
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
movzx eax, byte [rax]
mov ecx, eax
call fcn.1800d49e0
test eax, eax
jne 0x1800d5b2f
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
cmp eax, 0x40
jne 0x1800d5b63
mov rax, qword [rsp + 0x70]
add rax, 0x290
mov rcx, qword [rsp + 0x90]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800d82c0
mov rcx, qword [rsp + 0xc8]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
jmp 0x1800d5ad9
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800d5c6a
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 8
test eax, eax
je 0x1800d5b9a
jmp 0x1800d5c6a
mov rax, qword [rsp + 0x70]
add rax, 0x290
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800d82c0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
je 0x1800d5c1f
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x18]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x70]
add rax, 0x290
mov rcx, qword [rsp + 0x110]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800d82c0
mov rcx, qword [rsp + 0x98]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
and eax, 2
test eax, eax
jne 0x1800d5c52
mov qword [rsp + 0x78], 0
jmp 0x1800d5c6a
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1800d598a
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x228], rcx
cmp qword [rsp + 0x40], 0
je 0x1800d5caa
mov eax, 0x200
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x148]
mov byte [rax + 0x11], 1
jmp 0x1800d5cbb
mov eax, 0x200
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x14], ax
cmp qword [rsp + 0x40], 0
je 0x1800d5dc8
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 2
jne 0x1800d5dc8
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xd8], eax
mov eax, 0x40
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xd8]
mov rcx, rax
call fcn.1800d55e0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp qword [rsp + 0x118], 0
je 0x1800d5dc8
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xd4], eax
mov eax, 0x40
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x20]
mov edx, dword [rsp + 0xd4]
mov rcx, rax
call fcn.1800d55e0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x120], 0
je 0x1800d5dc3
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.1800d5660
jmp 0x1800d5d43
jmp 0x1800d5cde
cmp qword [rsp + 0x78], 0
je 0x1800d61d8
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x60], 0xffffffff
mov dword [rsp + 0x6c], 0xffffffff
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x3c], 0
jmp 0x1800d5e08
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 2
jge 0x1800d601f
cmp dword [rsp + 0x38], 0
jne 0x1800d601f
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1800d5e60
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1800d5ef0
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x6c]
cmp dword [rax + 0x1c], ecx
jne 0x1800d5e90
jmp 0x1800d5e48
mov rax, qword [rsp + 0x70]
add rax, 0x290
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x1c]
mov rcx, rax
call fcn.1800d82c0
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1800d5ebd
jmp 0x1800d5e48
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
jmp 0x1800d5ef0
cmp dword [rsp + 0x28], 0
jge 0x1800d5efc
jmp 0x1800d601f
mov dword [rsp + 0x38], 1
jmp 0x1800d5f1e
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1800d601a
cmp dword [rsp + 0x38], 0
je 0x1800d601a
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x6c]
cmp dword [rax + 0x1c], ecx
je 0x1800d5f5c
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x1800d6015
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x60]
cmp dword [rax + 0x28], ecx
jne 0x1800d5f9c
cmp dword [rsp + 0x60], 0xfffffffe
jne 0x1800d5fa6
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x108]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0xe0]
call fcn.18008ed00
test eax, eax
je 0x1800d5fa6
mov dword [rsp + 0x38], 0
jmp 0x1800d6015
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180084d10
movsx eax, al
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
call fcn.180084d10
movsx eax, al
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0x88], 0
je 0x1800d6000
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x88], eax
je 0x1800d6000
mov dword [rsp + 0x38], 0
jmp 0x1800d6015
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x12], ax
jmp 0x1800d5f06
jmp 0x1800d5dfe
cmp dword [rsp + 0x38], 0
je 0x1800d61d8
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
jmp 0x1800d6078
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
jl 0x1800d60f0
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
jne 0x1800d6091
jmp 0x1800d6060
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x48]
call fcn.1800873b0
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180087cd0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x100], rax
jmp 0x1800d6060
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x48]
call fcn.1800873b0
mov qword [rsp + 0xb8], rax
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
mov edx, 0x31
mov rcx, qword [rsp + 0xe0]
call fcn.180086340
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1800d61c6
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xb0]
call fcn.1800d5500
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x20], rcx
mov r8w, 3
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x148]
call fcn.1800d47f0
mov dword [rsp + 0x8c], eax
mov r8d, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.1800d6700
mov r8d, dword [rsp + 0x150]
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x148]
call fcn.1800d5550
jmp 0x1800d61d8
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.1800882c0
add rsp, 0x130
pop rdi
ret