Function at 0x140081000
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
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x90], 0
jne 0x14008103c
mov eax, 0xffffff9a
jmp 0x140081575
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 0x14008106c
mov eax, 0xffffff9a
jmp 0x140081575
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x140081081
mov eax, 0xffffff9c
jmp 0x140081575
cmp dword [rsp + 0xa0], 0
jne 0x140081092
xor eax, eax
jmp 0x140081575
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 0x1400810e8
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
jne 0x1400810e8
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 0x140081131
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x140081131
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 0x140081564
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x140081274
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jbe 0x140081274
mov dword [rsp + 0x38], 0x4000
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp qword [rcx + 0x98], rax
jae 0x14008118b
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140081199
xor eax, eax
jmp 0x140081575
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.140083d60
test eax, eax
je 0x1400811df
mov eax, 0xffffffff
jmp 0x140081575
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 0x14008121f
mov eax, 0xffffffff
jmp 0x140081575
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 0x140081294
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x118], 0
je 0x140081426
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1400812d0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x98], 0
jne 0x1400812d0
cmp dword [rsp + 0x24], 0
jne 0x1400812bf
mov dword [rsp + 0x6c], 0
jmp 0x1400812c7
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
jmp 0x140081575
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x20], ecx
jae 0x1400812f0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x3c], eax
jmp 0x1400812fc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0
jmp 0x140081310
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jae 0x14008133e
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 0x140081306
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.140086d90
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 0x14008155f
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x108], 0xc
jne 0x140081439
jmp 0x14008155f
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.140087260
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140081490
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
je 0x140081490
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]
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.140086d90
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 0x140081556
cmp dword [rsp + 0x24], 0
jne 0x140081548
mov dword [rsp + 0x70], 0
jmp 0x140081550
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
jmp 0x140081575
cmp dword [rsp + 0x20], 0
je 0x14008155f
jmp 0x140081564
jmp 0x140081131
cmp dword [rsp + 0x20], 0
jne 0x140081571
mov eax, dword [rsp + 0x24]
jmp 0x140081575
mov eax, dword [rsp + 0x20]
add rsp, 0x80
pop rdi
ret