Function at 0x1801b7da0
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 0x1801b7df6
mov dword [rsp + 0x24], 3
jmp 0x1801b83e7
mov dword [rsp + 0x38], 0
jmp 0x1801b7e0a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801b7e3f
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 0x1801b7e00
cmp dword [rsp + 0xa8], 1
jbe 0x1801b827a
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.180167f60
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1801b7ed3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
cmp dword [rsp + 0x24], 0
jne 0x1801b7ed3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801b7ed8
jmp 0x1801b83e7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x7f
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1801b7f00
cmp dword [rsp + 0x68], 1
je 0x1801b7fda
jmp 0x1801b8146
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.180168260
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801b7f32
jmp 0x1801b83e7
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 1
jmp 0x1801b7f57
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
ja 0x1801b7fc8
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 0x1801b7fc6
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 0x1801b7f4d
mov rcx, qword [rsp + 0x98]
call fcn.180168440
jmp 0x1801b8159
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov dword [rsp + 0x38], 0
jmp 0x1801b8015
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 0x1801b8124
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801b8048
jmp 0x1801b83e7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x24], 0
je 0x1801b806d
jmp 0x1801b83e7
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 0x1801b8097
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 0x1801b80b5
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 0x1801b811f
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x58], eax
jae 0x1801b811d
cmp dword [rsp + 0x40], 0x100
jae 0x1801b811d
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 0x1801b80a1
jmp 0x1801b7ffb
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0x100
jbe 0x1801b8144
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0x100
jmp 0x1801b8159
xor eax, eax
test eax, eax
jne 0x1801b8146
mov dword [rsp + 0x24], 3
jmp 0x1801b83e7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x1801b8275
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801b8195
jmp 0x1801b83e7
mov dword [rsp + 0x38], 0
jmp 0x1801b81a9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jae 0x1801b8275
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168950
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801b81dc
jmp 0x1801b83e7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.180168a40
mov word [rsp + 0x3c], ax
cmp dword [rsp + 0x24], 0
je 0x1801b81ff
jmp 0x1801b83e7
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 0x1801b8229
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x5c], eax
jae 0x1801b8270
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 0x1801b826e
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2 + 0x20c], dx
jmp 0x1801b8270
jmp 0x1801b821f
jmp 0x1801b819f
jmp 0x1801b83e7
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1801b8298
cmp dword [rsp + 0x6c], 1
je 0x1801b82bb
jmp 0x1801b83d9
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x1802dc800]
mov rcx, rax
call fcn.18029e870
jmp 0x1801b82dc
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x1802dca00]
mov rcx, rax
call fcn.18029e870
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.1801b6dd0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801b831b
jmp 0x1801b83e7
mov dword [rsp + 0x38], 0
jmp 0x1801b832f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801b83d7
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 0x1801b8376
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.1801adc50
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1801b83a9
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 0x1801b83d2
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 0x1801b8325
jmp 0x1801b83e7
xor eax, eax
test eax, eax
jne 0x1801b83d9
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0x24]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1802ddcd0]
call fcn.180220850
mov eax, edi
add rsp, 0x70
pop rdi
ret