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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rdi
push r13
push r14
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp byte [rdx], 0x99
mov rbx, rdx
mov rcx, qword [rcx]
mov r14d, ebp
mov qword [rsp + 0x88], rcx
mov r13d, ebp
jne 0x14008778d
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x14008778d
cmp dword [rax], 2
jne 0x14008778d
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x1400874aa
mov eax, ebp
jmp 0x1400874be
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], bpl
jne 0x1400874b0
and eax, 0x3fffffff
mov byte [rsp + 0x28], bpl
mov r9d, 2
mov r8d, eax
mov byte [rsp + 0x20], 1
call fcn.140060e40
test rax, rax
je 0x14008778d
movzx edx, word [rax + 2]
test dl, 4
je 0x14008778d
mov rcx, qword [rax + 8]
shr edx, 3
mov qword [rsp + 0x48], rsi
not edx
mov rsi, qword [rbx + 0x20]
and edx, 1
movzx eax, word [rcx]
mov word [rsp + 0x80], ax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], r12
movzx r12d, byte [rcx + 2]
mov dword [rax], edx
mov rax, qword [rsi + 8]
mov rbx, qword [rax + 0x28]
cmp byte [rbx], 0x9a
jne 0x140087789
mov rcx, rbx
call fcn.14004d740
cmp al, 0x42
jne 0x140087789
mov rax, qword [rbx + 0x40]
test byte [rax + 0x46], 0x10
jne 0x140087789
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x38], r15
mov rcx, qword [rcx]
call fcn.14004d850
mov r15, rax
movzx esi, byte [rax]
cmp esi, 0x87
jne 0x1400875d0
movsx ebx, word [rax + 0x30]
mov rcx, qword [rdi + 0x210]
mov edx, ebx
call fcn.14003c770
mov r13, rax
test rax, rax
je 0x1400875a7
movzx eax, word [rax + 8]
lea rcx, [0x1400f7188]
and eax, 0x1f
cmp byte [rax + rcx], 3
jne 0x1400875a7
mov rcx, r13
call fcn.14003cde0
mov r14, rax
mov rdx, qword [rdi + 0x10]
cmp ebx, 0x20
jle 0x1400875bc
mov dword [rdx + 0x104], 0xffffffff
jmp 0x1400875dd
mov ecx, dword [rdx + 0x104]
lea eax, [rbx - 1]
bts ecx, eax
mov dword [rdx + 0x104], ecx
jmp 0x1400875dd
cmp esi, 0x61
jne 0x14008775d
mov r14, qword [rax + 8]
test r14, r14
je 0x14008775d
movsx edx, byte [r14]
mov ebx, ebp
test edx, edx
je 0x14008775a
movsx r8d, byte [rsp + 0x80]
mov rcx, r14
movzx r9d, byte [rsp + 0x81]
nop dword [rax]
cmp edx, r8d
je 0x140087632
movsx eax, r9b
cmp edx, eax
je 0x140087632
movsx eax, r12b
cmp edx, eax
je 0x140087632
movsx edx, byte [rcx + 1]
inc rcx
inc ebx
test edx, edx
jne 0x140087610
test ebx, ebx
je 0x14008775a
lea eax, [rbx - 1]
movsxd rcx, eax
cmp byte [rcx + r14], 0xff
je 0x14008775a
cmp edx, r8d
jne 0x140087661
lea eax, [rbx + 1]
movsxd rcx, eax
mov eax, 1
cmp byte [rcx + r14], bpl
je 0x140087663
mov eax, ebp
mov r12, qword [rsp + 0x98]
mov r8, r14
mov rcx, qword [rsp + 0x88]
mov edx, 0x61
mov dword [r12], eax
call fcn.14004e0a0
mov rdx, rax
test rax, rax
je 0x140087697
mov rax, qword [rax + 8]
movsxd rcx, ebx
mov byte [rcx + rax], bpl
mov rax, qword [rsp + 0x90]
mov qword [rax], rdx
cmp esi, 0x87
jne 0x14008775d
movsx eax, word [r15 + 0x30]
mov rbx, qword [rdi + 0x10]
cmp eax, 0x20
jle 0x1400876c8
mov dword [rbx + 0x104], 0xffffffff
jmp 0x1400876d9
mov ecx, dword [rbx + 0x104]
dec eax
bts ecx, eax
mov dword [rbx + 0x104], ecx
cmp dword [r12], ebp
je 0x14008775d
mov rax, qword [r15 + 8]
cmp byte [rax + 1], bpl
je 0x14008775d
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1400876f9
inc dword [rdi + 0x54]
mov esi, dword [rdi + 0x54]
jmp 0x140087705
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x24]
mov r8d, esi
mov rdx, r15
mov rcx, rdi
call fcn.140051900
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx]
sub ecx, 1
cmovs ecx, ecx
cmp byte [rax + 0x51], bpl
je 0x14008773b
lea rax, [0x140120b10]
mov edx, esi
mov rcx, rdi
mov dword [rax + 0xc], ebp
call fcn.1400541f0
jmp 0x14008775d
movsxd rax, ecx
mov edx, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 0xc], ebp
lea rax, [rax + rcx*8]
mov rcx, rdi
call fcn.1400541f0
jmp 0x14008775d
mov r14, rbp
mov rcx, r13
call fcn.140037850
mov r15, qword [rsp + 0x38]
test r14, r14
setne bpl
mov eax, ebp
mov rsi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x140087773
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret