joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1490
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x60
mov rax, qword [rcx]
mov r14d, r9d
mov ebp, edx
mov rbx, rcx
call qword [rax + 0x98]
test eax, eax
jns 0x1400b14df
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguipngctrlv2.cpp
mov edx, 0x24b
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.140052e90
mov qword [rsp + 0x70], rsi
movsxd rsi, eax
mov qword [rsp + 0x78], rdi
cmp rsi, qword [rbx + 0x90]
jge 0x1400b150a
test eax, eax
js 0x1400b161c
mov rax, qword [rbx + 0x88]
mov rdi, qword [rax + rsi*8]
jmp 0x1400b150c
xor edi, edi
test rdi, rdi
jne 0x1400b1552
mov rax, qword [rbx]
mov r8d, r14d
mov edx, ebp
mov rcx, rbx
call qword [rax + 0x98]
test eax, eax
js 0x1400b1547
movsxd rdi, eax
cmp rdi, qword [rbx + 0x90]
jge 0x1400b1547
test eax, eax
js 0x1400b161c
mov rax, qword [rbx + 0x88]
mov rdi, qword [rax + rdi*8]
jmp 0x1400b1549
xor edi, edi
test rdi, rdi
je 0x1400b15ff
cmp rsi, qword [rbx + 0x130]
jge 0x1400b1570
test rsi, rsi
js 0x1400b161c
mov rax, qword [rbx + 0x128]
mov edx, dword [rax + rsi*4]
jmp 0x1400b1572
xor edx, edx
test byte [rbx + 0x50], 0x20
je 0x1400b1591
mov ecx, dword [rbx + 0x4c]
mov eax, 0x80808081
imul ecx, edx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov rax, qword [rsp + 0x90]
mov ebx, dword [rdi + 0x18]
mov esi, dword [rdi + 0x1c]
test rax, rax
jne 0x1400b15a8
xor ecx, ecx
jmp 0x1400b15ac
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x98]
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], dl
mov rdx, rcx
mov dword [rsp + 0x48], esi
mov rcx, rdi
mov r11d, dword [rax + 0xc]
mov r9d, dword [rax + 4]
sub r11d, r9d
mov r10d, dword [rax + 8]
mov r8d, dword [rax]
sub r10d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], r10d
call fcn.140046010
mov rsi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x78]
mov rsp, r11
pop r14
ret
call fcn.1400f5890
int3
Function at 0x1400b1c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x20
xor ebx, ebx
lea r8, [0x140335540]
mov qword [rsp + 0x50], rbx
mov rbp, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
jne 0x1400b1ca2
mov edx, 0x31a
jmp 0x1400b1d8e
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
jne 0x1400b1cbe
mov edx, 0x31d
jmp 0x1400b1d8e
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
jne 0x1400b1ce5
mov edx, 0x321
jmp 0x1400b1d8e
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400b1d05
mov edx, 0x325
jmp 0x1400b1d8e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400b1de9
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.140283d40
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x1400b1d6b
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguipngctrlv2.cpp
mov edx, 0x32f
mov r9d, eax
lea rcx, str._VCpl__EXIT_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x1400b1da1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400b1d7c
mov edx, 0x331
jmp 0x1400b1d8e
call fcn.14007fb70
mov rdi, rax
test rax, rax
jne 0x1400b1dd5
mov edx, 0x334
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguipngctrlv2.cpp
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b1dba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], 0
test rbx, rbx
je 0x1400b1dd1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x1400b1e13
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rdi
call fcn.1400b19c0
mov rbx, rax
test rdi, rdi
je 0x1400b1e10
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b2350
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rsi, edx
mov rdi, r8
mov rbx, rcx
test edx, edx
jne 0x1400b2383
mov rax, qword [rcx + 0x88]
test rax, rax
jne 0x1400b23f5
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x1400b2388
jmp 0x1400b23f5
cmp esi, 3
jne 0x1400b23f5
mov rcx, qword [rcx - 0x1f0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov edx, 0xd4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
test rdi, rdi
jne 0x1400b23b2
xor r8d, r8d
jmp 0x1400b23b6
mov r8, qword [rdi + 8]
mov rcx, qword [rbx - 0x1f0]
xor r9d, r9d
lea edx, [r9 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx - 0x1f0]
mov edx, 0xd3
movzx eax, bp
mov r8d, 3
shl eax, 0x10
shr ebp, 0x10
or eax, ebp
movsxd r9, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, qword [rsp + 0x30]
test rdi, rdi
jne 0x1400b241f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_textctrl.cpp
lea edx, [rdi + 0x4d]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140052e90
mov qword [rbx + rsi*8 + 0x70], rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4250
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
movsxd rbp, edx
mov esi, r8d
mov rbx, rcx
test edx, edx
jns 0x1400b4293
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguipnglistbox.cpp
mov edx, 0x1f9
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
jmp fcn.140052e90
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x38], r14
mov edx, 0x199
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400b42b6
mov dword [rax], esi
jmp 0x1400b4301
mov ecx, 0x10
mov qword [rsp + 0x30], rdi
call fcn.1400f48fc
mov rdi, rax
test rax, rax
je 0x1400b42fc
xor eax, eax
mov r9, rdi
mov qword [rdi], rax
mov r8, rbp
mov qword [rdi + 8], rax
mov edx, 0x19a
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx + 0x360]
mov dword [rdi], esi
mov rdx, rdi
call fcn.1401030b4
mov rdi, qword [rsp + 0x30]
test esi, esi
je 0x1400b4320
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov r8, rbp
mov dword [rbx + 0x350], ebp
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1400b9cb0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x90], 0
mov rbx, rcx
jne 0x1400b9ce0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguipowermgrsetting.cpp
mov edx, 0x73
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x20
pop rbx
jmp fcn.140052e90
mov r9d, dword [rcx + 0xb0]
lea r8, str.Enabled
lea rcx, [0x1403dd120]
lea rdx, str.PowerMgnt
call fcn.140102e14
mov r9d, dword [rbx + 0xac]
lea r8, str.DelayTime
lea rdx, str.PowerMgnt
lea rcx, [0x1403dd120]
call fcn.140102e14
mov r9d, dword [rbx + 0xa8]
lea r8, str.OnlyBattery
lea rdx, str.PowerMgnt
lea rcx, [0x1403dd120]
call fcn.140102e14
mov rax, qword [rbx + 0x90]
test dword [rax + 0xcc], 0x200000
je 0x1400b9d77
mov r9d, dword [rbx + 0xb4]
lea r8, str.PowerState
lea rdx, str.PowerMgnt
lea rcx, [0x1403dd120]
call fcn.140102e14
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400b9d90
Function at 0x1400bd590
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rdi, r8
mov rsi, rcx
test rcx, rcx
jne 0x1400bd5dc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
lea edx, [rcx + 0x5f]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
jne 0x1400bd609
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
lea edx, [rdi + 0x60]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor ebp, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x38]
call fcn.1400be150
nop
mov dword [rsp + 0x80], ebp
mov ebx, 1
mov r9d, ebx
mov r8, rsi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test eax, eax
je 0x1400bd6a8
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
lea edx, [rbp + 0x6d]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov ebx, ebp
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd686
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400bd696
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bd661
cmp dword [rsp + 0x30], 4
jne 0x1400bd661
mov eax, dword [rsp + 0x80]
mov dword [rdi], eax
jmp 0x1400bd663
Function at 0x1400bd710
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
test rdx, rdx
jne 0x1400bd752
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x7c
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bd875
test rsi, rsi
jne 0x1400bd772
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
lea edx, [rsi + 0x7d]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bd875
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x80], eax
mov r9d, dword [rsp + 0xa0]
or r9d, 1
mov r8, rdx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400146e0
test eax, eax
je 0x1400bd7d9
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x85
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400bd875
jmp 0x1400bd86e
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rdi]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bd866
cmp dword [rsp + 0x30], 4
jne 0x1400bd866
mov eax, dword [rsp + 0x80]
mov dword [rsi], eax
test rbx, rbx
je 0x1400bd83a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd859
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1400bd875
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd894
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400bd8a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov ebp, r9d
mov rbx, r8
mov rdi, rdx
test rdx, rdx
jne 0x1400bd914
mov edx, 0x93
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd905
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r8]
movzx eax, word [rax]
cmp ax, word [0x140328530]
jne 0x1400bd92a
mov edx, 0x94
jmp 0x1400bd8d2
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
mov esi, dword [rsp + 0x90]
mov r8d, esi
call fcn.1400be8f0
test eax, eax
jne 0x1400bd97a
mov r8d, esi
mov rdx, rdi
call fcn.1400be2e0
test eax, eax
jne 0x1400bd97a
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, LoadRegTypeLib
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
jmp 0x1400bd8e6
or esi, 2
mov r9d, esi
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.1400146e0
test eax, eax
je 0x1400bd9ca
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xa2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400bd8e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400bd8e6
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbx]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400bda2e
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xa6
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
test rdi, rdi
je 0x1400bd8e6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400bd8e6
test rdi, rdi
je 0x1400bda3d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bda5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bda70
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov esi, r8d
mov rdi, rcx
test rcx, rcx
jne 0x1400bdabe
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, VariantTimeToSystemTime
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x78]
call fcn.1400be150
nop
lea r9d, [rbx + 2]
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.1400146e0
test eax, eax
je 0x1400bdb0f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xbc
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdb61
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400bdb5c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xc0
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdb61
mov ebx, 1
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bdb84
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400bdb94
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400bdc40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov esi, r8d
mov rdi, rcx
test rcx, rcx
jne 0x1400bdc8f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xcd
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x40]
call fcn.1400be150
nop
mov dword [rsp + 0x80], ebx
lea r9d, [rbx + 3]
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400146e0
test eax, eax
je 0x1400bdcea
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xd8
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdd8e
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bdd3e
cmp dword [rsp + 0x30], 4
jne 0x1400bdd3e
cmp dword [rsp + 0x80], esi
je 0x1400bdd89
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400bdd89
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xe0
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdd8e
mov ebx, 1
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bddb1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400bddc1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400bdde0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, r9
mov r15, rdx
mov rdi, rcx
test rcx, rcx
jne 0x1400bde2f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xe8
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x1400bdfbb
test rsi, rsi
jne 0x1400bde53
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xe9
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x1400bdfbb
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
lea rdx, [0x1403239a0]
lea rcx, [rbp - 0x30]
call fcn.1400be150
nop
mov dword [rbp + 0x30], ebx
lea r9d, [rbx + 1]
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400146e0
mov edi, eax
test eax, eax
jne 0x1400bdeea
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400bded2
cmp dword [rbp - 0x40], 4
je 0x1400bdf7e
lea edi, [rbx + 0xd]
cmp qword [rbp - 0x20], 0
je 0x1400bdee7
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
test r15, r15
je 0x1400bdf60
mov r9d, 1
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400146e0
test eax, eax
je 0x1400bdf26
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0xff
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdf88
mov dword [rbp - 0x3c], 4
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400bdf60
cmp dword [rbp - 0x38], 4
jmp 0x1400bdf62
test edi, edi
je 0x1400bdf7e
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x103
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400bdf88
mov eax, dword [rbp + 0x30]
mov dword [rsi], eax
mov ebx, 1
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bdfaa
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400bdfb9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret