Function at 0x180303ce0
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, [0x180506908]
call fcn.1801b5d60
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x90], 0
jne 0x180303d28
mov eax, 0xffffff9a
jmp 0x180304287
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 0x180303d58
mov eax, 0xffffff9a
jmp 0x180304287
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x180303d6d
mov eax, 0xffffff9c
jmp 0x180304287
cmp dword [rsp + 0xa0], 0
jne 0x180303d7e
xor eax, eax
jmp 0x180304287
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 0x180303dd4
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
jne 0x180303dd4
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 0x180303e1d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x180303e1d
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 0x180304276
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x180303f60
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jbe 0x180303f60
mov dword [rsp + 0x38], 0x4000
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp qword [rcx + 0x98], rax
jae 0x180303e77
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x180303e85
xor eax, eax
jmp 0x180304287
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.180306b90
test eax, eax
je 0x180303ecb
mov eax, 0xffffffff
jmp 0x180304287
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 0x180303f0b
mov eax, 0xffffffff
jmp 0x180304287
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 0x180303f80
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x180304112
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x180303fbc
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jne 0x180303fbc
cmp dword [rsp + 0x24], 0
jne 0x180303fab
mov dword [rsp + 0x6c], 0
jmp 0x180303fb3
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
jmp 0x180304287
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x20], ecx
jae 0x180303fdc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x3c], eax
jmp 0x180303fe8
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0
jmp 0x180303ffc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jae 0x18030402a
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 0x180303ff2
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.180312820
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 0x180304271
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x108], 0xc
jne 0x180304125
jmp 0x180304271
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.180307240
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x18030417c
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
je 0x18030417c
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 0x1803041af
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.180312820
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 0x180304268
cmp dword [rsp + 0x24], 0
jne 0x18030425a
mov dword [rsp + 0x70], 0
jmp 0x180304262
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
jmp 0x180304287
cmp dword [rsp + 0x20], 0
je 0x180304271
jmp 0x180304276
jmp 0x180303e1d
cmp dword [rsp + 0x20], 0
jne 0x180304283
mov eax, dword [rsp + 0x24]
jmp 0x180304287
mov eax, dword [rsp + 0x20]
add rsp, 0x80
pop rdi
ret