joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e8b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9d000]
push edi
jmp 0x4e8b5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e8b61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8b50
mov eax, 1
add ebx, ebx
jne 0x4e8b73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e8b84
jne 0x4e8ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8ba3
dec eax
add ebx, ebx
jne 0x4e8b90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e8b68
add ebx, ebx
jne 0x4e8b9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e8bf5
xor ecx, ecx
sub eax, 3
jb 0x4e8bbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e8c2a
sar eax, 1
mov ebp, eax
jmp 0x4e8bc6
add ebx, ebx
jne 0x4e8bc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8b94
inc ecx
add ebx, ebx
jne 0x4e8bd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8b94
add ebx, ebx
jne 0x4e8be1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e8bd6
jne 0x4e8bf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e8bd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e8c14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e8c06
jmp 0x4e8b56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e8c14
add edi, ecx
jmp 0x4e8b56
pop esi
mov edi, esi
mov ecx, 0x4115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e8c32
cmp byte [edi], 0x15
jne 0x4e8c32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4e8c37
lea edi, [esi + 0xe4000]
mov eax, dword [edi]
or eax, eax
je 0x4e8caf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe8348]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe84b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e8c64
mov ecx, edi
jns 0x4e8c93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe84c0]
or eax, eax
je 0x4e8ca9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e8c81
call dword [esi + 0xe84bc]
mov ebp, dword [esi + 0xe84c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e8ce3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10017fde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10017fed
pop dword [ebp - 0x1c]
mov eax, 0xffa10cb
sub eax, 0xfff890de
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x96098da2
add dword [ebp - 0x2c], 0xb848b7a9
mov dword [ebp - 0x28], 0x619ab43a
add dword [ebp - 0x28], 0xd098980b
mov dword [ebp - 0x24], 0x7e13b74e
add dword [ebp - 0x24], 0xce388ce0
mov dword [ebp - 0x20], 0x71567593
sub dword [ebp - 0x20], 0x71567593
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x69f4dc5c
sub dword [ebp - 0x2c], 0xf5827306
mov dword [ebp - 0x28], 0x4d9b864
add dword [ebp - 0x28], 0x3c92a911
mov dword [ebp - 0x24], 0xc21a2484
sub dword [ebp - 0x24], 0x5eaab818
mov dword [ebp - 0x20], 0x63e01ef6
sub dword [ebp - 0x20], 0x63e01ef6
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x7de1edc3
add eax, 0x921fa275
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x33742
push 0
call eax
mov ecx, 0xe1327279
sub ecx, 0xe13236b9
mov edx, eax
mov esi, 0xa5db6721
sub esi, 0x95d93f21
add esi, dword [ebp - 0x1c]
mov ebx, 0xb5a7f88b
add ebx, 0x5aa10da8
mov dword [ebp - 0x14], 0x84c9ea4b
mov edi, dword [esi]
add edi, ebx
xor dword [ebp - 4], edi
mov dword [edx], edi
add dword [ebp - 0x18], edx
add edx, 4
add esi, 4
loop 0x1001810a
add eax, 0xe1d3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x427900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42792d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42792d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1084f160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1084f2b0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1084f186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1084f172
add dl, dl
jne 0x1084f191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1084f1e4
xor eax, eax
add dl, dl
jne 0x1084f19e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1084f285
add dl, dl
jne 0x1084f1ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1084f1b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1084f1c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1084f1ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1084f1da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1084f17d
mov eax, 1
add dl, dl
jne 0x1084f1f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1084f1fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1084f1e9
sub eax, ebx
mov ebx, 1
jne 0x1084f230
mov ecx, 1
add dl, dl
jne 0x1084f216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1084f221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1084f20d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1084f17d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1084f247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1084f252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1084f23e
cmp eax, 0x7d00
jae 0x1084f275
cmp eax, 0x500
jb 0x1084f270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1084f17d
cmp eax, 0x7f
ja 0x1084f278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1084f17d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1084f2a6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1084f17d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4d51b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
or ebp, 0xffffffff
jmp 0x4d51d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d51d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d51c8
mov eax, 1
add ebx, ebx
jne 0x4d51eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d51fc
jne 0x4d521b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d521b
dec eax
add ebx, ebx
jne 0x4d5208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d51e0
add ebx, ebx
jne 0x4d5217
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d526d
xor ecx, ecx
sub eax, 3
jb 0x4d5233
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d52a2
sar eax, 1
mov ebp, eax
jmp 0x4d523e
add ebx, ebx
jne 0x4d523e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d520c
inc ecx
add ebx, ebx
jne 0x4d524c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d520c
add ebx, ebx
jne 0x4d5259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d524e
jne 0x4d526a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d524e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d528c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d527e
jmp 0x4d51ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d528c
add edi, ecx
jmp 0x4d51ce
pop esi
mov edi, esi
mov ecx, 0x775
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d52aa
cmp byte [edi], 9
jne 0x4d52aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d52af
lea edi, [esi + 0xd1000]
mov eax, dword [edi]
or eax, eax
je 0x4d5327
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeea24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeeaac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d52dc
mov ecx, edi
jns 0x4d530b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeeab4]
or eax, eax
je 0x4d5321
mov dword [ebx], eax
add ebx, 4
jmp 0x4d52f9
call dword [esi + 0xeeab0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4d5358
cmp al, 0xef
ja 0x4d534b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4d532d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4d533a
mov ebp, dword [esi + 0xeeab8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d538c
sub esp, 0xffffff80
jmp 0x40dbdf
Function at 0x4021b0
Capabilities:
Delete file

Disassembly:
push str.c:usersPublicMicTray.log
push 0x104
push 0x5efdc0
call fcn.0055695e
add esp, 0xc
push 0x5efdc0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x402450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor cl, cl
test eax, eax
je 0x40255a
test eax, 0xffff0000
jne 0x40255a
push esi
push edi
movzx edi, ax
push edi
call fcn.0042237d
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x402556
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x402556
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402556
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402556
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4024e9
cmp esi, ecx
jae 0x402556
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4024d7
cmp esi, ecx
jae 0x402556
movzx eax, word [esi]
test ax, ax
je 0x402556
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40251c
push edi
mov ecx, ebx
call fcn.00403000
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x40251f
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.0055a0fb
add esp, 0x10
cmp eax, 0x50
ja case.0x40253d.1
movzx eax, byte [eax + 0x402588]
jmp dword [eax*4 + 0x402578]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x40256d
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
pop edi
mov cl, 1
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004216f7
call fcn.00421711
push 0x80070057
call fcn.004023b0
nop
inc esp
and eax, 627572800
inc eax
add byte [ebx + 0x25], ah
inc eax
add byte [ebx + 0x25], ah
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x403bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
xor edi, edi
mov ebx, ecx
push str.SOFTWAREConexantMicTrayBackVolume
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x403cbd
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
push str.InternalSpkVolumeL
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push str.InternalSpkVolumeR
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403caf
movd xmm1, dword [ebp - 0x10]
mov ecx, ebx
movd xmm2, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
push 1
sub esp, 8
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x5891f4]
mulss xmm2, dword [0x5891f4]
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00403610
test eax, eax
je 0x403caa
push eax
push str.SetMultiStreamBackupBothChannelVolume_Failed_to_set_Volume_0x_x_n
push 5
call fcn.00401fa0
add esp, 0xc
jmp 0x403caf
mov edi, 1
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x403cbd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5eb10c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5f042c], 0
push ebx
mov ebx, ecx
jne 0x403cfd
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054eec4
mov esp, ebp
pop ebp
ret
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x38]
push edi
push eax
push 0x20
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], edi
push eax
push edi
push edi
push 0x2206b8
push dword [ebx + 8]
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x403e3e
cmp dword [ebp - 0x24], edi
je 0x403d39
lea esi, [edi + 1]
mov eax, str._Headphone_On__n
jmp 0x403d40
xor esi, esi
mov eax, str._Headphone_Off__n
push eax
push 5
call fcn.00401fa0
add esp, 8
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 4
push eax
push str.SOFTWAREConexantMicTrayBackVolume
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403e4d
lea ecx, [ebp - 0x2c]
test esi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
je 0x403dab
push str.InternalHPVolumeL
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push str.InternalHPVolumeR
jmp 0x403dc4
push str.InternalSpkVolumeL
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push str.InternalSpkVolumeR
push dword [ebp - 0x28]
call esi
test eax, eax
jne 0x403e1d
movd xmm1, dword [ebp - 0x34]
sub esp, 8
movd xmm2, dword [ebp - 0x30]
mov ecx, ebx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x5891f4]
mulss xmm2, dword [0x5891f4]
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00403260
test eax, eax
je 0x403e18
push eax
push str.SetClassicBackupBothChannelVolume_Failed_to_set_Volume_0x_x_n
push 5
call fcn.00401fa0
add esp, 0xc
jmp 0x403e1d
mov edi, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403e4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054eec4
mov esp, ebp
pop ebp
ret
push str._IOCTL_MAXXAUDIO_GET_CURRENT_STATE_break__n
push 5
call fcn.00401fa0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054eec4
mov esp, ebp
pop ebp
ret
Function at 0x404230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8014
call fcn.0054ef10
mov eax, dword [0x5eb10c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.GetSettingsFromRegistry_n
push 5
mov esi, ecx
call fcn.00401fa0
push 0x40
lea eax, [esi + 0xe0]
mov dword [ebp - 0x8008], 0
push 0
push eax
call fcn.00553d40
add esp, 0x14
lea eax, [ebp - 0x8008]
push eax
push str.SOFTWAREConexantMicTrayHotkeyPNPID
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
push edi
push str.RegOpenKey_is__d
push 5
call fcn.00401fa0
add esp, 0xc
test edi, edi
jne 0x4043bf
push ebx
push 0x7ffe
lea eax, [ebp - 0x8004]
mov dword [ebp - 0x8014], 4
push edi
push eax
call fcn.00553d40
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x8014]
mov dword [ebp - 0x8010], 0x3fff
push eax
lea eax, [ebp - 0x800c]
push eax
push edi
push edi
lea eax, [ebp - 0x8010]
push eax
lea eax, [ebp - 0x8004]
push eax
push dword [esi + 0x120]
push dword [ebp - 0x8008]
call ebx
mov edi, eax
test edi, edi
jne 0x4043ad
nop dword [eax + eax]
mov ecx, dword [ebp - 0x800c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str.PNPID_is_HI__x__LO__x
push 5
call fcn.00401fa0
mov ecx, dword [esi + 0x120]
mov eax, dword [ebp - 0x800c]
mov dword [esi + ecx*4 + 0xe0], eax
inc dword [esi + 0x120]
push dword [esi + 0x120]
push str.TotalPNPID_num_is__d
push 5
call fcn.00401fa0
push 0x7ffe
lea eax, [ebp - 0x8004]
push 0
push eax
call fcn.00553d40
add esp, 0x28
mov dword [ebp - 0x8010], 0x3fff
lea eax, [ebp - 0x8014]
push eax
lea eax, [ebp - 0x800c]
push eax
push 0
push 0
lea eax, [ebp - 0x8010]
push eax
lea eax, [ebp - 0x8004]
push eax
push dword [esi + 0x120]
push dword [ebp - 0x8008]
call ebx
mov edi, eax
test edi, edi
je 0x404310
mov eax, dword [ebp - 0x8008]
pop ebx
test eax, eax
je 0x4043bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0054eec4
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
push ebx
mov ebx, ecx
jne 0x404db3
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push edi
push 0x80
lea esi, [ebx + 0x60]
mov dword [ebx + 0x4c], 0
push 0
push esi
lea edi, [ebx + 0x4c]
mov dword [ebx + 0x50], 0
call fcn.00553d40
mov eax, dword [ebx + 0x48]
add esp, 0xc
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push 0
push 0x80
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebx + 0x46], 1
test eax, eax
jne 0x404e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3e5
mov esi, eax
push esi
push str.HID_is_submitted_to_queue._Error_0x_x__ERROR_IO_PENDING_0x_x_n
push 5
call fcn.00401fa0
add esp, 0x10
cmp esi, 0x3e5
je 0x404e4c
push esi
push str.HID_is_submitted_to_queue._Error_0x_x_n
push 5
call fcn.00401fa0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x404e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 4], edi
cmp eax, 0xffffffff
jne 0x404ea7
push str.HIDLED_deviceHandle_is_invalid_n
push 5
call fcn.00401fa0
add esp, 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push str.HIDLED_WriteData_Size__d_n
push 5
mov ebx, eax
call fcn.00401fa0
add esp, 0xc
test ebx, ebx
je 0x404eee
push str.WriteData:_success_n
push 5
call fcn.00401fa0
add esp, 8
mov esi, str.WriteData:_success_ret_0x_x_n
push 0x3e8
jmp 0x404f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x404f02
mov esi, str.WriteData_failed___08X__n
jmp 0x404f13
mov esi, str.WriteData:_success_asynchronously_ret_0x_x_n
push 0xc8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push esi
push 5
call fcn.00401fa0
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405a20
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x405b3f
cmp dword [0x5effe0], 0
jne 0x405b7e
mov ecx, dword [0x5f0060]
xor edx, edx
mov byte [0x5ea020], 0xff
mov dword [0x5f0064], 0xcccccccc
mov dword [0x5f0068], 0xcccccccc
mov dword [0x5f006c], 0xcccccccc
mov dword [0x5f0070], 0xcccccccc
mov dword [0x5f0074], 0xcccccccc
mov dword [0x5f0078], 0xcccccccc
mov dword [0x5f007c], 0xcccccccc
mov dword [0x5f0080], 0xcccccccc
mov dword [0x5f0084], 0xcccccccc
mov al, byte [edx + 0x5f01b0]
cmp al, 0xff
je 0x405ac1
movzx eax, al
cmp ecx, eax
cmovb ecx, eax
inc edx
mov dword [0x5f0060], ecx
cmp edx, 8
jb 0x405aa3
xor edx, edx
mov al, byte [edx + 0x5f0088]
cmp al, 0xff
je 0x405ae1
movzx eax, al
cmp ecx, eax
cmovb ecx, eax
inc edx
mov dword [0x5f0060], ecx
cmp edx, 8
jb 0x405ac3
xor edx, edx
mov al, byte [edx + 0x5f02d8]
cmp al, 0xff
je 0x405b01
movzx eax, al
cmp ecx, eax
cmovb ecx, eax
inc edx
mov dword [0x5f0060], ecx
cmp edx, 8
jb 0x405ae3
push str.Enable_Hook
push 0x1d
call fcn.00401fa0
add esp, 8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x40be80
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5effe4], eax
test eax, eax
je 0x405b7e
mov dword [0x5effe0], 1
xor eax, eax
pop ebp
ret
cmp dword [0x5effe4], 0
je 0x405b7e
cmp dword [0x5effe0], 0
je 0x405b7e
push str.Disable_Hook
push 0x1d
call fcn.00401fa0
add esp, 8
push dword [0x5effe4]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x405b7e
mov dword [0x5effe0], 0
xor eax, eax
pop ebp
ret
mov eax, 0x80004005
pop ebp
ret