joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052c70
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, edx
mov rdi, rcx
mov dword [rsp + 0x38], ebx
call fcn.140124b40
test eax, eax
je 0x140052c98
lea eax, [rbx + 1]
jmp 0x140052ce9
call fcn.140124a10
test eax, eax
je 0x140052ca5
mov eax, ebx
jmp 0x140052ce9
call fcn.140124760
test eax, eax
jne 0x140052cbe
call fcn.140123df0
test eax, eax
je 0x140052cbe
mov eax, 1
jmp 0x140052ce9
call fcn.140123df0
test eax, eax
jne 0x140052cd4
call fcn.140124760
test eax, eax
je 0x140052cd4
mov eax, ebx
jmp 0x140052ce9
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0x38]
call fcn.140051950
mov eax, dword [rsp + 0x38]
or ecx, 0xffffffff
test esi, esi
cmovne ecx, eax
test ecx, ecx
je 0x140052d57
cmp ecx, 1
je 0x140052d34
call fcn.140124a10
test eax, eax
je 0x140052d15
xor ecx, ecx
call fcn.140124ec0
mov ecx, ebx
test eax, eax
sete cl
test ecx, ecx
je 0x140052d6b
call fcn.140124b40
test eax, eax
je 0x140052d6b
xor ecx, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140125000
call fcn.140124b40
cmp eax, 1
je 0x140052d6b
mov ecx, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140125000
call fcn.140124a10
cmp eax, 1
je 0x140052d6b
mov ecx, 1
call fcn.140124ec0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140053580
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
cmp edx, 0x210e0304
mov edi, r8d
mov rbx, rcx
ja case.0x1400535d2.554565898
cmp edx, 0x210e0304
je 0x1400537b4
add edx, 0xdef1feff
cmp edx, 0xa
ja case.0x1400535d2.554565898
mov eax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x5381c]
add rcx, rdx
jmp rcx
lea rcx, [rbx - 8]
call fcn.140052750
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052b40
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052bb0
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052c10
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
mov edx, r8d
call fcn.140052c70
mov eax, 1
jmp 0x140053807
test r8d, r8d
je 0x14005364c
lea rcx, [rbx - 8]
call fcn.140052790
test eax, eax
je 0x1400537fe
mov ecx, edi
call fcn.140125140
mov eax, 1
jmp 0x140053807
test r8d, r8d
je 0x14005366c
cmp r8d, 1
jne case.0x1400535d2.554565898
lea rcx, [rbx + 0x98]
mov edx, r8d
mov qword [rsp + 0xa0], rbp
call fcn.140051a80
test eax, eax
mov esi, eax
je 0x1400536a4
lea rcx, [rbx + 0x98]
xor r8d, r8d
mov edx, edi
call fcn.1400517f0
xor esi, esi
test eax, eax
setne sil
jmp 0x1400536b5
lea rcx, [rbx + 0x98]
xor r8d, r8d
mov edx, edi
call fcn.1400517f0
mov rbp, qword [rsp + 0xa0]
mov dword [rbx + 0x128], edi
mov eax, esi
jmp 0x140053807
call fcn.1401248f0
cmp eax, edi
je 0x1400536e9
mov ecx, edi
call fcn.140124d80
xor esi, esi
test eax, eax
sete sil
mov eax, esi
jmp 0x140053807
mov esi, 1
mov eax, esi
jmp 0x140053807
test r8d, r8d
jne 0x14005370d
lea rcx, [rbx - 8]
call fcn.140052750
mov eax, 1
jmp 0x140053807
lea r8, str.LastSelectedAndreaMuxTech
lea rdx, str.General
lea rcx, [0x140206e90]
mov r9d, 2
call fcn.1401380a8
test eax, eax
je 0x14005377d
sub eax, 1
je 0x14005376a
sub eax, 1
je 0x140053757
cmp eax, 1
jne 0x1400537fe
lea rcx, [rbx - 8]
call fcn.140052bb0
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052c10
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052b40
mov eax, 1
jmp 0x140053807
lea rcx, [rbx - 8]
call fcn.140052750
mov eax, 1
jmp 0x140053807
lea r8, str.LastSelectedAndreaMuxTech
lea rdx, str.General
lea rcx, [0x140206e90]
mov r9d, 2
call fcn.140138148
mov eax, 1
jmp 0x140053807
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.1401489d0
lea rax, str.open
xor esi, esi
mov qword [rsp + 0x30], rax
lea rax, str.http:__www.andreaelectronics.com
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x50], 3
mov qword [rsp + 0x38], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, 1
jmp 0x140053807
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14006a3e0
Capabilities:
Terminate thread

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], rbp
mov qword [rsp + 0x58], rsi
mov rbx, rcx
lea rax, method..44.virtual_0
mov qword [rcx], rax
lea rax, [0x14018f3e8]
mov qword [rcx + 0xa8], rax
xor ebp, ebp
cmp qword [rcx + 0x1a8], rbp
je 0x14006a472
mov rcx, qword [rcx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006a45e
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006a48b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [0x140206e78]
test rcx, rcx
je 0x14006a4aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140206e78], rbp
mov rcx, rbx
call fcn.14006b600
call fcn.140086c60
lea rcx, [0x140206cd8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [rbx + 0x140], ebp
je 0x14006a4d2
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.14012e24c
nop
lea rcx, [rbx + 0x1f0]
call fcn.140083730
nop
mov rdx, qword [rbx + 0x1c8]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14006a50d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, [0x140198080]
mov qword [rbx + 0x150], rax
cmp qword [rbx + 0x1a8], 0
je 0x14006a56f
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006a55b
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006a588
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x160]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14006a5bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0xa8]
call fcn.14006d030
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.14012ea98
Function at 0x14006b600
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
cmp dword [rsp + 0x24], 6
jb 0x14006b68c
lea r9, [0x140206920]
mov ecx, edi
lea rdx, [0x140052510]
mov rax, r9
lea r8, [0x140206a60]
cmp qword [rax], rdx
je 0x14006b66b
add rax, 0x10
add ecx, 1
cmp rax, r8
jl 0x14006b658
jmp 0x14006b68c
movsxd rax, ecx
add rax, rax
sub dword [0x140206e88], 1
mov qword [r9 + rax*8], rdi
jne 0x14006b68c
mov qword [0x140208468], rdi
mov qword [0x140208520], rdi
mov rcx, qword [rbx + 0x648]
test rcx, rcx
je 0x14006b6aa
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x648], rdi
mov rcx, qword [rbx + 0x650]
test rcx, rcx
je 0x14006b6c8
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x650], rdi
mov rcx, qword [rbx + 0x668]
test rcx, rcx
je 0x14006b6e6
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x668], rdi
mov rcx, qword [rbx + 0x670]
test rcx, rcx
je 0x14006b704
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x670], rdi
lea rcx, [rbx + 0x298]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbx + 0x658]
test rcx, rcx
je 0x14006b72e
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x658], rdi
mov rcx, qword [rbx + 0x660]
test rcx, rcx
je 0x14006b74b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x660], rdi
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x14006b768
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x138], rdi
lea rcx, [rbx + 0xa8]
call fcn.14006d1a0
mov dword [rbx + 0x144], edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401447b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14006f5b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [0x140207c90], 0
jne 0x14006f6d9
cmp qword [0x140207ca0], 0
mov dword [rsp + 0x40], 0
jne 0x14006f5f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207ca0], rax
cmp qword [0x140207ca8], 0
jne 0x14006f611
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207ca8], rax
cmp qword [0x140207cb0], 0
jne 0x14006f632
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207cb0], rax
cmp qword [0x140207cb8], 0
jne 0x14006f653
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140207cb8], rax
cmp qword [0x140207c98], 0
jne 0x14006f67e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [0x140207c98], rax
jne 0x14006f67e
add rsp, 0x38
ret
call fcn.140134b14
test rax, rax
je 0x14006f69f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14006f69f
mov rax, qword [rax + 0x40]
jmp 0x14006f6a1
xor eax, eax
mov qword [0x140207de0], rax
lea rax, [rsp + 0x40]
lea r9, [0x140207c90]
mov qword [rsp + 0x28], rax
lea r8, [0x14006f6f0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140207c90], rax
mov eax, 1
add rsp, 0x38
ret
Function at 0x140071ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
lea rdi, [0x14017f438]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
jne 0x140071bf7
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140071be5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rbx]
sub rdx, 0x18
cmp eax, 0xffffffff
je 0x140071bcd
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140071c24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140073a60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140166d30
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140129a50
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140073abe
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x140073afa
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140073b16
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004d70
jmp 0x140073b16
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400032e0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401489d0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140073b8e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140073b6e
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400032e0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.1401447b0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140073c10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140166d30
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140129a50
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140073c6e
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x140073caa
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140073cc6
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004d70
jmp 0x140073cc6
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400032e0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401489d0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140073d3e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140073d1e
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400032e0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.1401447b0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140073dc0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x10060
call fcn.140166d30
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10098], rbx
mov qword [rsp + 0x100a0], rbp
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140129a50
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140073e2d
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14017f438]
test rdx, 0xffffffffffff0000
jne 0x140073e69
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140073e85
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004d70
jmp 0x140073e85
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400032e0
nop
mov r12d, 1
mov dword [rsp + 0x30], r12d
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401489d0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140073f95
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140073ee5
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400032e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.RealtekAudioHDA_
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, rbp
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r12d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r12d
jge 0x140073f4c
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp rsi, r13
ja 0x140073f58
lea rbp, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x140073f8a
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140073f8a
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140073f95
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x10060]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400782d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x860
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.Sound_Blaster
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.Sound_Blaster
mov rcx, rsi
call fcn.1400032e0
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareCreative_TechSB_Plugin_for_Dell_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140078404
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.TabName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400783f4
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x1400783b2
cmp eax, 2
jne 0x1400783f4
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400783cb
test al, 1
jne 0x1400783f4
shr rax, 1
cmp word [rsp + rax*2 + 0x4e], 0
je 0x1400783d2
jmp 0x1400783f4
mov word [rsp + 0x50], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400032e0
test rbx, rbx
je 0x140078404
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test rbx, rbx
je 0x140078412
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140079ca0
Capabilities:
Get file size
Read .ini file

Disassembly:
push rsi
sub rsp, 0x50
test rdx, rdx
mov rsi, rcx
jne 0x140079cb6
xor eax, eax
add rsp, 0x50
pop rsi
ret
mov qword [rcx + 8], rdx
mov rcx, qword [0x140207df8]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140079e50
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0xffffffff
setne dil
test edi, edi
je 0x140079e50
mov eax, 2
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov r13, 0xffffffffffffffff
mul rbp
cmovo rax, r13
mov rcx, rax
call fcn.1401281ec
test rax, rax
mov r12, rax
jne 0x140079d70
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
mov word [rax], 0
mov rax, qword [0x140207df8]
lea r8, [0x14017f438]
mov qword [rsp + 0x28], rax
mov r9, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, str.SetCount
lea rdx, str.DefLevel
lea rcx, [0x140206e90]
xor r9d, r9d
call fcn.1401380a8
mov rbx, r12
mov dword [rsi + 0x10], eax
cmp word [r12], 0
je 0x140079de6
mov rdx, rbx
mov rcx, rsi
call fcn.14007a160
xor eax, eax
mov rdi, rbx
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
lea rbx, [rbx + rcx*2]
cmp word [rbx], ax
jne 0x140079dc4
cmp dword [rsi + 0x18], 0
je 0x140079e0e
add dword [rsi + 0x10], 1
mov r9d, dword [rsi + 0x10]
lea r8, str.SetCount
lea rdx, str.DefLevel
lea rcx, [0x140206e90]
call fcn.140138148
cmp dword [rsi + 0x14], 0
jne 0x140079e3e
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x140206e90]
mov r9d, 1
call fcn.140138148
mov dword [0x140206cd4], 1
mov rcx, r12
call fcn.1401281e4
mov eax, 1
jmp 0x140079d51
xor eax, eax
jmp 0x140079d5b