Function at 0x1803b0e30
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, [0x1805f6be8]
call fcn.1802647b0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x90], 0
jne 0x1803b0e78
mov eax, 0xffffff9a
jmp 0x1803b13d7
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 0x1803b0ea8
mov eax, 0xffffff9a
jmp 0x1803b13d7
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1803b0ebd
mov eax, 0xffffff9c
jmp 0x1803b13d7
cmp dword [rsp + 0xa0], 0
jne 0x1803b0ece
xor eax, eax
jmp 0x1803b13d7
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 0x1803b0f24
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
jne 0x1803b0f24
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 0x1803b0f6d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x1803b0f6d
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 0x1803b13c6
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1803b10b0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jbe 0x1803b10b0
mov dword [rsp + 0x38], 0x4000
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp qword [rcx + 0x98], rax
jae 0x1803b0fc7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1803b0fd5
xor eax, eax
jmp 0x1803b13d7
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.1803b3ce0
test eax, eax
je 0x1803b101b
mov eax, 0xffffffff
jmp 0x1803b13d7
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 0x1803b105b
mov eax, 0xffffffff
jmp 0x1803b13d7
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 0x1803b10d0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x1803b1262
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1803b110c
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jne 0x1803b110c
cmp dword [rsp + 0x24], 0
jne 0x1803b10fb
mov dword [rsp + 0x6c], 0
jmp 0x1803b1103
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
jmp 0x1803b13d7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x20], ecx
jae 0x1803b112c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x3c], eax
jmp 0x1803b1138
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0
jmp 0x1803b114c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jae 0x1803b117a
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 0x1803b1142
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.1803bf970
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 0x1803b13c1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x108], 0xc
jne 0x1803b1275
jmp 0x1803b13c1
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.1803b4390
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1803b12cc
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
je 0x1803b12cc
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 0x1803b12ff
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.1803bf970
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 0x1803b13b8
cmp dword [rsp + 0x24], 0
jne 0x1803b13aa
mov dword [rsp + 0x70], 0
jmp 0x1803b13b2
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
jmp 0x1803b13d7
cmp dword [rsp + 0x20], 0
je 0x1803b13c1
jmp 0x1803b13c6
jmp 0x1803b0f6d
cmp dword [rsp + 0x20], 0
jne 0x1803b13d3
mov eax, dword [rsp + 0x24]
jmp 0x1803b13d7
mov eax, dword [rsp + 0x20]
add rsp, 0x80
pop rdi
ret