joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eafe0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [rcx + 0x178]
test byte [rax + 0x1bc], 0x40
je 0x1400eb1b8
lea rax, str.JackPlug
lea rbx, str.JackUnPlug
test edx, edx
cmovne rbx, rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400eb1cb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140014ab0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400eb07a
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400eb060
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140010390
nop
xor ebx, ebx
mov dword [rbp + 0x20], ebx
mov rsi, qword [rbp - 0x40]
add rsi, 0xffffffffffffffe8
mov rcx, rsi
call fcn.140014810
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
mov dword [rbp + 0x30], ebx
mov r9d, 0x201
lea r8, str.SoftwareSAVITECHSVLoadSenseASUSJDSense
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400146e0
test eax, eax
je 0x1400eb0f2
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 [rbp - 0x20]
test rcx, rcx
je 0x1400eb142
jmp 0x1400eb13b
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rdx, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400eb133
cmp dword [rbp - 0x50], 4
jne 0x1400eb133
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x20], eax
test rbx, rbx
je 0x1400eb142
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400eb15f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rbp + 0x20]
inc ebx
mov eax, 0x51eb851f
mul ebx
shr edx, 5
imul eax, edx, 0x64
sub ebx, eax
mov dword [rbp + 0x20], ebx
mov rcx, rsi
call fcn.140014810
add rax, 0x18
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x20], 0x200
mov r9d, ebx
lea r8, [rbp - 0x38]
lea rdx, str.SoftwareSAVITECHSVLoadSenseASUSJDSense
call fcn.1400bd8a0
nop
lock xadd dword [rsi + 0x10], edi
sub edi, 1
jg 0x1400eb1b8
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400eb1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor esi, esi
mov dword [rbp + 0x30], esi
mov rax, qword [rcx + 0x178]
test byte [rax + 0x1bc], 0x40
je 0x1400eb332
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400eb33e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdi, str.JackImpedance
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140014ab0
lea rbx, [rsi - 1]
test al, al
jne 0x1400eb26c
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400eb252
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140010390
nop
lea rax, [rbp - 0x38]
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], esi
mov qword [rbp - 0x18], rsi
mov dword [rbp + 0x28], esi
mov r9d, 0x201
lea r8, str.SoftwareSAVITECHSVLoadSenseASUSJDSense
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.1400146e0
test eax, eax
je 0x1400eb2c7
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 [rbp - 0x28]
test rcx, rcx
je 0x1400eb317
jmp 0x1400eb310
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400eb308
cmp dword [rbp + 0x40], 4
jne 0x1400eb308
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x30], eax
test rdi, rdi
je 0x1400eb317
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400eb332
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x30]
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400ebe70
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rcx
mov rcx, qword [rcx + 0x178]
lea rbp, [rbx + 0x270]
test rcx, rcx
je 0x1400ebeab
add rcx, 0x1bc8
mov rdx, rbp
call fcn.1400a4ad0
cmp qword [rbx + 0x360], 0
jle 0x1400ebec1
lea rcx, [rbx + 0x348]
call fcn.140105284
cmp qword [rbx + 0x2c0], 0
jle 0x1400ebed7
lea rcx, [rbx + 0x2a8]
call fcn.1401032ac
mov qword [rbx + 0x278], rbx
mov rcx, qword [rbx + 0x268]
test rcx, rcx
jne 0x1400ebf0c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_viennasettingui.cpp
lea edx, [rcx + 0x3b]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
jmp fcn.140052e90
mov rcx, qword [rcx + 0x118]
sub rcx, 0x18
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 0x348]
lea rdx, [rsp + 0x50]
call fcn.140104e8c
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ebf62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor esi, esi
lea rdi, [0x140327ea0]
nop dword [rax + rax]
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1400ebf92
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimmendpointnotify.cpp
mov edx, LoadRegTypeLib
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400ebf9e
lea rcx, [rbx + 0x2a8]
call fcn.1401030b4
inc esi
add rdi, 8
cmp esi, 0xc
jb 0x1400ebf70
mov rcx, qword [rbx + 0x178]
test rcx, rcx
je 0x1400ebfc4
add rcx, 0x1bc8
mov rdx, rbp
call fcn.1400a49f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400ece30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1400ece65
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_virtualctrlsmgr.cpp
lea edx, [rbx + 0x70]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.140052e90
mov rcx, rbx
call fcn.140100e40
bt eax, 0x1c
jae 0x1400ecefa
lea rdx, str.CGuiContainer
mov rcx, rbx
call fcn.140103934
test eax, eax
je 0x1400ecefa
xor eax, eax
mov dword [rsp + 0x30], 0x2f
mov dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rbx
call fcn.1401011cc
mov rcx, qword [rbx + 0x40]
mov edx, 5
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fa688
mov rbx, rax
test rax, rax
je 0x1400ecefa
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.1400ece30
mov rcx, qword [rbx + 0x40]
mov edx, 2
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fa688
mov rbx, rax
test rax, rax
jne 0x1400eced0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400edff0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
sub edx, 0x23000701
je 0x1400ee190
sub edx, 7
je 0x1400ee176
sub edx, 2
je 0x1400ee083
cmp edx, 3
jne 0x1400ee228
mov dword [rcx + 0xbc], r8d
mov rcx, qword [0x1403db8b0]
test rcx, rcx
jne 0x1400ee065
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x2300070d
call qword [rax + 0x60]
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140340bf8]
xor edx, edx
lea r8d, [rbx + 0x17]
lea rcx, [0x140340c08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400ee101
mov edx, 0xe0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_voicetrain.cpp
mov r9d, eax
lea rcx, str._VCpl__RETURN_FALSE_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ee0e4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ee169
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x1403471d8]
call qword [rax]
test eax, eax
jns 0x1400ee122
mov edx, 0xe3
jmp 0x1400ee0bc
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jns 0x1400ee138
mov edx, 0xe6
jmp 0x1400ee0bc
mov ecx, 0x2300070a
call fcn.140025c30
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ee154
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ee164
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov dword [rcx + 0xb8], 1
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
xor ebx, ebx
mov dword [rsp + 0x68], ebx
mov rcx, qword [0x1403db8b0]
test rcx, rcx
jne 0x1400ee1bc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400ee1ca
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x23000702
call qword [rax + 0x60]
mov rcx, qword [0x1403db8b0]
test rcx, rcx
jne 0x1400ee1f0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400ee1fe
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x23000703
call qword [rax + 0x60]
lea r9, [rdi - 8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r8, [0x1400ee270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x98], rax
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400f3110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0xa0
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.1402841a0
call fcn.140104be4
lea r8, [0x140330f50]
mov rdx, rbx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rbx, rbx
je 0x1400f3304
test rax, rax
je 0x1400f3304
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r14
call fcn.140104be4
mov rdx, rbp
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
call fcn.140104be4
mov rdx, rbp
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor r8d, r8d
mov dword [rsp + 0x24], 0x204d454d
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x3c], ebx
call qword [sym.imp.WINMM.dll_mmioOpenW]
mov r9d, 0x20
mov dword [rsi + 0x9c], 0x45564157
mov rcx, rax
lea rdx, [rsi + 0x94]
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400f32f5
mov r14d, 0x10
mov dword [rsi + 0x80], 0x20746d66
mov r9d, r14d
lea r8, [rsi + 0x94]
lea rdx, [rsi + 0x80]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400f32f5
xor r8d, r8d
lea rdx, [rsi + 0x80]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioAscend]
mov r9d, r14d
mov dword [rsi + 0x6c], 0x61746164
lea r8, [rsi + 0x94]
mov rcx, rbx
lea rdx, [rsi + 0x6c]
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400f32f5
xor r8d, r8d
lea rdx, [rsi + 0x6c]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioAscend]
mov edx, dword [rsi + 0x8c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioSeek]
mov r8d, dword [rsi + 0x84]
lea rdx, [rsi + 0x44]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioRead]
cmp dword [rsi + 0x84], eax
jne 0x1400f32f5
mov eax, 1
cmp ax, word [rsi + 0x46]
jne 0x1400f32f5
cmp r14w, word [rsi + 0x52]
jne 0x1400f32f5
mov dword [rsi + 0xe8], 0
mov rax, rbx
mov rdi, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0xa0
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioClose]
xor eax, eax
jmp 0x1400f32ca
xor eax, eax
jmp 0x1400f32da
Function at 0x1400f3e20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
je 0x1400f3ec9
test rdx, rdx
jne 0x1400f3e6d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguizorderctrl.cpp
lea edx, [rdi + 0x3a]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140052e90
mov rcx, qword [rdx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400f3ec9
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x30], rsi
call fcn.1401030f8
mov rbx, qword [rbx + 8]
mov rsi, rax
mov rbx, qword [rbx + 8]
cmp rbx, rax
je 0x1400f3ec4
nop
mov r8, rbx
test rbx, rbx
je 0x1400f3ed9
mov r8, qword [r8 + 0x10]
mov rbx, qword [rbx]
test r8, r8
je 0x1400f3ebf
mov r9, rbp
mov rdx, rdi
call fcn.1400f3ee0
cmp rbx, rsi
jne 0x1400f3ea0
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.1400f5890
int3

Function at 0x1400fa5e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x1400fa648
call fcn.140104be4
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400fa648
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400fa66a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14010f06c
mov esi, eax
test rdi, rdi
je 0x1400fa668
test rbx, rbx
je 0x1400fa668
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400fb3c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400fb4a0
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400fb4a0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400fb4a0
test rsi, rsi
je 0x1400fb4a0
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.140104be4
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400fb46d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400fb4a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.140118a24
mov esi, eax
test rbp, rbp
je 0x1400fb490
test rdi, rdi
je 0x1400fb490
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x1400fb49c
mov rcx, rbx
call fcn.1400fb088
mov eax, esi
jmp 0x1400fb4a2
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400fc414
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.14011735c
mov rdi, rax
test rax, rax
je 0x1400fc490
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400fc48b
cmp dword [rbx], 0x40
jb 0x1400fc48b
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400fc48b
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400fc494
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140100e70
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0xd0], 0
jne 0x140100eae
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140100f58
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140100f6e
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140135a42.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x118]
call qword [case.0x140135a42.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14028cb3c
test eax, eax
je 0x140100f20
cmp eax, 0xc
je 0x140100f68
cmp eax, 0x16
je 0x140100f7f
cmp eax, 0x22
je 0x140100f7f
cmp eax, 0x50
jne 0x140100f79
test rbx, rbx
je 0x140100f30
mov rcx, rbx
call fcn.140289a14
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140100f56
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140135a42.0]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.1400f58b4
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
call fcn.1400f5890
int3
call fcn.1400f5890
int3

