joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010f990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x90
mov rbx, rdx
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x20]
call fcn.1401489d0
call fcn.14013c178
lea r8, str.WAVE
mov rcx, qword [rax + 0x10]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rbx, rbx
mov rbp, rax
je 0x14010fb59
test rax, rax
je 0x14010fb59
mov qword [rsp + 0xa0], rdi
call fcn.14013c178
mov rdx, rbp
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
call fcn.14013c178
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]
lea rdx, [rsp + 0x20]
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x24], 0x204d454d
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], ebx
call qword [sym.imp.WINMM.dll_mmioOpenW]
lea rdx, [rsi + 0x94]
mov r9d, 0x20
xor r8d, r8d
mov rcx, rax
mov rbx, rax
mov dword [rsi + 0x9c], 0x45564157
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x14010fb4a
lea r9d, [rax + 0x10]
lea r8, [rsi + 0x94]
lea rdx, [rsi + 0x80]
mov rcx, rbx
mov dword [rsi + 0x80], 0x20746d66
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x14010fb4a
lea rdx, [rsi + 0x80]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioAscend]
lea r8, [rsi + 0x94]
lea rdx, [rsi + 0x6c]
mov r9d, 0x10
mov rcx, rbx
mov dword [rsi + 0x6c], 0x61746164
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x14010fb4a
lea rdx, [rsi + 0x6c]
xor r8d, r8d
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 0x14010fb4a
cmp word [rsi + 0x46], 1
jne 0x14010fb4a
cmp word [rsi + 0x52], 0x10
jne 0x14010fb4a
mov dword [rsi + 0xe8], 0
mov rax, rbx
mov rdi, qword [rsp + 0xa0]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioClose]
xor eax, eax
jmp 0x14010fb2d
xor eax, eax
jmp 0x14010fb35
Function at 0x140111e30
Capabilities:
Get common file path
Get program files directory
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x290
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x2c]
mov dword [rsp + 0x30], 0
call fcn.1401489d0
mov rcx, rdi
call fcn.140117970
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140111fe0
test byte [rdi + 0x80], 8
je 0x140111ea0
cmp qword [rax + 0x500], 0
jle 0x140111ea0
or dword [rax + 0x2c], 0x2000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x4000000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x30], 9
mov edx, 0x26
mov eax, 0x2a
cmove edx, eax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140111fe0
mov qword [rsp + 0x2a8], rbx
or rcx, 0xffffffffffffffff
lea rbx, [rdi + 0x88]
mov qword [rsp + 0x2b0], rbp
xor eax, eax
mov qword [rsp + 0x2b8], rsi
lea rdi, [rsp + 0x60]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x288], r12
repne scasw ax, word [rdi]
mov qword [rsp + 0x280], r13
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400032e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.RealtekAudioHelp_
mov edx, 1
mov rdi, rbp
mov rsi, rbp
repne scasw ax, word [rdi]
mov rax, qword [rbx]
mov r12d, dword [rax - 0x10]
sub edx, dword [rax - 8]
sub rsi, rax
mov eax, dword [rax - 0xc]
not rcx
sar rsi, 1
lea edi, [r12 + rcx - 1]
lea r13, [rcx - 1]
sub eax, edi
or edx, eax
jge 0x140111f79
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
mov rcx, r12
mov r12, qword [rsp + 0x288]
cmp rsi, rcx
ja 0x140111f90
lea rbp, [rax + rsi*2]
movsxd rdx, r13d
lea rcx, [rax + rcx*2]
mov r8, rbp
add rdx, rdx
mov r9, rdx
call fcn.1401448d0
test edi, edi
mov r13, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x2b8]
mov rbp, qword [rsp + 0x2b0]
js 0x140111ff9
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140111ff9
mov dword [rax - 0x10], edi
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x2a8]
movsxd rcx, edi
mov word [rax + rcx*2], 0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x290
pop rdi
ret
mov ecx, 0x80070057
call fcn.140002d80
int3
Function at 0x1401195d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rdi, rcx
je 0x1401195f3
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x88]
cmp dword [0x140206cd4], 0
jne 0x1401196c2
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x140206e90]
xor r9d, r9d
call fcn.1401380a8
test eax, eax
mov dword [0x140206cd4], eax
jne 0x1401196c2
call fcn.140079e60
mov rcx, qword [0x140207df8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140119672
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x140206e90]
mov r9d, 1
call fcn.140138148
mov dword [0x140206cd4], 1
add rsp, 0x20
pop rdi
ret
mov ecx, 0x20
mov qword [rsp + 0x30], rbx
call fcn.1401281a0
test rax, rax
mov rbx, rax
je 0x1401196bd
lea rax, method.v.virtual_0
mov rcx, rbx
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x18], eax
mov rdx, qword [rdi + 0x10]
call fcn.140079ca0
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140123790
Capabilities:
Check os version
Set registry value

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, ecx
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0xb4], 6
jae 0x1401237dc
mov ecx, ebx
call fcn.1401239d0
jmp 0x1401239aa
mov rax, qword [0x140208420]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x1f0], rsi
mov qword [rcx], rax
mov rax, qword [0x140208428]
mov qword [rsp + 0x1f8], rdi
mov qword [rcx + 8], rax
mov rax, qword [0x140208430]
xor edi, edi
test ebx, ebx
mov qword [rcx + 0x10], rax
mov rax, qword [0x140208438]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140208440]
lea esi, [rdi + 1]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140208448]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140208450]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140208458]
mov qword [rcx + 0x38], rax
mov eax, dword [0x140208460]
mov dword [rcx + 0x40], eax
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], edi
je 0x1401238ca
sub ebx, esi
je 0x1401238a8
sub ebx, esi
je 0x14012388f
cmp ebx, esi
je 0x140123880
mov edi, 0x80000000
jmp 0x140123998
test byte [0x140208438], 8
je 0x140123876
mov dword [rsp + 0x70], esi
jmp 0x1401238ca
mov eax, dword [0x140208438]
test al, 4
je 0x140123876
test sil, al
mov dword [rsp + 0x6c], esi
je 0x1401238ca
mov dword [rsp + 0x64], esi
jmp 0x1401238ca
mov eax, dword [0x140208438]
test al, 2
je 0x1401238c1
test sil, al
mov dword [rsp + 0x68], esi
je 0x1401238ca
mov dword [rsp + 0x64], esi
jmp 0x1401238ca
test sil, al
je 0x140123876
mov dword [rsp + 0x64], esi
cmp dword [0x14020847c], edi
mov dword [rsp + 0x60], 0xaeaeaeae
jne 0x1401238f0
lea rdx, [rsp + 0x60]
lea rcx, [0x140208420]
call fcn.140125f70
jmp 0x140123998
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareRealtekAEAPO
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14012397a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea rdx, str.CapProperties
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x44
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
mov ebx, edi
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14012397a
lea rdx, str.WriteRegistry_successful
jmp 0x140123981
lea rdx, str.WriteRegistry_failed
or r9d, 0xffffffff
lea rcx, [0x140208420]
mov dword [rsp + 0x20], edi
or r8d, r9d
call fcn.1401263f0
mov rsi, qword [rsp + 0x1f0]
mov eax, edi
mov rdi, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401447b0
add rsp, 0x1e0
pop rbx
ret
Function at 0x140123c00
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140123cd0
cmp dword [0x140208470], ebx
lea edi, [rbx + 1]
jne 0x140123caa
mov r8d, edi
xor edx, edx
xor ecx, ecx
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140123caa
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140123ca1
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x140123dc7
mov eax, dword [0x140208438]
test dil, al
jne 0x140123cc9
test al, 2
je 0x140123dc7
mov eax, edi
jmp 0x140123dc9
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140123dc7
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x34
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140123d64
cmp dword [rsp + 0x40], ebx
je 0x140123d64
cmp dword [rsp + 0x50], ebx
je 0x140123d64
mov ebx, 1
jmp 0x140123dbe
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov edi, 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
lea r9d, [rdi + 0x33]
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140123dbe
cmp dword [rsp + 0x40], ebx
je 0x140123dbe
cmp dword [rsp + 0x50], ebx
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140123df0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140123eb5
cmp dword [0x140208470], ebx
jne 0x140123e98
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140123e98
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140123e8f
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x140123f51
mov eax, dword [0x140208438]
shr eax, 2
and eax, 1
jmp 0x140123f53
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140123f51
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x34
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140123f48
cmp dword [rsp + 0x40], ebx
je 0x140123f48
cmp dword [rsp + 0x50], ebx
mov edi, 1
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140123f80
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140124045
cmp dword [0x140208470], ebx
jne 0x140124028
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140124028
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14012401f
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x1401240e1
mov eax, dword [0x140208438]
shr eax, 3
and eax, 1
jmp 0x1401240e3
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x1401240e1
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x34
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401240d8
cmp dword [rsp + 0x40], ebx
je 0x1401240d8
cmp dword [rsp + 0x50], ebx
mov edi, 1
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140124110
Capabilities:
Check os version
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x30]
mov rdi, rdx
mov dword [rsp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jae 0x140124156
mov eax, 0x80000000
jmp 0x140124333
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], rsi
xor esi, esi
cmp dword [0x140206e88], esi
mov qword [rsp + 0x180], r12
mov ebx, 0x80000000
lea r12, [0x140206920]
lea rbp, [0x140206a60]
jne 0x1401242e2
mov rax, r12
mov qword [rax], rsi
add rax, 0x10
cmp rax, rbp
jl 0x140124192
cmp qword [0x1402084a8], rsi
lea rax, [0x140124360]
mov qword [0x1402084b0], rsi
mov qword [0x140208468], rax
jne 0x140124240
lea r9, [0x140208420]
lea r8, [0x140126200]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x1402084a0], rax
jne 0x1401241fd
mov dword [0x140208484], 1
jmp 0x140124240
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [0x140208484], esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [0x1402084a0]
xor edx, edx
mov qword [0x1402084a8], rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x1402084a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x140208558], rsi
lea rax, [0x140124560]
mov qword [0x140208560], rsi
mov qword [0x140208520], rax
jne 0x1401242e2
lea r9, [0x1402084c0]
lea r8, [0x140127570]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x140208550], rax
jne 0x14012429f
mov dword [0x140208534], 1
jmp 0x1401242e2
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [0x140208534], esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [0x140208550]
xor edx, edx
mov qword [0x140208558], rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x140208550]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
mov rax, r12
cmp qword [rax], rsi
je 0x1401242fa
add rax, 0x10
add ecx, 1
cmp rax, rbp
jl 0x1401242e7
jmp 0x140124319
movsxd rax, ecx
lea rcx, [0x140052510]
mov ebx, esi
add rax, rax
add dword [0x140206e88], 1
mov qword [r12 + rax*8], rcx
mov qword [r12 + rax*8 + 8], rdi
mov r12, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401447b0
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
Function at 0x1401245d0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140124692
cmp dword [0x140208470], ebx
jne 0x140124678
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140124678
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14012466f
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x14012472a
mov eax, dword [0x140208438]
and eax, 1
jmp 0x14012472c
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x14012472a
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x34
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140124721
cmp dword [rsp + 0x40], ebx
je 0x140124721
cmp dword [rsp + 0x50], ebx
mov edi, 1
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140124760
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x80]
xor ebx, ebx
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x140124824
cmp dword [0x140208470], ebx
jne 0x140124808
mov edi, 1
xor edx, edx
xor ecx, ecx
mov r8d, edi
mov dword [0x140208474], ebx
mov dword [0x140208470], edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
je 0x140124808
lea r8d, [rbx + 4]
lea rdx, str.AERTFilters
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x1401247ff
mov rcx, rax
mov dword [0x140208474], edi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [0x140208474], ebx
je 0x1401248ba
mov eax, dword [0x140208438]
shr eax, 1
and eax, 1
jmp 0x1401248bc
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str..AndreaFilterRealtek
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x1401248ba
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov edi, 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x48]
lea r9d, [rdi + 0x33]
mov edx, 0x222004
mov rcx, rsi
mov dword [rsp + 0x28], 0x34
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401248b1
cmp dword [rsp + 0x40], ebx
je 0x1401248b1
cmp dword [rsp + 0x50], ebx
cmovne ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401447b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret