Function at 0x14004e020
Capabilities:
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.CCustomOther.0
mov qword [rdi], rax
lea rcx, [rdi + 0x88]
call fcn.14007f180
nop
lea rcx, [rdi + 0xe0]
call fcn.14007f180
nop
lea rcx, [rdi + 0x138]
call fcn.14007f180
nop
lea rcx, [rdi + 0x190]
call fcn.14007f180
nop
lea rcx, [rdi + 0x1e8]
call fcn.14007f180
nop
xor r8d, r8d
mov dword [rdi + 0x240], r8d
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], ebx
xor eax, eax
mov dword [rdi + 0x80], eax
mov dword [rdi + 0x248], 0xa
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x14004e0de
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomother.cpp
lea edx, [rax + 0x35]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp case.0x14004e445.348127311
mov eax, dword [rsi + 0x15c]
shr eax, 0xa
xor eax, dword [rdi + 0x80]
and eax, 0x10
xor dword [rdi + 0x80], eax
movzx ecx, word [rsi + 0x44a]
cmp ecx, 0x14c0
ja 0x14004e15d
je 0x14004e151
sub ecx, 0x1028
je 0x14004e132
sub ecx, 0x33
je 0x14004e12c
cmp ecx, 0x9c
jne 0x14004e177
or dword [rdx + 0x34], 0x40
or dword [rdi + 0x80], 0x200000
jmp 0x14004e177
or dword [rsi + 0x30], 1
jmp 0x14004e177
or dword [rdx + 0x2c], 0x80000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x8000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x100
jmp 0x14004e177
mov dword [rdi + 0x248], 0x50
jmp 0x14004e177
cmp ecx, 0x17aa
je 0x14004e173
cmp ecx, 0x8086
jne 0x14004e177
or dword [rdx + 0x34], 8
jmp 0x14004e177
or dword [rdx + 0x34], 4
mov ecx, dword [rdi + 0x18]
cmp ecx, 0x33
je 0x14004e1aa
cmp ecx, 0x63
je 0x14004e1a0
lea eax, [rcx - 0x147]
cmp eax, 1
jbe 0x14004e197
cmp ecx, 0x178
jne 0x14004e1b2
or dword [rdi + 0x80], 1
jmp 0x14004e1b2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
jmp 0x14004e1b2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
movzx ecx, word [rsi + 0x44a]
shl ecx, 0x10
movzx eax, word [rsi + 0x448]
or ecx, eax
mov dword [rdi + 0x244], ecx
cmp ecx, 0x10280416
ja 0x14004e286
cmp ecx, 0x10280415
jae case.0x14004e2ec.271057972
add ecx, 0xefd7fdda
cmp ecx, 0xb0
ja case.0x14004e445.348127311
lea rdx, [0x140000000]
movzx eax, byte [rdx + rcx + 0x4e860]
mov ecx, dword [rdx + rax*4 + 0x4e840]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x10
jmp case.0x14004e445.348127311
or dword [rdi + 0x80], 0x10
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x400
jmp case.0x14004e445.348127311
or dword [rdi + 0x80], 0x10
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x400
or dword [rdi + 0x80], 0x10000
jmp case.0x14004e445.348127311
or dword [rdi + 0x80], 0x600
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 8
jmp case.0x14004e445.348127311
or dword [rdi + 0x80], 0x1800
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x400
jmp case.0x14004e445.348127311
cmp ecx, 0x14c00068
ja 0x14004e47e
cmp ecx, 0x14c00067
jae case.0x14004e445.348127309
cmp ecx, 0x105b0de6
ja 0x14004e3a9
je 0x14004e3d2
cmp ecx, 0x10280479
ja 0x14004e34b
cmp ecx, 0x10280477
jae 0x14004e329
add ecx, 0xefd7fbcc
cmp ecx, 0x2d
ja case.0x14004e445.348127311
lea rdx, [0x140000000]
movzx eax, byte [rdx + rcx + 0x4e928]
mov ecx, dword [rdx + rax*4 + 0x4e914]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x1000
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x80
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x1000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x80
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x400
or dword [rdi + 0x80], 0x10
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x2000
jmp case.0x14004e445.348127311
cmp ecx, 0x102804a5
je case.0x14004e2ec.271058017
cmp ecx, 0x105b0c8a
je 0x14004e713
cmp ecx, 0x105b0d53
je 0x14004e382
cmp ecx, 0x105b0de1
jne case.0x14004e445.348127311
or dword [rdi + 0x80], 0x80
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 4
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x1000
or dword [rdi + 0x80], 0x100000
jmp case.0x14004e445.348127311
cmp ecx, 0x14c0004b
ja 0x14004e41d
je 0x14004e4c8
cmp ecx, 0x105b0dfe
ja 0x14004e3f9
je 0x14004e3e9
sub ecx, 0x105b0deb
je 0x14004e3e9
cmp ecx, 0xf
jne case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x200
or dword [rdi + 0x80], 0x40
jmp case.0x14004e445.348127311
mov edx, 0x4000
or dword [rdi + 0x80], edx
jmp case.0x14004e445.348127311
lea eax, [rcx - 0x14c0003c]
cmp eax, 2
jbe 0x14004e410
cmp ecx, 0x14c00047
jne case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
jmp case.0x14004e445.348127311
add ecx, 0xeb3fffb3
cmp ecx, 0x19
ja case.0x14004e445.348127311
lea rdx, [0x140000000]
movzx eax, byte [rdx + rcx + 0x4e964]
mov ecx, dword [rdx + rax*4 + 0x4e958]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
mov rax, qword [rdi + 0x10]
or dword [rax + 0x44], 2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x2000
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
or dword [rdi + 0x80], 0x80000
jmp case.0x14004e445.348127311
cmp ecx, 0x1631c218
ja 0x14004e580
je 0x14004e563
cmp ecx, 0x1565820f
ja 0x14004e53c
je 0x14004e4fb
cmp ecx, 0x152d0792
ja 0x14004e4e4
je 0x14004e4d7
cmp ecx, 0x14c000ce
je 0x14004e4c8
cmp ecx, 0x152d0770
jne case.0x14004e445.348127311
or dword [rdi + 0x80], 0x20
jmp case.0x14004e445.348127311
or dword [rdi + 0x80], 0x40000
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x40
jmp case.0x14004e445.348127311
cmp ecx, 0x152d1777
je 0x14004e508
lea eax, [rcx - 0x1565820c]
cmp eax, 1
ja case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x10
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x40000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 1
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x1d38], 1
jne 0x14004e533
or dword [rax + 0x30], 0x4000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x20
jmp case.0x14004e445.348127311
cmp ecx, 0x1631c213
ja 0x14004e573
cmp ecx, 0x1631c210
jae 0x14004e563
cmp ecx, 0x16310193
je 0x14004e508
lea eax, [rcx - 0x1631c108]
cmp eax, 3
ja case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x800
jmp case.0x14004e445.348127311
cmp ecx, 0x1631c215
je 0x14004e563
jmp case.0x14004e445.348127311
cmp ecx, 0x17aa390a
ja 0x14004e6ad
je 0x14004e68e
cmp ecx, 0x1631e217
jb case.0x14004e445.348127311
cmp ecx, 0x1631e219
jbe 0x14004e563
cmp ecx, 0x1631e21b
je 0x14004e563
cmp ecx, 0x17aa21dd
je 0x14004e647
cmp ecx, 0x17aa38af
jne case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
mov ecx, 0xc004
cmp cx, word [rax + 0x44c]
jne 0x14004e5f5
or dword [rax + 0x34], 0x40
or dword [rdi + 0x80], 0x8000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x80000000
mov rax, qword [rdi + 0x10]
mov ecx, 0x4006
cmp cx, word [rax + 0x44c]
jne 0x14004e60b
or dword [rax + 0x34], 0x40
mov rax, qword [rdi + 0x10]
movzx ecx, word [rax + 0x44c]
mov edx, 0xc00c
cmp dx, cx
je 0x14004e63e
mov edx, 0xc00a
cmp dx, cx
je 0x14004e63e
mov edx, 0x6008
cmp dx, cx
je 0x14004e63e
mov edx, 0x600e
cmp dx, cx
jne case.0x14004e445.348127311
or dword [rax + 0x34], 0x40
jmp case.0x14004e445.348127311
mov rcx, qword [rdi + 0x10]
mov edx, 0x21dd
movzx eax, word [rcx + 0x44c]
sub ax, dx
cmp ax, 1
ja case.0x14004e445.348127311
or dword [rcx + 0x4c], 0x40
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x80
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x100
mov rax, qword [rdi + 0x10]
and dword [rax + 0x4c], 0xfffffdff
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
mov ecx, 0x4004
cmp cx, word [rax + 0x44c]
jne case.0x14004e445.348127311
or dword [rax + 0x34], 0x40
jmp case.0x14004e445.348127311
cmp ecx, 0x17aa3a0d
je 0x14004e741
cmp ecx, 0x17aa3c19
je 0x14004e71f
cmp ecx, 0x17aa3d96
je 0x14004e6e4
lea eax, [rcx - 0x1a461401]
cmp eax, 1
ja case.0x14004e445.348127311
or dword [rdi + 0x80], 2
jmp case.0x14004e445.348127311
mov dword [rdi + 0x20], r8d
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 0x1e
mov dword [rdi + 0x1c], 1
mov rax, qword [rdi + 0x10]
mov ecx, 0x3d7c
cmp cx, word [rax + 0x44c]
jne case.0x14004e445.348127311
or dword [rdi + 0x80], 4
jmp case.0x14004e445.348127311
mov rax, qword [rdi + 0x10]
mov ecx, 0x3c2e
cmp cx, word [rax + 0x44c]
jne case.0x14004e445.348127311
or dword [rdi + 0x80], 4
jmp case.0x14004e445.348127311
mov rcx, qword [rdi + 0x10]
movzx eax, word [rcx + 0x44c]
mov edx, 0x3bfa
cmp dx, ax
jne 0x14004e779
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 3
mov dword [rdi + 0x1c], 1
movzx eax, word [rcx + 0x44c]
mov edx, 0x3bfe
cmp dx, ax
jne 0x14004e7b0
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 3
mov dword [rdi + 0x1c], 1
or dword [rdi + 0x80], 0x20000
movzx eax, word [rcx + 0x44c]
mov edx, 0x4000
mov r8d, 0x3872
cmp r8w, ax
je 0x14004e7cd
mov r8d, 0x3870
cmp r8w, ax
jne 0x14004e7f1
or dword [rcx + 0x34], 0x40
or dword [rdi + 0x80], 0x28000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], edx
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x80000000
mov rcx, qword [rdi + 0x10]
cmp dx, word [rcx + 0x44c]
jne 0x14004e80f
or dword [rdi + 0x80], 0x20000
or dword [rcx + 0x34], 0x80000000
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ffa
movzx eax, word [rcx + 0x44c]
add ax, dx
mov edx, 0xfffd
test dx, ax
jne case.0x14004e445.348127311
or dword [rcx + 0x34], 0x40
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret