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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1805f6c3b]
call fcn.1802647b0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x1803be276
mov rcx, qword [rsp + 0x80]
call fcn.1803bb7e0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x1803be260
cmp dword [rsp + 0x88], 0
jne 0x1803be260
xor eax, eax
jmp 0x1803beb39
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0
jne 0x1803be276
jmp 0x1803be97c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 3
jb 0x1803be4bb
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x94], 0
jbe 0x1803be4bb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax - 1]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be4bb
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be4bb
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be4bb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax + 0x102]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x1803be45a
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x1803be366
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov ecx, 0x102
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x88], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x9c]
cmp dword [rax + 0x88], ecx
jbe 0x1803be4bb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x88], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x88], 3
jb 0x1803be72d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x88]
sub eax, 3
mov byte [rsp + 0x38], al
mov eax, 1
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
movzx eax, word [rsp + 0x3c]
sar eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f4]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x16e8]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
movzx eax, word [rsp + 0x3c]
dec ax
mov word [rsp + 0x3c], ax
movzx eax, byte [rsp + 0x38]
lea rcx, [0x180510fe0]
movzx eax, byte [rcx + rax]
add eax, 0x101
cdqe
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0xbc]
inc ax
movzx ecx, byte [rsp + 0x38]
lea rdx, [0x180510fe0]
movzx ecx, byte [rdx + rcx]
add ecx, 0x101
movsxd rcx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0xbc], ax
movzx eax, word [rsp + 0x3c]
cmp eax, 0x100
jge 0x1803be63d
movzx eax, word [rsp + 0x3c]
lea rcx, [0x1805110e0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x1803be65b
movzx eax, word [rsp + 0x3c]
sar eax, 7
add eax, 0x100
cdqe
lea rcx, [0x1805110e0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0x9b0]
inc ax
movsxd rcx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0x9b0], ax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f8]
cmp dword [rax + 0x16f4], ecx
jne 0x1803be6b0
mov dword [rsp + 0x48], 1
jmp 0x1803be6b8
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x88]
mov eax, dword [rax + 0x9c]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x88]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
jmp 0x1803be8b1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0xbc]
inc ax
movzx ecx, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0xbc], ax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f8]
cmp dword [rax + 0x16f4], ecx
jne 0x1803be865
mov dword [rsp + 0x4c], 1
jmp 0x1803be86d
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x9c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
cmp dword [rsp + 0x20], 0
je 0x1803be977
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803be8f4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1803be8fd
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.1803c3080
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803bf150
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803be977
xor eax, eax
jmp 0x1803beb39
jmp 0x1803be21a
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1708], 0
cmp dword [rsp + 0x88], 4
jne 0x1803bea67
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803be9d4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x1803be9dd
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov r9d, 1
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.1803c3080
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803bf150
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803bea5d
mov eax, 2
jmp 0x1803beb39
mov eax, 3
jmp 0x1803beb39
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x16f4], 0
je 0x1803beb34
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803beab4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1803beabd
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.1803c3080
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1803bf150
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803beb34
xor eax, eax
jmp 0x1803beb39
mov eax, 1
add rsp, 0x70
pop rdi
ret