Function at 0x1801f1290
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 0x1801f12e6
mov dword [rsp + 0x24], 3
jmp 0x1801f18d7
mov dword [rsp + 0x38], 0
jmp 0x1801f12fa
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801f132f
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 0x1801f12f0
cmp dword [rsp + 0xa8], 1
jbe 0x1801f176a
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.1801a1450
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1801f13c3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
cmp dword [rsp + 0x24], 0
jne 0x1801f13c3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801f13c8
jmp 0x1801f18d7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x7f
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1801f13f0
cmp dword [rsp + 0x68], 1
je 0x1801f14ca
jmp 0x1801f1636
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.1801a1750
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801f1422
jmp 0x1801f18d7
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 1
jmp 0x1801f1447
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
ja 0x1801f14b8
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 0x1801f14b6
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 0x1801f143d
mov rcx, qword [rsp + 0x98]
call fcn.1801a1930
jmp 0x1801f1649
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov dword [rsp + 0x38], 0
jmp 0x1801f1505
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 0x1801f1614
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801f1538
jmp 0x1801f18d7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x24], 0
je 0x1801f155d
jmp 0x1801f18d7
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 0x1801f1587
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 0x1801f15a5
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 0x1801f160f
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x58], eax
jae 0x1801f160d
cmp dword [rsp + 0x40], 0x100
jae 0x1801f160d
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 0x1801f1591
jmp 0x1801f14eb
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0x100
jbe 0x1801f1634
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0x100
jmp 0x1801f1649
xor eax, eax
test eax, eax
jne 0x1801f1636
mov dword [rsp + 0x24], 3
jmp 0x1801f18d7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x1801f1765
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x24], 0
je 0x1801f1685
jmp 0x1801f18d7
mov dword [rsp + 0x38], 0
jmp 0x1801f1699
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jae 0x1801f1765
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1e40
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x24], 0
je 0x1801f16cc
jmp 0x1801f18d7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.1801a1f30
mov word [rsp + 0x3c], ax
cmp dword [rsp + 0x24], 0
je 0x1801f16ef
jmp 0x1801f18d7
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 0x1801f1719
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x5c], eax
jae 0x1801f1760
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 0x1801f175e
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2 + 0x20c], dx
jmp 0x1801f1760
jmp 0x1801f170f
jmp 0x1801f168f
jmp 0x1801f18d7
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1801f1788
cmp dword [rsp + 0x6c], 1
je 0x1801f17ab
jmp 0x1801f18c9
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x180385300]
mov rcx, rax
call fcn.180263730
jmp 0x1801f17cc
mov rax, qword [rsp + 0x80]
add rax, 0xc
mov r8d, 0x200
lea rdx, [0x180385500]
mov rcx, rax
call fcn.180263730
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.1801f02c0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1801f180b
jmp 0x1801f18d7
mov dword [rsp + 0x38], 0
jmp 0x1801f181f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x100
jae 0x1801f18c7
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 0x1801f1866
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.1801e7140
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1801f1899
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 0x1801f18c2
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 0x1801f1815
jmp 0x1801f18d7
xor eax, eax
test eax, eax
jne 0x1801f18c9
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0x24]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1803867d0]
call fcn.180259f60
mov eax, edi
add rsp, 0x70
pop rdi
ret