Function at 0x140046300
Capabilities:
Check os version
Inspect section memory permissions
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
lea rax, vtable.CCustomized.0
mov qword [rcx], rax
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14004628e
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rdi + 8], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400462bc
mov rcx, rbx
test rbx, rbx
je 0x1400462fa
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400462b7
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rbx, rbx
jne 0x140046297
lea rcx, [rdi + 0x30]
call fcn.1401032ac
nop
mov rdx, qword [rdi + 0x68]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400462e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rdi + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140102ff0
call fcn.1400f5890
nop
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140046348
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomized.cpp
mov edx, reloc.OLEAUT32.dll_UnRegisterTypeLib
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov qword [rcx + 0x10], rdi
xor eax, eax
mov qword [rdx + 0x2c], rax
mov qword [rdx + 0x34], rax
mov qword [rdx + 0x3c], rax
mov qword [rdx + 0x44], rax
mov qword [rdx + 0x4c], rax
mov qword [rdx + 0x54], rax
mov qword [rdx + 0x5c], rax
mov qword [rdx + 0x64], rax
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x78], esi
mov r9d, 0x20019
lea r8, str.SOFTWARERealtekGeneral
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.1400146e0
lea ebp, [rsi + 4]
test eax, eax
jne 0x1400463fd
mov dword [rsp + 0x80], ebp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.HideAudioIcon
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400463fd
cmp dword [rsp + 0x88], ebp
jne 0x1400463fd
cmp dword [rsp + 0x78], 1
jne 0x1400463fd
or dword [rdi + 0x70], 0x400
lea rcx, [rsp + 0x38]
call fcn.1400147e0
test dword [rdi + 0x70], 0x4400
jne 0x14004643a
test dword [rdi + 0x15c], 0x20000
jne 0x14004643a
mov eax, 0x103c
cmp ax, word [rdi + 0x44e]
jne 0x140046436
mov rcx, rbx
call fcn.14004cba0
test eax, eax
jne 0x14004643a
mov edx, esi
jmp 0x14004643f
mov edx, 1
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x2c]
and eax, 0xfffffffe
or eax, edx
mov dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x70]
shr eax, 4
xor eax, dword [rcx + 0x2c]
and eax, ebp
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x70]
shl eax, 4
xor eax, dword [rcx + 0x30]
and eax, 0x8000000
xor dword [rcx + 0x30], eax
mov rax, qword [rbx + 0x10]
or dword [rax + 0x30], 1
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x104]
shl eax, 0x12
xor eax, dword [rcx + 0x30]
and eax, 0x100000
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x10c]
shl eax, 0xd
xor eax, dword [rcx + 0x34]
and eax, 0x40000
xor dword [rcx + 0x34], eax
test byte [rdi + 0x104], bpl
jne 0x1400464c1
test byte [rdi + 0x10c], 0x20
mov edx, esi
je 0x1400464c6
mov edx, 0x80000
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x34]
btr eax, 0x13
or eax, edx
mov dword [rcx + 0x34], eax
test byte [rdi + 0x10c], 0x20
jne 0x1400464ed
test dword [rdi + 0x15c], 0x40000
mov edx, esi
je 0x1400464f2
mov edx, 0x100000
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x34]
btr eax, 0x14
or eax, edx
mov dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x6c]
shr eax, 7
xor eax, dword [rcx + 0x30]
and eax, 0x200
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x104]
shl eax, 0x12
xor eax, dword [rcx + 0x30]
mov edx, 0x20000000
and eax, edx
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x104]
shr eax, 7
xor eax, dword [rcx + 0x2c]
and eax, 0x20
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x104]
shl eax, 0x10
xor eax, dword [rcx + 0x30]
and eax, 0x40000000
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x104]
shr eax, 4
xor eax, dword [rcx + 0x30]
and eax, 0x800
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rcx + 0x107]
xor eax, dword [rcx + 0x34]
and eax, 0x10
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x108]
shr eax, 0x16
xor eax, dword [rcx + 0x34]
and eax, 8
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x108]
shr eax, 8
xor eax, dword [rcx + 0x34]
and eax, 0x800
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x144]
mov dword [rcx + 0x64], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x108]
shr eax, 0xb
xor eax, dword [rcx + 0x34]
and eax, 0x8000
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shl eax, 0x15
xor eax, dword [rcx + 0x34]
and eax, 0x1000000
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x10c]
shr eax, 0x12
xor eax, dword [rcx + 0x34]
and eax, 0x100
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x10c]
shr eax, 5
xor eax, dword [rcx + 0x34]
and eax, 0x4000000
xor dword [rcx + 0x34], eax
test byte [rdi + 0x110], 0x10
je 0x14004663b
test dword [rdi + 0x12c], 0x108
jne 0x14004663d
mov edx, esi
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x34]
btr eax, 0x1d
or eax, edx
mov dword [rcx + 0x34], eax
test byte [rdi + 0x110], 0x10
je 0x140046667
test dword [rdi + 0xdc], 0x2000000
mov edx, 0x2000000
jne 0x140046669
mov edx, esi
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x30]
btr eax, 0x19
or eax, edx
mov dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x110]
shr eax, 0x19
xor eax, dword [rcx + 0x3c]
and eax, 1
xor dword [rcx + 0x3c], eax
mov rcx, qword [rbx + 0x10]
movzx eax, word [rdi + 0x72]
xor eax, dword [rcx + 0x3c]
and eax, 8
xor dword [rcx + 0x3c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x110]
shr eax, 0x11
xor eax, dword [rcx + 0x30]
and eax, 0x1000
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x114]
shr eax, 4
xor eax, dword [rcx + 0x3c]
and eax, 0x80
xor dword [rcx + 0x3c], eax
test dword [rdi + 0x104], 0x4000000
jne 0x1400466ea
test dword [rdi + 0x184], 0x1000000
jne 0x1400466ea
mov ebp, esi
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x34]
and eax, 0xfffffffb
or eax, ebp
mov dword [rcx + 0x34], eax
mov ecx, dword [rdi + 0x114]
shr ecx, 0x1b
and ecx, 1
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x48], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shl eax, 0x13
xor eax, dword [rcx + 0x2c]
and eax, 0x800000
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shl eax, 8
xor eax, dword [rcx + 0x2c]
and eax, 0x1000
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shl eax, 0x11
xor eax, dword [rcx + 0x34]
and eax, 0x8000000
xor dword [rcx + 0x34], eax
test byte [rdi + 0x70], 0x80
jne 0x140046765
test byte [rdi + 0x15c], 0x40
mov edx, esi
je 0x14004676a
mov edx, 1
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x4c]
and eax, 0xfffffffe
or eax, edx
mov dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 6
xor eax, dword [rcx + 0x44]
and eax, 1
xor dword [rcx + 0x44], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 0x13
xor eax, dword [rcx + 0x2c]
and eax, 0x80
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x70]
shr eax, 0x1d
xor eax, dword [rcx + 0x3c]
and eax, 4
xor dword [rcx + 0x3c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shr eax, 0x13
xor eax, dword [rcx + 0x4c]
and eax, 2
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x6c]
shr eax, 0x13
xor eax, dword [rcx + 0x4c]
and eax, 4
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shr eax, 0x12
xor eax, dword [rcx + 0x4c]
and eax, 0x10
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 2
xor eax, dword [rcx + 0x4c]
and eax, 0x20
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x70]
shl eax, 9
xor eax, dword [rcx + 0x4c]
and eax, 0x200
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x70]
shl eax, 9
xor eax, dword [rcx + 0x4c]
and eax, 0x400
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shr eax, 0xd
xor eax, dword [rcx + 0x4c]
and eax, 0x800
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x118]
shr eax, 0x12
xor eax, dword [rcx + 0x4c]
and eax, 0x1000
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shl eax, 6
xor eax, dword [rcx + 0x4c]
and eax, 0x4000
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x11c]
shl eax, 0xb
xor eax, dword [rcx + 0x4c]
and eax, 0x8000
xor dword [rcx + 0x4c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x11c]
shr eax, 5
xor eax, dword [rcx + 0x50]
and eax, 1
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 8
xor eax, dword [rcx + 0x50]
and eax, 2
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x128]
shr eax, 6
xor eax, dword [rcx + 0x50]
and eax, 4
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 8
xor eax, dword [rcx + 0x2c]
and eax, 0x10
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 0xa
xor eax, dword [rcx + 0x50]
and eax, 8
xor dword [rcx + 0x50], eax
test dword [rdi + 0x15c], 0x4000
jne 0x140046921
test dword [rdi + 0x1a8], 0x4000
mov edx, esi
je 0x140046926
mov edx, 0x10
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x50]
and eax, 0xffffffef
or eax, edx
mov dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x128]
shr eax, 0xa
xor eax, dword [rcx + 0x50]
and eax, 0x20
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x128]
shr eax, 9
xor eax, dword [rcx + 0x50]
and eax, 0x80
xor dword [rcx + 0x50], eax
test dword [rdi + 0x70], 0x400
jne 0x140046986
test dword [rdi + 0x15c], 0x20000
jne 0x140046986
test dword [rdi + 0x548], 0x400000
mov edx, esi
je 0x14004698b
mov edx, 0x100
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x50]
btr eax, 8
or eax, edx
mov dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shl eax, 9
xor eax, dword [rcx + 0x30]
and eax, 0x400
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 8
xor eax, dword [rcx + 0x50]
and eax, 0x800
xor dword [rcx + 0x50], eax
mov eax, dword [rdi + 0x184]
bt eax, 0xe
jae 0x1400469fe
mov rax, qword [rbx + 0x10]
or dword [rax + 0x4c], 0x80
mov rax, qword [rbx + 0x10]
or dword [rax + 0x4c], 0x100
mov rax, qword [rbx + 0x10]
and dword [rax + 0x4c], 0xfffffdff
mov eax, dword [rdi + 0x184]
bt eax, 0x11
jae 0x140046a0c
mov rax, qword [rbx + 0x10]
or dword [rax + 0x4c], 0x40
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x1c8]
xor eax, dword [rcx + 0x50]
and eax, 0x1000
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x184]
shr eax, 0xf
xor eax, dword [rcx + 0x50]
and eax, 0x2000
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
movzx eax, word [rdi + 0x186]
xor eax, dword [rcx + 0x50]
and eax, 0x8000
xor dword [rcx + 0x50], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x188]
shl eax, 0xe
xor eax, dword [rcx + 0x50]
and eax, 0x10000
xor dword [rcx + 0x50], eax
mov ecx, dword [rdi + 0x180]
shr ecx, 0x19
and ecx, 1
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x54], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 7
xor eax, dword [rcx + 0x2c]
and eax, 0x40000
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 8
xor eax, dword [rcx + 0x58]
and eax, 4
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 7
xor eax, dword [rcx + 0x58]
and eax, 8
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x15c]
shr eax, 0x1b
xor eax, dword [rcx + 0x58]
and eax, 0x10
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x190]
shr eax, 3
xor eax, dword [rcx + 0x58]
and eax, 0x40
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x190]
shr eax, 2
xor eax, dword [rcx + 0x58]
and eax, 0x80
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x160]
shl eax, 0xf
xor eax, dword [rcx + 0x34]
and eax, 0x10000
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x190]
shr eax, 3
xor eax, dword [rcx + 0x58]
and eax, 0x100
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x160]
shl eax, 7
xor eax, dword [rcx + 0x58]
and eax, 0x200
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rdi + 0x190]
shr eax, 0xa
xor eax, dword [rcx + 0x58]
and eax, 0x400
xor dword [rcx + 0x58], eax
test dword [rdi + 0x190], 0x40000000
je 0x140046ba6
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140046b95
mov dword [0x1403db8d0], 0x114
lea rcx, [0x1403db8d0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140046ba6
cmp dword [0x1403db8d8], 2
lea edx, [rax - 4]
je 0x140046ba8
mov edx, esi
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x5c]
and eax, 0xfffffffd
or eax, edx
mov dword [rcx + 0x5c], eax
mov eax, dword [rdi + 0x220]
mov ecx, 0x15e
test eax, eax
cmovne ecx, eax
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x68], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x18c]
shr eax, 6
xor eax, dword [rcx + 0x58]
and eax, 0x800
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shl eax, 9
xor eax, dword [rcx + 0x58]
and eax, 0x1000
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shl eax, 9
xor eax, dword [rcx + 0x58]
and eax, 0x2000
xor dword [rcx + 0x58], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shr eax, 5
xor eax, dword [rcx + 0x5c]
and eax, 1
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1cc]
shl eax, 2
xor eax, dword [rcx + 0x5c]
and eax, 4
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x194]
shl eax, 4
xor eax, dword [rcx + 0x5c]
and eax, 0x10
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x194]
shr eax, 3
xor eax, dword [rcx + 0x5c]
and eax, 0x20
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x194]
shr eax, 8
xor eax, dword [rcx + 0x5c]
and eax, 0x40
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x194]
shr eax, 0xc
xor eax, dword [rcx + 0x5c]
and eax, 0x80
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shl eax, 2
xor eax, dword [rcx + 0x5c]
and eax, 0x100
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x180]
shr eax, 9
xor eax, dword [rcx + 0x34]
and eax, 0x20
xor dword [rcx + 0x34], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x6c]
shr eax, 4
xor eax, dword [rcx + 0x2c]
and eax, 0x100000
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shl eax, 4
xor eax, dword [rcx + 0x5c]
and eax, 0x800
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
xor eax, dword [rcx + 0x5c]
and eax, 0x1000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
xor eax, dword [rcx + 0x5c]
and eax, 0x2000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
xor eax, dword [rcx + 0x5c]
and eax, 0x4000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
shr eax, 3
xor eax, dword [rcx + 0x5c]
and eax, 0x20000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
shr eax, 5
xor eax, dword [rcx + 0x5c]
and eax, 0x40000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
shr eax, 6
xor eax, dword [rcx + 0x5c]
and eax, 0x80000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1a0]
xor eax, dword [rcx + 0x5c]
and eax, 0x100000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1a0]
shr eax, 2
xor eax, dword [rcx + 0x5c]
and eax, 0x200000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
shr eax, 9
xor eax, dword [rcx + 0x5c]
and eax, 0x400000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1a0]
shr eax, 2
xor eax, dword [rcx + 0x5c]
and eax, 0x800000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x160]
shl eax, 0xf
xor eax, dword [rcx + 0x5c]
and eax, 0x1000000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x19c]
shr eax, 6
xor eax, dword [rcx + 0x5c]
and eax, 0x2000000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0xd4]
shl eax, 0xa
xor eax, dword [rcx + 0x5c]
and eax, 0x4000000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1a0]
shr eax, 4
xor eax, dword [rcx + 0x5c]
and eax, 0x8000000
xor dword [rcx + 0x5c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1a8]
shr eax, 0x15
xor eax, dword [rcx + 0x2c]
and eax, 8
xor dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x1dc]
shr eax, 0xc
xor eax, dword [rcx + 0x30]
and eax, 0x8000
xor dword [rcx + 0x30], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0x80]
shr eax, 0x12
xor eax, dword [rcx + 0x30]
and eax, 0x80
xor dword [rcx + 0x30], eax
mov rcx, rbx
call fcn.140049410
test eax, eax
jne 0x140046e90
mov dword [rbx + 0x18], esi
movzx r11d, word [rdi + 0x44a]
movzx r10d, word [rdi + 0x448]
mov eax, r11d
shl eax, 0x10
or r10d, eax
movzx r9d, word [rdi + 0x44e]
shl r9d, 0x10
movzx eax, word [rdi + 0x44c]
or r9d, eax
mov r8d, esi
lea rcx, [0x140325dc8]
nop dword [rax]
mov edx, dword [rcx - 8]
test edx, edx
je 0x140046f00
sub edx, 1
je 0x140046efb
sub edx, 1
je 0x140046ef5
sub edx, 1
je 0x140046ef0
cmp edx, 1
jne 0x140046f08
cmp r11d, dword [rcx]
jmp 0x140046f06
cmp r10d, dword [rcx]
jne 0x140046f08
cmp r9d, dword [rcx + 4]
jmp 0x140046f06
cmp r10d, dword [rcx]
jmp 0x140046f06
mov eax, dword [rbx + 0x18]
cmp dword [rcx - 4], eax
je 0x140046f1b
inc r8d
add rcx, 0x14
cmp r8d, 0x5d
jae 0x140047022
jmp 0x140046ed0
movsxd rax, r8d
lea rcx, [rax + rax*4]
lea rdx, [0x140325dd0]
mov edx, dword [rdx + rcx*4]
test edx, edx
je 0x140046ff7
sub edx, 1
je 0x140046fce
sub edx, 1
je 0x140046fa5
sub edx, 1
je 0x140046f7c
cmp edx, 1
jne 0x140047022
mov ecx, 0x250
call fcn.1400f48fc
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140046f77
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004e020
mov rsi, rax
jmp 0x14004701e
mov ecx, 0x88
call fcn.1400f48fc
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140046fa3
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004d9b0
mov rsi, rax
jmp 0x14004701e
mov ecx, 0x248
call fcn.1400f48fc
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140046fcc
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004cd60
mov rsi, rax
jmp 0x14004701e
mov ecx, 0xe8
call fcn.1400f48fc
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140046ff5
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140050270
mov rsi, rax
jmp 0x14004701e
mov ecx, 0x1f0
call fcn.1400f48fc
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14004701e
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140043970
mov rsi, rax
mov qword [rbx + 8], rsi
mov rax, qword [rbx + 0x10]
test dword [rax + 0xd0], 0x4000000
je 0x140047048
and dword [rax + 0x2c], 0xfffff7ff
mov rax, qword [rbx + 0x10]
or dword [rax + 0x2c], 0x200000
mov rax, qword [rbx + 0x10]
test dword [rax + 0x34], 0x80000
je 0x140047082
or dword [rax + 0x30], 0x80000
mov rcx, qword [rbx + 0x10]
mov edx, dword [rcx + 0x30]
bt edx, 0x14
jae 0x140047070
bts edx, 0x17
mov dword [rcx + 0x30], edx
mov rcx, qword [rbx + 0x10]
and dword [rcx + 0x30], 0xffdfffff
mov rcx, qword [rbx + 0x10]
or dword [rcx + 0x30], 0x1000000
mov eax, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret