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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
jne 0x1801bde66
mov dword [rsp + 0x24], 3
jmp 0x1801be457
mov dword [rsp + 0x38], 0
jmp 0x1801bde7a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801bdeaf
mov eax, dword [rsp + 0x38]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rax*2 + 0xc], cx
mov eax, dword [rsp + 0x38]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rax*2 + 0x20c], cx
jmp 0x1801bde70
cmp dword [rsp + 0xa8], 1
jbe 0x1801be2ea
mov eax, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x98]
call fcn.18016dfd0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1801bdf43
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
cmp dword [rsp + 0x24], 0
jne 0x1801bdf43
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801bdf48
jmp 0x1801be457
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x7f
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1801bdf70
cmp dword [rsp + 0x68], 1
je 0x1801be04a
jmp 0x1801be1b6
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
call fcn.18016e2d0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801bdfa2
jmp 0x1801be457
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 1
jmp 0x1801bdfc7
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
ja 0x1801be038
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x38], eax
jae 0x1801be036
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x38]
mov word [rcx + rax*2 + 0x20c], dx
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [r8 + rdx*2 + 0xc], ax
jmp 0x1801bdfbd
mov rcx, qword [rsp + 0x98]
call fcn.18016e4b0
jmp 0x1801be1c9
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov dword [rsp + 0x38], 0
jmp 0x1801be085
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jae 0x1801be194
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801be0b8
jmp 0x1801be457
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x24], 0
je 0x1801be0dd
jmp 0x1801be457
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x50], eax
jbe 0x1801be107
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
jmp 0x1801be125
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x58], eax
jae 0x1801be18f
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x58], eax
jae 0x1801be18d
cmp dword [rsp + 0x40], 0x100
jae 0x1801be18d
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x58]
mov word [rcx + rax*2 + 0x20c], dx
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [r8 + rdx*2 + 0xc], ax
jmp 0x1801be111
jmp 0x1801be06b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0x100
jbe 0x1801be1b4
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0x100
jmp 0x1801be1c9
xor eax, eax
test eax, eax
jne 0x1801be1b6
mov dword [rsp + 0x24], 3
jmp 0x1801be457
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x1801be2e5
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801be205
jmp 0x1801be457
mov dword [rsp + 0x38], 0
jmp 0x1801be219
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jae 0x1801be2e5
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016e9c0
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801be24c
jmp 0x1801be457
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016eab0
mov word [rsp + 0x3c], ax
cmp dword [rsp + 0x24], 0
je 0x1801be26f
jmp 0x1801be457
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x3c]
mov word [rcx + rax*2 + 0xc], dx
mov dword [rsp + 0x5c], 0
jmp 0x1801be299
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x5c], eax
jae 0x1801be2e0
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x3c]
cmp eax, ecx
jne 0x1801be2de
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2 + 0x20c], dx
jmp 0x1801be2e0
jmp 0x1801be28f
jmp 0x1801be20f
jmp 0x1801be457
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1801be308
cmp dword [rsp + 0x6c], 1
je 0x1801be32b
jmp 0x1801be449
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x18027e180]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memcpy
jmp 0x1801be34c
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x18027e380]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x98]
mov r8, qword [rax + 0x30]
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.1801bce40
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801be38b
jmp 0x1801be457
mov dword [rsp + 0x38], 0
jmp 0x1801be39f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801be447
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2 + 0xc]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0x60], 0
je 0x1801be3e6
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.1801b3cc0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1801be419
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x64]
mov word [rcx + rax*2 + 0x20c], dx
mov eax, dword [rsp + 0x38]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
jmp 0x1801be442
mov eax, dword [rsp + 0x38]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rax*2 + 0x20c], cx
mov eax, dword [rsp + 0x38]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rax*2 + 0xc], cx
jmp 0x1801be395
jmp 0x1801be457
xor eax, eax
test eax, eax
jne 0x1801be449
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0x24]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18027f650]
call fcn.180225a10
mov eax, edi
add rsp, 0x70
pop rdi
ret