Function at 0x140050270
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
call fcn.140046130
nop
lea rax, vtable.CCustomTaiwan.0
mov qword [rdi], rax
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], ebx
test rsi, rsi
jne 0x1400502cd
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomtaiwan.cpp
lea edx, [rsi + 0x2c]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp case.0x140050a61.341970974
xor eax, eax
mov qword [rdi + 0x80], rax
lea rbx, [rdi + 0x88]
xor edx, edx
lea r8d, [rax + 0x60]
mov rcx, rbx
call fcn.1402841a0
movzx ecx, word [rsi + 0x44a]
mov r8d, 0x1000
sub ecx, 0x1025
je 0x1400503ac
sub ecx, 0x1e
je 0x140050333
cmp ecx, 0x41f
jne 0x140050417
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x400000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x548], 0x400
jmp 0x140050417
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], r8d
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x800
mov rax, qword [rdi + 0x10]
or dword [rax + 0x58], 2
movzx eax, word [rsi + 0x448]
mov ecx, 0xf000
and ax, cx
cmp ax, r8w
jne 0x14005037f
mov dword [rdi + 0x20], 0
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 0x1e
mov dword [rdi + 0x1c], 1
mov rax, qword [rdi + 0x10]
test dword [rax + 0x1a8], 0x10000
je 0x14005039a
and dword [rax + 0x2c], 0xfffff7ff
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x168], 0x11
jne 0x140050417
or dword [rax + 0x34], 0x2000000
jmp 0x140050417
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x40000000
mov rax, qword [rdi + 0x10]
mov rcx, rax
test dword [rax + 0x274], 0x200000
je 0x1400503d8
test byte [rax + 0x70], 0x80
jne 0x1400503d8
or dword [rax + 0x30], 2
mov rcx, qword [rdi + 0x10]
or dword [rcx + 0x30], 1
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x1d38], 1
jne 0x1400503ff
or dword [rax + 0x30], 0x4000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x2000000
mov rax, qword [rdi + 0x10]
mov eax, dword [rax + 0x104]
shl eax, 2
xor eax, dword [rdi + 0x80]
and eax, 8
xor dword [rdi + 0x80], eax
mov eax, dword [rdi + 0x18]
lea rdx, [0x140000000]
cmp eax, 0x153
jg 0x1400504f4
je case.0x140050454.46
sub eax, 0x24
cmp eax, 0xca
ja case.0x140050454.48
cdqe
movzx eax, byte [rdx + rax + 0x50c7c]
mov ecx, dword [rdx + rax*4 + 0x50c48]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 1
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 2
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x10
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x8000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x40
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 8
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x800
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
and dword [rax + 0x2c], 0xfffff7ff
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x100000
or dword [rdi + 0x80], 1
jmp case.0x140050454.48
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x10000000
jmp case.0x140050454.48
cmp eax, 0x15b
je case.0x140050454.46
add eax, 0xfffffe9e
cmp eax, 1
ja case.0x140050454.48
mov rax, qword [rdi + 0x10]
and dword [rax + 0x2c], 0xfffff7ff
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x200000
movzx ecx, word [rsi + 0x448]
movzx eax, word [rsi + 0x44a]
shl eax, 0x10
or ecx, eax
cmp ecx, 0x104316d3
ja 0x14005082b
je 0x14005081b
cmp ecx, 0x1025022b
ja 0x1400506d1
cmp ecx, 0x10250229
jae case.0x140050703.270860854
cmp ecx, 0x10250128
ja 0x140050592
je case.0x1400505b6.270860602
cmp ecx, 0x10192991
je 0x140050582
cmp ecx, 0x1019a88d
jne case.0x140050a61.341970974
or dword [rdi + 0x80], 2
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x400
jmp case.0x140050a61.341970974
add ecx, 0xefdafec8
cmp ecx, 0xe9
ja case.0x140050a61.341970974
movzx eax, byte [rdx + rcx + 0x50d6c]
mov ecx, dword [rdx + rax*4 + 0x50d48]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x8000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x80000
mov dword [rdi + 0x24], 0xa
mov dword [rdi + 0x1c], 1
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x80000
mov dword [rdi + 0x24], 0xa
mov dword [rdi + 0x1c], 1
or dword [rdi + 0x80], 0x400
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x20000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x80000
mov dword [rdi + 0x24], 0xa
mov dword [rdi + 0x1c], 1
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x10
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
or dword [rdi + 0x80], 8
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x2000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x40000
or dword [rdi + 0x80], 0x40
movaps xmm0, xmmword [0x1403bae00]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x1403bae10]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1403bae20]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1403bae30]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x1403bae40]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x1403bae50]
movups xmmword [rbx + 0x50], xmm1
jmp case.0x140050a61.341970974
cmp ecx, 0x10250518
ja 0x14005073e
je 0x14005077b
add ecx, 0xefdafdcb
cmp ecx, 0xd6
ja case.0x140050a61.341970974
movzx eax, byte [rdx + rcx + 0x50e70]
mov ecx, dword [rdx + rax*4 + 0x50e58]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x40000
or dword [rdi + 0x80], 0x408
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 0x400
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x2000000
jmp case.0x140050a61.341970974
cmp ecx, 0x10431153
ja 0x1400507d5
je 0x1400507bd
cmp ecx, 0x10250626
ja 0x140050794
je 0x14005077b
cmp ecx, 0x10250563
jb case.0x140050a61.341970974
cmp ecx, 0x10250564
jbe 0x140050788
lea eax, [rcx - 0x10250618]
test eax, 0xfffffffb
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x50], 0x40
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 8
jmp case.0x140050a61.341970974
cmp ecx, 0x1025063f
jb case.0x140050a61.341970974
cmp ecx, 0x10250642
jbe 0x14005077b
cmp ecx, 0x10431033
je 0x1400507bd
cmp ecx, 0x10431053
je 0x1400507c5
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 4
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x8000000
jmp case.0x140050a61.341970974
cmp ecx, 0x10431343
ja 0x1400507fd
je 0x14005080e
sub ecx, 0x10431163
je 0x1400507c5
sub ecx, 0x60
je 0x140050880
cmp ecx, 0x175
je 0x14005080e
jmp case.0x140050a61.341970974
sub ecx, 0x104313b2
je 0x14005080e
cmp ecx, 0x11
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 2
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x800
jmp case.0x140050a61.341970974
cmp ecx, 0x14621004
ja 0x140050a36
je case.0x140050a61.341970972
cmp ecx, 0x1043831a
ja 0x14005094d
je 0x140050977
cmp ecx, 0x104319a3
ja 0x1400508dd
je 0x140050880
cmp ecx, 0x10431873
ja 0x1400508cb
je 0x14005089c
sub ecx, 0x10431723
je 0x14005088f
sub ecx, 0x40
je 0x140050880
cmp ecx, 0xc0
jne case.0x140050a61.341970974
or dword [rdi + 0x80], 0x200
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 8
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x80000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 1
or dword [rdi + 0x80], 0x28
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 4
jmp case.0x140050a61.341970974
sub ecx, 0x10431878
je 0x140050880
cmp ecx, 0x1b
je 0x140050880
jmp case.0x140050a61.341970974
sub ecx, 0x104319b3
je 0x140050880
sub ecx, 0x6834
je case.0x1400505b6.270860601
sub ecx, 0xe4
je 0x14005093d
sub ecx, 0x3c
je 0x14005092e
cmp ecx, 0x10
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x80000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 1
or dword [rdi + 0x80], 0x28
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 2
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 0x184
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x200
jmp case.0x140050a61.341970974
cmp ecx, 0x104384b0
ja 0x1400509ae
je 0x140050997
sub ecx, 0x10438330
je 0x140050977
sub ecx, 0x1a
je 0x140050977
sub ecx, 0x15
je 0x140050987
sub ecx, 0x39
je 0x140050977
cmp ecx, 0x36
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x4000000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x80
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 0x4000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
jmp case.0x140050a61.341970974
sub ecx, 0x104384bc
je 0x140050a26
sub ecx, 0x2dc344
je 0x140050a05
sub ecx, 0x4808
je 0x1400509eb
sub ecx, 0x68
je 0x1400509e4
cmp ecx, 0x97104
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
jmp case.0x140050a61.341970974
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x24], 3
mov dword [rdi + 0x1c], 1
jmp case.0x140050a61.341970974
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x24], reloc.OLEAUT32.dll_SafeArrayDestroy
mov dword [rdi + 0x1c], 1
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x50], 0x4000
jmp case.0x140050a61.341970974
cmp ecx, 0x14623783
ja 0x140050a97
je 0x140050a7d
add ecx, 0xeb9defe4
cmp ecx, 0x64
ja case.0x140050a61.341970974
movzx eax, byte [rdx + rcx + 0x50f54]
mov ecx, dword [rdx + rax*4 + 0x50f48]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x20
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x44], 1
jmp case.0x140050a61.341970974
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x1c], 1
jmp case.0x140050a61.341970974
cmp ecx, 0x14627517
ja 0x140050b8e
je 0x140050652
cmp ecx, 0x14626481
ja 0x140050b25
je 0x140050b19
cmp ecx, 0x1462524b
ja 0x140050ae8
cmp ecx, 0x1462524a
jae 0x140050b59
sub ecx, 0x14624aa7
je 0x140050ad8
cmp ecx, 0xa
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x400000
jmp case.0x140050a61.341970974
cmp ecx, 0x1462531b
je 0x140050b59
cmp ecx, 0x14626300
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 8
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 1
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 4
jmp case.0x140050a61.341970974
cmp ecx, 0x1462678a
je 0x140050b7e
cmp ecx, 0x14627248
je 0x140050b69
cmp ecx, 0x1462736a
je 0x140050b59
cmp ecx, 0x14627441
jne case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x2000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x4000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x40
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x50], 0x400
jmp case.0x140050a61.341970974
cmp ecx, 0x17ff0594
ja 0x140050bee
je 0x140050be5
sub ecx, 0x15093005
je 0x140050bd8
sub ecx, 0x2b6e0d2
je 0x140050bbc
sub ecx, 0x3ef4b9
je 0x140050ad8
cmp ecx, 2
jmp 0x140050ad2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
or dword [rdi + 0x80], r8d
mov rax, qword [rdi + 0x10]
mov dword [rax + 0x40], 1
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x20000000
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 0x10
jmp case.0x140050a61.341970974
sub ecx, 0x1b0a00ad
je 0x140050c2b
sub ecx, 0x1a
je 0x140050c21
sub ecx, 8
je 0x140050c14
cmp ecx, 0x1fd1
jne case.0x140050a61.341970974
or dword [rdi + 0x80], 0x8000
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x800
jmp case.0x140050a61.341970974
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 8
jmp case.0x140050a61.341970974
or dword [rdi + 0x80], 0x800
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret