joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc58058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c581a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc5807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5806a
add dl, dl
jne 0xc58089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc580dc
xor eax, eax
add dl, dl
jne 0xc58096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc5817d
add dl, dl
jne 0xc580a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc580b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc580bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc580c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc580d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc58075
mov eax, 1
add dl, dl
jne 0xc580ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc580f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc580e1
sub eax, ebx
mov ebx, 1
jne 0xc58128
mov ecx, 1
add dl, dl
jne 0xc5810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc58119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc58105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc58075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc5813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc5814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc58136
cmp eax, 0x7d00
jae 0xc5816d
cmp eax, 0x500
jb 0xc58168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc58075
cmp eax, 0x7f
ja 0xc58170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc58075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc5819e
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 0xc58075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402eb0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x20
push 0x40
call edi
mov esi, eax
test esi, esi
je 0x402f8f
push 0x100
push 0x40
call edi
push 0x30
push 0x40
mov dword [esi], eax
call edi
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test ecx, ecx
mov dword [esi + 4], eax
je 0x402f97
test eax, eax
je 0x402f94
mov al, 4
mov edi, 0x10
mov byte [esi + 8], al
mov byte [esi + 9], al
mov eax, 0x42400000
push ebx
push ebp
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
xor edx, edx
mov ecx, edx
xor eax, eax
shl ecx, 4
mov ebp, dword [esi]
mov bl, dl
add ebp, ecx
xor bl, al
mov byte [eax + ebp], bl
inc eax
cmp eax, edi
jl 0x402f20
inc edx
cmp edx, edi
jl 0x402f19
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
xor edi, edi
mov eax, edi
add edi, 0x32
cdq
and edx, 0xf
add ecx, 3
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 0x2b
mov byte [ecx + edx - 3], al
mov eax, ebx
cdq
and edx, 0xf
add ebx, 0x1b
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 0x19
mov byte [edx + ecx - 2], al
mov eax, ebp
cdq
and edx, 0xf
add ebp, 0xe
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 9
cmp edi, 0x320
mov byte [edx + ecx - 1], al
jl 0x402f3d
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
ret
push ecx
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x402fa1
push eax
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x407cdd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push dword [ebp + 0xc]
lea eax, [ebp - 0x800]
push eax
call fcn.0043cfd0
push 7
push str.config_
push dword [ebp + 8]
call fcn.0043d410
add esp, 0x14
test eax, eax
jne 0x407d0f
add dword [ebp + 8], 7
push 0x4638a0
lea eax, [ebp - 0x800]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [0x461344]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
leave
ret
Function at 0x408de4
Capabilities:
Read .ini file

Disassembly:
push 7
push str.config_
push dword [esp + 0xc]
call fcn.0043d410
add esp, 0xc
test eax, eax
jne 0x408e00
add dword [esp + 4], 7
push 0x4638a0
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [0x461344]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret

Function at 0x408e1a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0x100
cmp byte [eax], 0
je 0x408e62
push eax
lea eax, [ebp - 0x108]
push 0x44e764
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x408e66
xor eax, eax
leave
ret
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
test eax, eax
jne 0x408ed6
inc esi
cmp dword [ebp - 4], esi
jne 0x408ed4
lea eax, [ebp - 0x108]
push str.Winamp.File
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x408ed6
lea eax, [ebp - 0x108]
push str.Winamp.PlayList
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x408ed6
lea eax, [ebp - 0x108]
push str.Winamp.SkinZip
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x408ed6
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x4092d1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40933c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
mov edi, 0x400
jmp 0x409312
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 4]
call fcn.004092d1
pop ecx
test eax, eax
pop ecx
jne 0x409325
lea eax, [ebp - 0x404]
push edi
push eax
push 0
push dword [ebp - 4]
call esi
test eax, eax
je 0x4092fd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
leave
ret

Function at 0x40933e
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
cmp dword [ebp + 0x14], 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
jne 0x4093f5
lea eax, [ebp + 0x14]
mov edi, SysReAllocStringLen
push eax
push dword [ebp + 0x10]
push edi
call ebx
test eax, eax
jne 0x409398
push dword [ebp + 8]
call fcn.0043d4e0
pop ecx
inc eax
push eax
push dword [ebp + 8]
push 1
push 0
push str.Content_Type
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
lea eax, [ebp - 0x1e8]
push str.MIMEDatabaseContent_Type_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x1e8]
push eax
push edi
call ebx
test eax, eax
jne 0x4093f5
push str.CLSID
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 0x10]
call fcn.0043d4e0
pop ecx
inc eax
push eax
push dword [ebp + 0x10]
push 1
push 0
push str.Extension
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x14]
push eax
push str.SoftwareNetscapeNetscape_NavigatorViewers
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x4094a3
push dword [ebp + 0xc]
call fcn.0043d4e0
mov edi, dword [ebp + 8]
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push 1
push 0
push edi
push dword [ebp + 0x14]
call esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x64]
push str.TYPE_d
push eax
mov dword [ebp + 8], 0x80
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x64]
push 0
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push edi
jne 0x409484
lea eax, [ebp - 0xe4]
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x40949a
inc ebx
cmp ebx, 0x3e7
jl 0x40942a
jmp 0x40949a
call fcn.0043d4e0
pop ecx
inc eax
push eax
push edi
push 1
lea eax, [ebp - 0x64]
push 0
push eax
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a501
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov ax, word [0x44f03c]
push esi
push edi
push 0x40
mov word [ebp - 0x10c], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x10a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10b]
push 0xfc
push eax
xor esi, esi
push dword [0x4618b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40a55e
lea eax, [ebp - 4]
push eax
push str.AudioCD_shellplaycommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40a562
xor eax, eax
jmp 0x40a5bd
lea eax, [ebp - 0x10c]
push str.___1
push eax
call fcn.0043cfe0
pop ecx
lea eax, [ebp - 8]
pop ecx
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a5b2
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40a5b2
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x40a5c1
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov ax, word [0x44f03c]
push edi
push 0x40
mov word [ebp - 0x10c], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x10a]
push 0xfc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10b]
push eax
push dword [0x4618b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40a7cf
lea eax, [ebp - 0x10c]
push str.___1
push eax
call fcn.0043cfe0
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
push str.AudioCD_shellplaycommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40a7cf
push ebx
lea eax, [ebp + 8]
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
cmp dword [ebp + 8], ebx
push ebx
push ebx
mov esi, 0x104
push ebx
mov dword [ebp + 8], esi
push dword [ebp - 4]
je 0x40a70a
call edi
test eax, eax
lea eax, [ebp - 0x10c]
push eax
jne 0x40a7a8
lea eax, [ebp - 0x210]
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x40a7c4
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x314]
push eax
push ebx
mov esi, str.Winamp_Back
push ebx
push esi
push dword [ebp - 4]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40a6c7
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x40a6e6
lea eax, [ebp - 0x210]
push eax
call fcn.0043d4e0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10c]
push eax
call fcn.0043d4e0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 1
push ebx
push ebx
push dword [ebp - 4]
call edi
jmp 0x40a7c4
call edi
test eax, eax
jne 0x40a7c4
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
jne 0x40a7c4
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
mov esi, str.Winamp_Back
push ebx
push esi
push dword [ebp - 4]
call edi
test eax, eax
lea eax, [ebp - 0x10c]
push eax
jne 0x40a7a2
lea eax, [ebp - 0x210]
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x40a76f
mov byte [ebp - 0x210], bl
lea eax, [ebp - 0x210]
push eax
call fcn.0043d4e0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40a7c4
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40a7c4
mov byte [ebp - 0x10c], bl
call fcn.0043d4e0
inc eax
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
push 1
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x40a7fc
Capabilities:
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
mov dword [ebp - 0x58], 0x44
xor esi, esi
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x15f]
push 0x104
push eax
mov byte [ebp - 0x160], 0x22
push dword [0x4618b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x160]
push str.a.exe_
push eax
call fcn.0043d4e0
lea eax, [ebp + eax - 0x160]
push eax
lea eax, [ebp - 0x15f]
push 0x44dff4
push eax
call fcn.0043363c
add esp, 0x10
push eax
call fcn.0043cfd0
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40a8bf
lea eax, [ebp - 0x160]
push eax
call fcn.0043d4e0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x160]
push eax
push 1
push esi
push str.WinampAgent
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x160]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
leave
ret

Function at 0x40a8df
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push str.WinampAgentMain
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40a901
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40a930
push str.WinampAgent
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x40a932
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov al, byte [0x4564f8]
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x40a99c
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
push edi
push str.Desktop
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push eax
call fcn.0043d4e0
test eax, eax
pop ecx
je 0x40a9ec
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push str.WINAMP.LNK
push eax
call fcn.0043cfe0
push edi
lea eax, [ebp - 0x210]
push edi
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call fcn.0042fad4
add esp, 0x1c
pop edi
leave
ret

Function at 0x40a9ef
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov al, byte [0x4564f8]
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x40aa59
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
push edi
push str.AppData
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push eax
call fcn.0043d4e0
test eax, eax
pop ecx
je 0x40aaa9
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push str.MicrosoftInternet_ExplorerQuick_LaunchWINAMP.LNK
push eax
call fcn.0043cfe0
push edi
lea eax, [ebp - 0x210]
push edi
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call fcn.0042fad4
add esp, 0x1c
pop edi
leave
ret
Function at 0x40aaac
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov al, byte [0x4564f8]
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
pop edi
jne 0x40ab17
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push str.AppData
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push eax
call fcn.0043d4e0
test eax, eax
pop ecx
je 0x40ab69
lea eax, [ebp - 0x10c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043cfe0
pop ecx
lea eax, [ebp - 0x24c]
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40ab69
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x24c], 0x10
je 0x40ab69
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x40ab6d
Capabilities:
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov al, byte [0x4564f8]
push edi
push 0x40
mov byte [ebp - 0x214], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40ad29
push ebx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
xor ebx, ebx
push eax
push ebx
push ebx
push str.Programs
push dword [ebp - 4]
mov esi, 0x104
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ad1e
lea eax, [ebp - 0x41c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x214]
push 0x44f1b4
push eax
call fcn.0043cfe0
pop ecx
lea eax, [ebp - 0x214]
pop ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x318]
push str._sWinamp.lnk
push eax
call esi
push ebx
lea eax, [ebp - 0x41c]
push ebx
push eax
lea eax, [ebp - 0x318]
push eax
push dword [ebp + 8]
call fcn.0042fad4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x318]
push str._sWhats_new.lnk
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0043cfd0
lea eax, [ebp - 0x110]
mov edi, 0x44dfc0
dec eax
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0043363c
add esp, 0x40
mov byte [eax + 1], bl
lea eax, [ebp - 0x110]
push str.whatsnew.txt
push eax
call fcn.0043cfe0
push ebx
lea eax, [ebp - 0x110]
push ebx
push eax
lea eax, [ebp - 0x318]
push eax
push dword [ebp + 8]
call fcn.0042fad4
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0043cfd0
push dword [ebp - 0xc]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0043363c
mov byte [eax + 1], bl
lea eax, [ebp - 0x110]
push str.uninstwa.exe
push eax
call fcn.0043cfe0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x318]
push str._sUninstall_Winamp.lnk
push eax
call esi
add esp, 0x44
lea eax, [ebp - 0x110]
push ebx
push ebx
push eax
lea eax, [ebp - 0x318]
push eax
push dword [ebp + 8]
call fcn.0042fad4
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x40dc10
Capabilities:
Capture screenshot

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x4573a0]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
add ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, 0x6f
test eax, eax
je 0x40dc9f
mov eax, dword [0x456c78]
push 0x23
push pe_nt_image_headers32
push 0x19
push esi
push eax
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov ecx, dword [0x456dbc]
mov edx, dword [0x456c78]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call ebp
push 0x25
mov dword [esp + 0x20], eax
mov eax, dword [0x456c78]
push 0x10b
push 0x18
push 0x6c
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x456c78]
push ecx
push edx
call ebp
mov eax, dword [0x456c78]
push 5
push 0
push eax
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov dword [0x4573a0], 0
mov ecx, dword [0x457394]
push 0
push ecx
call fcn.0040b4d0
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
add esp, 8
mov al, byte [ebx]
test al, al
je 0x40dd41
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push edx
push ecx
push eax
inc ebx
call fcn.0040d630
mov edx, dword [esp + 0x28]
mov ecx, dword [0x456dd4]
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp esi, 0x104
push 0xcc0020
push edx
jge 0x40dd28
add eax, edi
mov edx, 5
push eax
mov eax, dword [0x456c78]
push ecx
sub edx, edi
push 6
push edx
push 0x1b
push esi
push eax
call ebp
mov ecx, 5
sub ecx, edi
xor edi, edi
add esi, ecx
cmp esi, 0x109
jl 0x40dcb6
jmp 0x40dd74
mov edx, 0x109
push eax
mov eax, dword [0x456c78]
push ecx
sub edx, esi
push 6
push edx
push 0x1b
push esi
push eax
call ebp
jmp 0x40dd74
cmp esi, 0x109
jge 0x40dd74
mov ecx, dword [0x456dd4]
mov edx, dword [0x456c78]
push 0xcc0020
push 0
push 4
push ecx
push 6
mov eax, esi
push 1
push 0x1b
push eax
push edx
inc esi
call ebp
cmp esi, 0x109
jl 0x40dd49
push 0xa
push 0x9a
push 0x19
push 0x6f
call fcn.0040d480
push 0
push 0
call fcn.0040b4d0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret