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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rcx, [0x1805f2bde]
call fcn.1802680d0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x90], 0
jne 0x1803b4458
mov eax, 0xffffff9a
jmp 0x1803b49b7
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1803b4488
mov eax, 0xffffff9a
jmp 0x1803b49b7
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1803b449d
mov eax, 0xffffff9c
jmp 0x1803b49b7
cmp dword [rsp + 0xa0], 0
jne 0x1803b44ae
xor eax, eax
jmp 0x1803b49b7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x20], ecx
mov eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
cmp rax, qword [rcx + 0xa0]
jbe 0x1803b4504
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
jne 0x1803b4504
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x20], ecx
mov eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x98]
cmp rax, rcx
jbe 0x1803b454d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x1803b454d
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x98]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x20], 0
jbe 0x1803b49a6
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1803b4690
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jbe 0x1803b4690
mov dword [rsp + 0x38], 0x4000
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp qword [rcx + 0x98], rax
jae 0x1803b45a7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1803b45b5
xor eax, eax
jmp 0x1803b49b7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x110]
mov rcx, qword [rsp + 0x30]
add rcx, 0xa8
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x100]
call fcn.1803b72c0
test eax, eax
je 0x1803b45fb
mov eax, 0xffffffff
jmp 0x1803b49b7
mov r9d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x100]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0xe0]
mov rax, qword [rsp + 0x30]
call qword [rax + 0xb0]
cmp eax, dword [rsp + 0x38]
je 0x1803b463b
mov eax, 0xffffffff
jmp 0x1803b49b7
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x60], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x98]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x108], 0
je 0x1803b46b0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x1803b4842
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1803b46ec
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jne 0x1803b46ec
cmp dword [rsp + 0x24], 0
jne 0x1803b46db
mov dword [rsp + 0x6c], 0
jmp 0x1803b46e3
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
jmp 0x1803b49b7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x20], ecx
jae 0x1803b470c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x3c], eax
jmp 0x1803b4718
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0
jmp 0x1803b472c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jae 0x1803b475a
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 0x18]
movzx eax, byte [rax + rcx]
mov byte [rdx + r8], al
jmp 0x1803b4722
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x88], rax
mov r8d, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x90]
call fcn.1803c2f70
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x90], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xa0]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x10]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x20]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x20], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x18], rax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 8]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
add eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x24], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x1803b49a1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x108], 0xc
jne 0x1803b4855
jmp 0x1803b49a1
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
add rax, 8
mov edx, dword [rsp + 0x68]
mov rcx, rax
call fcn.1803b7970
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1803b48ac
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
je 0x1803b48ac
mov dword [rsp + 0x20], 0xfffffffd
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x50], rax
jae 0x1803b48df
movabs rax, 0x100000000
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x88]
add rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x88], rax
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x90]
call fcn.1803c2f70
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x90], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rax + 0xa0]
sub rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0xa0], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 1
jne 0x1803b4998
cmp dword [rsp + 0x24], 0
jne 0x1803b498a
mov dword [rsp + 0x70], 0
jmp 0x1803b4992
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
jmp 0x1803b49b7
cmp dword [rsp + 0x20], 0
je 0x1803b49a1
jmp 0x1803b49a6
jmp 0x1803b454d
cmp dword [rsp + 0x20], 0
jne 0x1803b49b3
mov eax, dword [rsp + 0x24]
jmp 0x1803b49b7
mov eax, dword [rsp + 0x20]
add rsp, 0x80
pop rdi
ret