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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1800923a0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r11, qword [rbp + 0x3f8]
mov r15, rdx
lea edx, [r9 + 0xa]
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x68], rcx
mov r14, r8
mov qword [rsp + 0x48], r11
mov r12d, r9d
mov qword [rsp + 0x70], 0
mov r8, rcx
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x38], edx
cmp r9d, edx
jae case.0x180054734.6
mov edi, dword [rsp + 0x58]
lea edx, [r9 - 0x94]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x68]
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], edx
mov rbx, qword [rbp + 0x3f0]
lea r9, [0x180000000]
cmp edx, 0x15
ja case.default.0x180054734
mov ecx, dword [r9 + rdx*4 + 0x54cbc]
add rcx, r9
jmp rcx
movsxd rcx, dword [r15]
mov rax, qword [rbx + 0x10]
movsxd r9, dword [r11]
movsxd r10, dword [rax + rcx*4]
mov rcx, qword [rbx + 0x78]
add r10, qword [rbx + 0x70]
sub rcx, r14
cmp r9, rcx
jg 0x180054a0d
test byte [r8], 1
je 0x1800547b5
test r9d, r9d
jle 0x1800547e3
nop word [rax + rax]
dec r9d
lea r10, [r10 + 1]
mov dword [r11], r9d
mov rdx, qword [rbx + 0x30]
movzx eax, byte [r10 - 1]
movzx r8d, byte [r14]
inc r14
movzx ecx, byte [rax + rdx]
cmp cl, byte [r8 + rdx]
jne 0x180054a0d
test r9d, r9d
jg 0x180054770
mov edx, dword [rsp + 0x3c]
lea eax, [r9 - 1]
mov dword [r11], eax
mov dword [rsp + 0x34], 1
jmp case.0x180054734.7
test r9d, r9d
jle 0x1800547e3
nop word [rax + rax]
dec r9d
lea r10, [r10 + 1]
mov dword [r11], r9d
movzx eax, byte [r14]
inc r14
movzx ecx, byte [r10 - 1]
cmp cl, al
jne 0x180054a0d
test r9d, r9d
jg 0x1800547c0
lea eax, [r9 - 1]
mov dword [rsp + 0x34], 1
mov dword [r11], eax
jmp case.0x180054734.7
mov r8d, edi
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
jmp 0x180054c26
mov rax, qword [r11 + 0x88]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x60], 8
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x81
call fcn.180007980
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov edx, 1
lea r8d, [rdx + 7]
call qword [r14]
cmp rax, 8
jne 0x180054a0d
mov edi, 0x103
jmp 0x180054c26
xor edx, edx
mov dword [rsp + 0x34], edx
cmp dword [r11 + 0x94], edx
jbe 0x180054b86
nop dword [rax]
mov dword [rsp + 0x30], 0xef
mov r12d, 8
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], r12d
nop word [rax + rax]
cmp r12d, 8
ja case.default.0x1800548b8
mov eax, r12d
mov ecx, dword [r9 + rax*4 + 0x54d14]
add rcx, r9
jmp rcx
movzx eax, byte [r13 + 8]
lea r9, [rbp - 0x80]
mov r8d, 0x77
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x50]
call fcn.18002aa40
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov edx, 1
mov r8d, edx
call qword [r14]
cmp rax, 1
jne 0x180054a0d
mov edi, 0xc
jmp 0x180054b41
mov eax, edx
lea rcx, [rax + rax*4]
mov rax, qword [r11 + 0x98]
lea r13, [rax + rcx*8]
jmp 0x180054b51
mov r8d, edi
lea rcx, [rbp - 0x80]
xor edx, edx
mov ebx, edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r13 + 0x18]
mov ecx, eax
shr ecx, 1
add al, al
and cl, 1
or cl, al
shl cl, 6
mov byte [rbp - 0x80], cl
lea rcx, [rbp - 0x80]
mov r9, qword [r15]
mov edx, 1
mov r8d, edi
call qword [r14]
cmp rax, rbx
jmp 0x180054b3b
movzx eax, byte [r13 + 0x1c]
lea r9, [rbp - 0x80]
mov r8d, 0x77
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
lea rcx, [rsp + 0x40]
call fcn.18002aa40
jmp 0x180054b41
mov edi, 0xe
jmp 0x180054b51
mov ebx, edi
lea rcx, [r13 + 9]
jmp 0x180054949
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov r8d, edi
mov edx, 1
mov ebx, edi
call qword [r14]
cmp rax, rbx
jne 0x180054a0d
xor r12d, r12d
cmp byte [r13 + 0x1c], r12b
jbe 0x180054adb
mov ebx, 0x50
cmp ebx, 0x50
je 0x180054aa8
cmp ebx, 0x104
je 0x180054a14
cmp ebx, 0x1b8
jne 0x180054ab8
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
xor eax, eax
mov edi, 3
mov word [rbp - 0x80], ax
mov byte [rbp - 0x7e], al
lea edx, [rax + 1]
lea r8d, [rax + 3]
call qword [r14]
cmp rax, 3
je 0x180054ab8
xor eax, eax
jmp 0x180054c90
mov rax, qword [rsi]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x81
call fcn.180007980
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov r8, rdi
mov edx, 1
call qword [r14]
cmp rax, rdi
jne 0x180054a0d
movzx eax, byte [rsi + 8]
lea r9, [rbp - 0x80]
mov r8d, 0x77
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x50]
mov edi, 1
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x50], 1
call fcn.18002aa40
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov edx, 1
mov r8d, edx
call qword [r14]
cmp rax, 1
jne 0x180054a0d
jmp 0x180054ab8
mov esi, r12d
shl rsi, 4
add rsi, qword [r13 + 0x20]
mov edi, 8
add ebx, 0xb4
cmp ebx, 0x26c
jb 0x1800549c7
movzx eax, byte [r13 + 0x1c]
inc r12d
cmp r12d, eax
jb 0x1800549c2
mov r12d, dword [rsp + 0x40]
jmp 0x180054b41
mov edi, 1
jmp 0x180054b51
mov rax, qword [r13]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rax, [rbp - 0x80]
mov edi, 8
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 0x81
mov dword [rsp + 0x58], 8
call fcn.180007980
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov edx, 1
lea r8d, [rdx + 7]
call qword [r14]
cmp rax, 8
jne 0x180054a0d
mov r11, qword [rsp + 0x48]
lea r9, [0x180000000]
mov edx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
dec eax
dec r12d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], r12d
cmp eax, 0xe6
ja 0x1800548a0
inc edx
mov dword [rsp + 0x34], edx
cmp edx, dword [r11 + 0x94]
jb 0x180054880
mov r12d, dword [rsp + 0x60]
mov dword [rsp + 0x34], 1
jmp 0x180054c2b
mov eax, dword [r11 + 0x94]
lea r9, [rbp - 0x80]
mov r8d, 0x77
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x58]
mov edi, 1
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], 1
call fcn.18002aa40
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov edx, 1
mov r8d, edx
call qword [r14]
cmp rax, 1
jmp 0x180054c20
cmp dword [r11 + 0x90], 0
je 0x180054bea
or byte [rbp - 0x80], 0x80
mov r9, qword [r15]
lea rcx, [rbp - 0x80]
mov r8d, edi
mov edx, 1
mov ebx, edi
call qword [r14]
cmp rax, rbx
jmp 0x180054c20
mov r9, qword [r15]
mov edx, 1
mov rcx, r11
mov edi, 0x80
lea r8d, [rdx + 0x7f]
call qword [r14]
cmp rax, 0x80
jne 0x180054a0d
mov r11, qword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
inc r12d
inc edx
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x3c], edx
cmp r12d, eax
jae case.0x180054734.6
mov r8, qword [rsp + 0x68]
jmp 0x180054712
cmp qword [r15 + 0x18], 0x10
mov rax, r15
jb 0x180054c5d
mov rax, qword [r15]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
mov rax, qword [r15 + 0x10]
mov r9d, 0x46
xor edx, edx
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.180040c70
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x34]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.180077c10
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret