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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401239e0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x140054b85
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
cmp qword [rcx + rax + 0x18], 0
je 0x140054bb4
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax + 0x18]
call fcn.140054b50
nop
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
cmp qword [rcx + rax + 0x18], 0
je 0x140054be3
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax + 0x18]
call fcn.140054b50
nop
mov dword [rsp + 0x24], 0
jmp 0x140054bf7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x140054e14
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call fcn.140040040
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xa4]
inc eax
mov rcx, qword [rsp + 0x40]
cmp eax, dword [rcx + 0x1c90]
jne 0x140054c51
mov dword [rsp + 0x30], 1
jmp 0x140054c59
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140054c94
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2b8]
inc eax
mov rcx, qword [rsp + 0x40]
cmp eax, dword [rcx + 0x1c90]
jge 0x140054c94
mov dword [rsp + 0x34], 1
jmp 0x140054c9c
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x20]
or eax, dword [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140054d0a
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
shr al, 4
and al, 1
movzx eax, al
test eax, eax
jne 0x140054cdf
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xb4], ecx
jne 0x140054d0a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xd8]
test eax, eax
je 0x140054d0a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
and eax, 0x100000
test eax, eax
jne 0x140054d0a
mov dword [rsp + 0x38], 1
jmp 0x140054d12
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x20]
or eax, dword [rsp + 0x38]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x429]
shr cl, 2
and cl, 1
movzx ecx, cl
or eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140054dd7
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x429]
and al, 0xfb
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x429], al
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jne 0x140054db4
mov rcx, qword [rsp + 0x60]
call fcn.14005d8c0
movzx eax, al
test eax, eax
jne 0x140054db4
mov rcx, qword [rsp + 0x60]
call fcn.14004e1d0
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xc], 1
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14004fd00
nop
jmp 0x140054f56
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14004fd00
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x140054e0f
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2c]
not eax
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 8]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x28]
mov eax, dword [rax + 8]
or eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
jmp 0x140054bed
mov rcx, qword [rsp + 0x60]
call fcn.14005a960
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
shr al, 7
and al, 1
movzx eax, al
test eax, eax
je 0x140054e7a
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jne 0x140054e7a
mov eax, dword [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x140054e7a
mov rcx, qword [rsp + 0x60]
call fcn.14005db20
movzx eax, al
test eax, eax
jne 0x140054e7a
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
or al, 1
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
and al, 0x7f
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbc], al
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 1
movzx eax, al
test eax, eax
je 0x140054ee8
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x88], 0
je 0x140054ee8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x88]
mov eax, dword [rax + 0x28]
and eax, 0x2000
test eax, eax
je 0x140054ee8
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 0xfe
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jle 0x140054f09
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
btr eax, 0xd
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
jmp 0x140054f32
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 1
movzx eax, al
test eax, eax
je 0x140054f32
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
btc eax, 0xd
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 0xfe
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rcx, qword [rsp + 0x60]
call fcn.140054a00
nop
add rsp, 0x58
ret