Function at 0x1401020f0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140102158
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140102142
cmp qword [rcx + 0x18], 0
jne 0x14010213d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14010215e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140102158
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140117018
call fcn.1400f5890
int3
call fcn.1400f5890
int3

Function at 0x140102880
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x1401028fb
xor r8d, r8d
call fcn.140102b48
mov rsi, rax
test rax, rax
je 0x1401028f7
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401028f7
mov eax, dword [rsp + 0x30]
jmp 0x140102911
mov eax, edi
jmp 0x140102911
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401079b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x1401079ef
cmp dword [rcx + 0xe8], 0
jne 0x1401079ef
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140104be4
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140107d74
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140107a4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.140104be4
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140107aa8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140107ae0
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140113404
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rsi, rdx
mov rdi, rcx
je 0x1401134ba
test rdx, rdx
je 0x1401134d7
mov rcx, rdx
mov ebp, 0x811c9dc5
xor ebx, ebx
call fcn.140289a14
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x14011346e
movzx ecx, word [rsi + rbx*2]
add ebx, edx
imul ebp, ebp, 0x1000193
xor ebp, ecx
cmp ebx, r8d
jb 0x14011345b
xor edx, edx
mov eax, ebp
div dword [rdi + 0x10]
mov rax, qword [rdi + 8]
lea r14, [rax + rdx*8]
mov rbx, qword [r14]
test rbx, rbx
je 0x1401134ba
cmp dword [rbx + 8], ebp
jne 0x14011349a
mov rcx, qword [rbx + 0x10]
mov rdx, rsi
call fcn.14028cce0
test eax, eax
je 0x1401134a2
mov r14, rbx
mov rbx, qword [rbx]
jmp 0x140113480
mov rcx, qword [rbx]
mov rdx, rbx
mov qword [r14], rcx
mov rcx, rdi
call fcn.140113070
mov eax, 1
jmp 0x1401134bc
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400f5890
int3