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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor ebx, ebx
cmp byte [rdx], 0x99
mov rsi, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov r13, rbx
mov qword [rsp + 0x88], rcx
mov r12, rbx
jne 0x180054979
mov rax, qword [rdx + 0x20]
cmp rax, rbx
je 0x180054979
lea r9d, [rbx + 2]
cmp dword [rax], r9d
jne 0x180054979
mov rdx, qword [rdx + 8]
mov rax, rdx
cmp rdx, rbx
jne 0x1800546ae
mov eax, ebx
jmp 0x1800546c0
cmp byte [rdx], bl
je 0x1800546b9
inc rax
cmp byte [rax], bl
jne 0x1800546b2
sub eax, edx
and eax, 0x3fffffff
mov r8d, eax
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], 1
call fcn.18003a42c
mov rbp, rax
cmp rax, rbx
je 0x180054979
test byte [rax + 2], 4
je 0x180054979
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x80]
mov r8d, 3
call fcn.180062a8e
movzx r11d, word [rbp + 2]
mov rax, qword [rsp + 0xa0]
mov rbp, qword [rdi + 0x20]
shr r11d, 3
not r11d
and r11d, 1
mov dword [rax], r11d
mov rax, qword [rbp + 8]
mov rdi, qword [rax + 0x28]
cmp byte [rdi], 0x9a
jne 0x180054979
mov rcx, rdi
call fcn.18002cda0
cmp al, 0x61
jne 0x180054979
mov rax, qword [rdi + 0x40]
test byte [rax + 0x48], 0x10
jne 0x180054979
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx]
call fcn.18002cea4
mov r14, rax
movzx r15d, byte [rax]
cmp r15d, 0x87
jne 0x180054804
mov rcx, qword [rsi + 0x210]
movsx ebp, word [rax + 0x30]
cmp rcx, rbx
je 0x1800547b8
lea eax, [rbp - 1]
movsxd rdi, eax
imul rdi, rdi, 0x38
add rdi, qword [rcx + 0x68]
test byte [rdi + 0x24], 1
jne 0x1800547b8
mov rcx, qword [rcx]
call fcn.18001e6d0
mov r12, rax
cmp rax, rbx
je 0x1800547b8
mov rdx, rdi
mov rcx, rax
call fcn.18001e234
mov r8b, 1
mov dl, 0x62
mov rcx, r12
call fcn.180023b8c
cmp r12, rbx
je 0x1800547e0
movzx eax, word [r12 + 0x24]
lea rcx, [0x180065438]
and eax, 0x1f
cmp byte [rax + rcx], 3
jne 0x1800547e0
mov dl, 1
mov rcx, r12
call fcn.18001e60c
mov r13, rax
cmp ebp, 0x20
mov rdx, qword [rsi + 0x10]
jle 0x1800547f2
or dword [rdx + 0x104], 0xffffffff
jmp 0x180054812
lea ecx, [rbp - 1]
mov eax, 1
shl eax, cl
or dword [rdx + 0x104], eax
jmp 0x180054812
cmp r15d, 0x61
jne 0x18005496f
mov r13, qword [rax + 8]
cmp r13, rbx
je 0x180054956
movsx ecx, byte [r13]
mov edx, ebx
cmp ecx, ebx
je 0x180054953
movsx r9d, byte [rsp + 0x80]
mov r8, r13
cmp ecx, r9d
je 0x180054860
movsx eax, byte [rsp + 0x81]
cmp ecx, eax
je 0x180054860
movsx eax, byte [rsp + 0x82]
cmp ecx, eax
je 0x180054860
inc r8
inc edx
movsx ecx, byte [r8]
cmp ecx, ebx
jne 0x180054836
cmp edx, ebx
je 0x180054953
movsxd rdi, edx
cmp byte [rdi + r13 - 1], 0xff
je 0x180054953
cmp ecx, r9d
jne 0x180054888
mov eax, 1
cmp byte [rdi + r13 + 1], bl
je 0x18005488a
mov eax, ebx
mov rbp, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
mov r8, r13
mov edx, 0x61
mov dword [rbp], eax
call fcn.18002d430
mov r11, rax
cmp rax, rbx
je 0x1800548b9
mov rax, qword [rax + 8]
mov byte [rdi + rax], bl
mov rax, qword [rsp + 0x90]
mov qword [rax], r11
cmp r15d, 0x87
jne 0x180054956
movsx ecx, word [r14 + 0x30]
mov rdi, qword [rsi + 0x10]
cmp ecx, 0x20
jle 0x1800548e8
or dword [rdi + 0x104], 0xffffffff
jmp 0x1800548f7
dec ecx
mov eax, 1
shl eax, cl
or dword [rdi + 0x104], eax
cmp dword [rbp], ebx
je 0x180054956
mov rax, qword [r14 + 8]
cmp byte [rax + 1], bl
je 0x180054956
mov al, byte [rsi + 0x1f]
cmp al, bl
jne 0x180054914
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x180054920
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x24]
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
call fcn.18002fa1c
mov r11d, dword [rdi + 0x3c]
lea eax, [r11 - 1]
cmp r11d, eax
jbe 0x180054947
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 0xc], ebx
mov edx, ebp
mov rcx, rsi
call fcn.180031910
jmp 0x180054956
mov r13, rbx
cmp r12, rbx
je 0x18005496f
mov rcx, r12
call fcn.18001de7c
mov rcx, qword [r12]
mov rdx, r12
call fcn.180005a84
cmp r13, rbx
setne bl
mov eax, ebx
jmp 0x18005497b
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret