joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c85
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
mov byte [ebp - 1], 0x1f
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x416cbf
xor eax, eax
inc eax
jmp 0x416db3
lea eax, [ebp + 8]
push edi
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x804]
push esi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x10
test eax, eax
je 0x416d20
push edi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push edi
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, 0x10c
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x804]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp + 8], esi
jne 0x416d56
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x416d25
jmp 0x416daa
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push eax
call sub.MSVCRT.dll_strcpy
push 0xa
lea eax, [ebp - 0x703]
push dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 1]
push 1
push eax
lea eax, [ebp - 0x6f9]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x20
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x804]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416db8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x416ded
xor eax, eax
inc eax
jmp 0x416eed
push esi
lea eax, [ebp + 8]
push edi
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x800]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x800]
push esi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x10
test eax, eax
je 0x416e4f
push edi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push edi
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, 0x10c
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x800]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp + 8], esi
jne 0x416ef1
lea eax, [ebp - 0x800]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x416e54
mov eax, dword [ebp + 8]
push 1
neg eax
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x800]
push eax
call sub.MSVCRT.dll_strcpy
push 0xa
lea eax, [ebp - 0x6ff]
push 0x44c500
push eax
call sub.MSVCRT.dll_memcpy
push 1
lea eax, [ebp - 0x6f5]
push 0x44aebc
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x20
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x800]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
push 2
push edi
push edi
jmp 0x416e90
Function at 0x416ef7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x417009
push esi
lea eax, [ebp + 8]
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call sub.MSVCRT.dll_strlen
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
push eax
lea eax, [ebp - 0x800]
push eax
push ebx
call edi
push esi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x800]
push esi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x10
test eax, eax
jne 0x417002
mov esi, 0x10c
lea eax, [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x800]
push esi
push eax
push ebx
call edi
cmp dword [ebp + 8], esi
jne 0x417002
lea eax, [ebp - 0x800]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x416f6f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x6ff]
push 0xa
mov esi, 0x44c500
push eax
push esi
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x6f5]
push 1
push eax
push 0x44aebc
call sub.MSVCRT.dll_memcpy
movzx eax, byte [0x44aebc]
push eax
push esi
movzx eax, byte [0x45dea6]
push eax
call fcn.0041a830
mov eax, dword [0x45c0a4]
add esp, 0x24
test eax, eax
je 0x416ffb
push 0
push 0
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x416ffd
Function at 0x41700e
Capabilities:
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x80
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x41714a
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push str._s.TMP
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x80c]
push ebx
push edi
push 4
push ebx
push 1
push 0x40000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x417087
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41714a
lea eax, [ebp - 4]
push ebx
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
call edi
lea eax, [ebp - 4]
push ebx
push eax
push esi
call sub.MSVCRT.dll_strlen
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x80c]
push 0x10c
push eax
push dword [ebp - 8]
call edi
cmp dword [ebp - 4], 0x10c
jne 0x417109
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x4170ca
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 4]
jmp 0x4170be
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push str._s.TMP
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x80c]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41714f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4171fa
lea eax, [ebp - 8]
push ebx
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x808]
push eax
push dword [ebp + 8]
call edi
push esi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x808]
push esi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x10
test eax, eax
jne 0x4171f1
mov esi, 0x10c
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x808]
push esi
push eax
push dword [ebp + 8]
call edi
cmp dword [ebp - 4], esi
jne 0x4171f1
lea eax, [ebp - 0x808]
push eax
push ebx
push 0x180
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4171c2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419630
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x75c
push esi
xor esi, esi
push edi
xor eax, eax
mov cl, byte [eax + 0x45eb20]
mov byte [esp + eax + 0x364], cl
inc eax
test cl, cl
jne 0x41963c
lea edi, [esp + 0x364]
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x44d648]
repne scasb al, byte es:[edi]
mov eax, dword [str.IN_.DLL]
mov ecx, dword [0x44d644]
dec edi
mov dword [edi], eax
lea eax, [esp + 0x20]
push eax
mov dword [edi + 4], ecx
lea ecx, [esp + 0x368]
push ecx
mov word [edi + 8], dx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x41986a
push ebx
mov edi, 0x45c620
push ebp
lea edx, [esp + 0x54]
lea eax, [esp + 0x168]
push edx
push 0x45eb20
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
je 0x419841
push str.winampGetInModule2
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x419841
call eax
mov ebp, eax
cmp ebp, esi
je 0x419841
cmp dword [ebp], 0x100
jne 0x419841
mov edx, dword [ebp + 0x18]
push str.in_mjf.dll
and edx, 0xfffffff9
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x18], edx
lea edx, [esp + 0x58]
push edx
mov dword [ebp + 0x88], 0x41a640
mov dword [ebp + 0x84], 0x41a620
mov dword [ebp + 0x6c], 0x41a5e0
mov dword [ebp + 0x70], fcn.00433ef0
mov dword [ebp + 0x60], 0x41a530
mov dword [ebp + 0x64], 0x41a560
mov dword [ebp + 0x80], 0x442020
mov dword [ebp + 0x7c], fcn.00442560
mov dword [ebp + 0x78], 0x442730
mov dword [ebp + 0x68], 0x442b10
mov dword [ebp + 0x74], 0x442c20
mov dword [ebp + 8], esi
mov dword [ebp + 0x90], esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x41978d
mov dword [ebp + 0x34], 0x419880
mov dword [edi], ebp
add edi, 4
mov dword [esp + 0x10], edi
call dword [ebp + 0x24]
mov edx, dword [ebp + 0x90]
cmp edx, esi
je 0x4197ee
cmp byte [edx], 0
je 0x4197ee
mov edi, 0x45ad80
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x44d61c]
or ecx, 0xffffffff
mov word [edi - 1], ax
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x45ad80
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
xor esi, esi
mov dword [ebp + 0x90], 0x41a570
mov eax, dword [0x4528b0]
cmp eax, esi
jne 0x419841
push str.winampGetExtendedFileInfo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x419841
lea ecx, [esp + 0x18]
push 0xf
push ecx
push 0x44d5f8
push 0x450890
mov byte [esp + 0x28], 0
call eax
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x14
cmp eax, 1
jne 0x419841
mov dword [0x4528b0], eax
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x419861
cmp edi, 0x45ce1c
jl 0x41969f
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x75c
ret
Function at 0x41ca90
Capabilities:
Delete file
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xa1c
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0xa28]
push eax
push 0x2001f
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41cc89
push ebx
push esi
lea edx, [esp + 0x20]
push edi
push edx
mov edx, dword [esp + 0x18]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ebx, 0x200
push 0
push edx
mov dword [esp + 0x30], ebx
mov esi, 1
call edi
test eax, eax
jne 0x41cb33
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0041ca90
add esp, 8
test eax, eax
je 0x41cb0b
dec esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
push 0
push 0
push 0
lea edx, [esp + 0x3c]
mov eax, esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x30], ebx
inc esi
call edi
test eax, eax
je 0x41caf4
mov ecx, dword [str.jdpo]
mov dl, byte [0x44d980]
mov eax, dword [str.qbui]
mov dword [esp + 0x18], ecx
mov cl, byte [0x44d978]
mov byte [esp + 0x1c], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0x400
mov byte [esp + 0x22c], 0
mov byte [esp + 0x20], cl
xor eax, eax
mov bl, byte [esp + eax + 0x18]
dec bl
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, 8
jl 0x41cb6c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x22c]
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push 0
push edx
push eax
call ebx
test eax, eax
jne 0x41cc5b
cmp dword [esp + 0x24], 1
jne 0x41cc5b
mov al, byte [esp + 0x22c]
test al, al
je 0x41cc5b
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 0x3ff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esp + ecx + 0x22b]
lea esi, [esp + ecx + 0x22c]
cmp al, 0x5c
je 0x41cbfc
mov cx, word [0x44ad50]
mov eax, esi
inc esi
mov word [eax], cx
mov al, byte [0x44d970]
mov edx, dword [str.obnf]
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edx
mov eax, 4
mov cl, byte [esp + eax + 0x18]
dec cl
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 8
jl 0x41cc14
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
lea eax, [esp + 0x24]
push 0
push eax
push ecx
call ebx
test eax, eax
jne 0x41cc5b
cmp dword [esp + 0x24], 1
jne 0x41cc5b
cmp byte [esi], 0
je 0x41cc5b
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa30]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x41cc89
mov eax, 1
pop ebp
add esp, 0xa1c
ret
xor eax, eax
pop ebp
add esp, 0xa1c
ret
Function at 0x41cca0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x28
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xc]
push 0xa3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov edi, 8
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x41d090
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x30], 0x452710
call esi
test ax, ax
jne 0x41cd05
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x443210
push ecx
mov dword [esp + 0x30], str.WinampVis
call esi
test ax, ax
jne 0x41cd29
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x414700
push edx
mov dword [esp + 0x30], str.Winamp_Gen
call esi
test ax, ax
jne 0x41cd4d
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
mov eax, dword [esp + 8]
mov dword [esp + 0xc], 0x41563c
or al, 3
mov dword [esp + 0x2c], str.Winamp_EQ
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call esi
test ax, ax
jne 0x41cd7b
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x431c10
push ecx
mov dword [esp + 0x30], str.Winamp_PE
call esi
test ax, ax
jne 0x41cd9f
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea edx, [esp + 8]
mov dword [esp + 0xc], 0x440d30
push edx
mov dword [esp + 0x30], str.Winamp_Video
call esi
test ax, ax
jne 0x41cdc3
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea eax, [esp + 8]
mov dword [esp + 8], edi
push eax
mov dword [esp + 0x10], 0x423fc4
mov dword [esp + 0x30], str.Winamp_MB
call esi
test ax, ax
jne 0x41cdeb
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
mov edx, dword [0x45bf10]
lea ecx, [esp + 8]
push ecx
push str.Button
push edx
call dword [sym.imp.USER32.dll_GetClassInfoA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x30], str.WinampBrowseCheckBox
mov dword [0x45276c], eax
mov dword [esp + 0x10], 0x41dfb0
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret
Function at 0x420ec0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
sub eax, 0x202
push esi
je 0x420f15
sub eax, 3
jne 0x420f9f
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [0x45bf14]
push 0
push esi
push 0
push ecx
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, 1
pop esi
add esp, 8
ret
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test ah, ah
jns 0x420f44
mov ecx, dword [esp + 0x10]
push 0
push 0x9cf9
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
add esp, 8
ret
push 0x10
call esi
test ah, ah
jns 0x420f6d
mov edx, dword [esp + 0x10]
push 0
push 0x9c5d
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
add esp, 8
ret
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x420f98
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push esi
call edi
push 5
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 8
ret
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x420fb0
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
push esi
cmp eax, 1
jne 0x421035
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx esi, ax
mov al, byte [0x45e9e1]
sar esi, 0xf
test al, al
jne 0x420fde
test esi, esi
jne 0x420fde
mov eax, dword [0x45abf8]
test eax, eax
je 0x420ff8
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x421010
mov eax, dword [0x45abf8]
test eax, eax
jne 0x421010
mov byte [0x45e8c4], 1
mov dword [0x45abf8], 0
mov eax, 1
pop esi
ret
push 0x45bf20
call fcn.0043700c
add esp, 4
mov byte [0x45e8c4], 2
mov dword [0x45abf8], 0
mov eax, 1
pop esi
ret
test eax, eax
jne 0x4210cd
cmp byte [0x45e8c4], 2
jne 0x421058
mov al, byte [0x45e9e1]
cmp al, 1
je 0x421058
cmp al, 2
je 0x421058
call fcn.00437094
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x421070
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [0x45e8c4]
test al, al
je 0x421083
push 0
call fcn.004346b8
add esp, 4
mov eax, dword [0x44ae78]
test eax, eax
jne 0x4210a5
push 0x15
push 0
push 0
push 0xbb8
push 0xbb8
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x2a
push 0x113
push esi
mov byte [0x45e8c4], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
call fcn.004346b8
add esp, 4
mov eax, 1
pop esi
ret
Function at 0x421530
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, dword [esp + 0x11c]
mov si, ax
lea eax, [esp + 0x10]
push 0x104
not esi
push eax
push 0xffffffffffffffff
shr esi, 0xf
push ebp
and esi, 1
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test esi, esi
mov ebx, eax
je 0x42157c
call fcn.004305d0
push 0
call fcn.004311db
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x4215a6
lea ecx, [esp + 0x10]
push 0x104
push ecx
push edi
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea edx, [esp + 0x10]
push edx
call fcn.00430867
add esp, 4
inc edi
cmp edi, ebx
jl 0x421582
mov eax, dword [esp + 0x118]
test eax, eax
je 0x4215b8
push ebp
call dword [sym.imp.SHELL32.dll_DragFinish]
test esi, esi
je 0x4215ed
mov al, byte [0x45dea4]
test al, al
je 0x4215d1
push 0xc4653600
call fcn.004311db
jmp 0x4215d8
push 0
call fcn.00430e77
add esp, 4
push 0x45bbe0
push 0x45c0c0
call fcn.00430cb4
add esp, 8
call fcn.00431ae3
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
je 0x4215ff
call fcn.0042fb16
mov eax, 1
add esp, 0x104
ret
Function at 0x421e90
Capabilities:
Set current directory

Disassembly:
sub esp, 0x400
push ebx
mov ebx, dword [esp + 0x40c]
push esi
push edi
mov eax, dword [ebx]
cmp eax, 0x81
ja 0x421f95
je 0x421f6e
cmp eax, 0x64
je 0x421f4e
cmp eax, 0x67
je 0x421f35
cmp eax, 0x6d
jne 0x421fb0
mov ecx, dword [0x45bf10]
lea eax, [esp + 0xc]
push 0x200
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x20c]
push 0x1ff
lea eax, [esp + 0x10]
push edx
push eax
call esi
mov edx, dword [ebx + 8]
lea ecx, [esp + 0xc]
push 0x1ff
push ecx
push edx
call esi
lea eax, [esp + 0x20c]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov dword [0x44d800], eax
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x400
ret
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret
mov eax, dword [ebx + 8]
push eax
call fcn.00430867
add esp, 4
call fcn.00431ae3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret
mov ecx, dword [ebx + 8]
push 1
push ecx
call fcn.00430631
mov edx, dword [ebx + 8]
push eax
push edx
call fcn.00407c67
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x400
ret
sub eax, 0x82
je 0x422096
sub eax, 0x46
je 0x422049
sub eax, 0x32e
je 0x421fbc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x400
ret
mov esi, dword [ebx + 8]
test esi, esi
je 0x4220b4
cmp dword [ebx + 4], 0x340
jb 0x4220b4
mov ecx, 0x40
mov edi, 0x45b9c0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, 0x40
add esi, 0x100
mov edi, 0x45be00
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, 0x40
add esi, 0x200
mov edi, 0x45bac0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, 0x10
add esi, 0x300
mov edi, 0x45c1e0
rep movsd dword es:[edi], dword [esi]
call fcn.004397fc
test eax, eax
je 0x4220b4
mov eax, dword [0x450ea0]
test eax, eax
jne 0x4220b4
call fcn.004252ed
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4220b4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4220b4
mov ecx, ebx
mov edx, 0x45e460
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x422065
mov eax, dword [0x45b980]
push 0
push 0x9d63
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4220b4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4220b4
push ebx
call fcn.0043c880
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret