Function at 0x1801bce80
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 0x1801bced6
mov dword [rsp + 0x24], 3
jmp 0x1801bd4c7
mov dword [rsp + 0x38], 0
jmp 0x1801bceea
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801bcf1f
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 0x1801bcee0
cmp dword [rsp + 0xa8], 1
jbe 0x1801bd35a
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.18016d040
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1801bcfb3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
cmp dword [rsp + 0x24], 0
jne 0x1801bcfb3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801bcfb8
jmp 0x1801bd4c7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x7f
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1801bcfe0
cmp dword [rsp + 0x68], 1
je 0x1801bd0ba
jmp 0x1801bd226
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.18016d340
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd012
jmp 0x1801bd4c7
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 1
jmp 0x1801bd037
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
ja 0x1801bd0a8
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 0x1801bd0a6
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 0x1801bd02d
mov rcx, qword [rsp + 0x98]
call fcn.18016d520
jmp 0x1801bd239
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov dword [rsp + 0x38], 0
jmp 0x1801bd0f5
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 0x1801bd204
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd128
jmp 0x1801bd4c7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd14d
jmp 0x1801bd4c7
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 0x1801bd177
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 0x1801bd195
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 0x1801bd1ff
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x58], eax
jae 0x1801bd1fd
cmp dword [rsp + 0x40], 0x100
jae 0x1801bd1fd
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 0x1801bd181
jmp 0x1801bd0db
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0x100
jbe 0x1801bd224
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0x100
jmp 0x1801bd239
xor eax, eax
test eax, eax
jne 0x1801bd226
mov dword [rsp + 0x24], 3
jmp 0x1801bd4c7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x1801bd355
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd275
jmp 0x1801bd4c7
mov dword [rsp + 0x38], 0
jmp 0x1801bd289
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jae 0x1801bd355
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016da30
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd2bc
jmp 0x1801bd4c7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.18016db20
mov word [rsp + 0x3c], ax
cmp dword [rsp + 0x24], 0
je 0x1801bd2df
jmp 0x1801bd4c7
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 0x1801bd309
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x5c], eax
jae 0x1801bd350
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 0x1801bd34e
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2 + 0x20c], dx
jmp 0x1801bd350
jmp 0x1801bd2ff
jmp 0x1801bd27f
jmp 0x1801bd4c7
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1801bd378
cmp dword [rsp + 0x6c], 1
je 0x1801bd39b
jmp 0x1801bd4b9
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x18027dce0]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memcpy
jmp 0x1801bd3bc
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x18027dee0]
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.1801bbeb0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801bd3fb
jmp 0x1801bd4c7
mov dword [rsp + 0x38], 0
jmp 0x1801bd40f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801bd4b7
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 0x1801bd456
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.1801b2d30
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1801bd489
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 0x1801bd4b2
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 0x1801bd405
jmp 0x1801bd4c7
xor eax, eax
test eax, eax
jne 0x1801bd4b9
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0x24]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18027f1b0]
call fcn.180224a80
mov eax, edi
add rsp, 0x70
pop rdi
ret