joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40878e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41ccea
call fcn.0040e958
sub esp, 0x10c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x45c]
push 0x41f278
lea ecx, [ebp - 0x10]
mov dword [edi], eax
call fcn.00401804
mov edi, dword [edi]
xor ebx, ebx
cmp edi, 1
mov dword [ebp - 4], ebx
jne 0x4087cc
cmp dword [esi + 0x450], ebx
je 0x4087cc
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00407baf
mov byte [ebp - 4], 1
jmp 0x4087e7
cmp edi, ebx
jne 0x4087f5
cmp dword [esi + 0x440], ebx
je 0x4087f5
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00407da0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d18
jmp 0x4088b5
cmp edi, 2
jne 0x4088c3
push ebx
push str.Winamp_v1.x
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x4088c3
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00402db5
or edi, 0xffffffff
cmp eax, edi
jne 0x4088b5
push ebx
push str._Paused_
lea ecx, [ebp + 0xc]
call fcn.00402db5
cmp eax, edi
jne 0x4088b5
push ebx
push str.Winamp
lea ecx, [ebp + 0xc]
call fcn.00402db5
cmp eax, edi
jne 0x4088b5
push ebx
push str.__Winamp
lea ecx, [ebp + 0xc]
call fcn.00402db5
cmp eax, edi
je 0x4088b5
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00403215
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x4088d2
push 1
lea eax, [ebp - 0x10]
jmp 0x4088d9
push ebx
lea eax, [esi + 0x8a4]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x408c73
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x440]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
je 0x408ca6
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 4], 3
jne 0x408ca6
inc edi
mov dword [esi + 0x45c], ebx
mov eax, dword [esi + 0x450]
cmp eax, ebx
je 0x408cd4
cmp edi, ebx
jne 0x408d72
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x9c]
cmp dword [ebp - 4], 1
jne 0x408cdc
xor edi, edi
inc edi
mov dword [esi + 0x45c], edi
cmp edi, ebx
jne 0x408d72
push ebx
push str.Winamp_v1.x
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x408d72
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 4]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 4]
call fcn.00402db5
or edi, 0xffffffff
cmp eax, edi
jne 0x408d67
push ebx
push str._Paused_
lea ecx, [ebp - 4]
call fcn.00402db5
cmp eax, edi
jne 0x408d67
push ebx
push str.Winamp
lea ecx, [ebp - 4]
call fcn.00402db5
cmp eax, edi
jne 0x408d67
push ebx
push str.__Winamp
lea ecx, [ebp - 4]
call fcn.00402db5
cmp eax, edi
je 0x408d67
mov dword [esi + 0x45c], 2
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004012ec
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x408d7c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41cd1e
call fcn.0040e958
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x440]
xor ebx, ebx
xor edi, edi
inc edi
cmp eax, ebx
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x88c], ebx
je 0x408dfc
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x14], 3
jne 0x408dfc
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x440]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x408dee
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x88c], edi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x18], edi
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x408dfc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x450]
cmp eax, ebx
je 0x408e3c
cmp dword [ebp - 0x18], ebx
jne 0x408ef9
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x9c]
cmp dword [ebp - 0x14], edi
jne 0x408e45
mov eax, dword [esi + 0x450]
mov dword [esi + 0x88c], edi
mov dword [esi + 0x45c], edi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x18], edi
call dword [ecx + 0x28]
cmp dword [ebp - 0x18], ebx
jne 0x408ef9
push ebx
push str.Winamp_v1.x
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x408ef9
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x408eee
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x408eee
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x408eee
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x408eee
push ebx
push 0x9c6e
push 0x111
push dword [ebp - 0x14]
mov dword [esi + 0x88c], edi
mov dword [esi + 0x45c], 2
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4090f6
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov eax, 0x41cd52
call fcn.0040e958
sub esp, 0x168
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00403907
and dword [ebp - 4], 0
push 0x41e880
lea ecx, [ebp - 0x10]
call fcn.00401804
lea eax, [ebp - 0x174]
push eax
push 0x118
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x174]
push str.musicmaestro.dat
push eax
call fcn.0040efb0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop ecx
pop ecx
lea eax, [ebp - 0x174]
push eax
push 1
push str.display
push dword [ebp - 0x10]
call esi
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x409177
cmp dword [ebp + 0x10], eax
je 0x4092f1
lea eax, [ebp - 0x174]
push eax
push 1
mov edi, str.update
push edi
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x174]
push eax
push 1
mov ebx, str.album
push ebx
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x174]
push eax
push 1
push str.artist
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x174]
push eax
push 1
push str.song
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004031e8
cmp eax, 1
jne 0x4092f1
cmp dword [ebp - 0x2c], 0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x174]
push eax
je 0x40920b
push 0x41f3d4
jmp 0x409210
push 0x41f3d0
push edi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x28], 0
lea eax, [ebp - 0x174]
push eax
je 0x409235
push 0x41f3d4
push ebx
push dword [ebp - 0x10]
call esi
mov edi, 0x41f3d0
jmp 0x409241
mov edi, 0x41f3d0
push edi
push ebx
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], 0
lea eax, [ebp - 0x174]
push eax
je 0x409260
mov ebx, 0x41f3d4
push ebx
push str.artist
push dword [ebp - 0x10]
call esi
jmp 0x409270
push edi
push str.artist
push dword [ebp - 0x10]
call esi
mov ebx, 0x41f3d4
cmp dword [ebp - 0x20], 0
lea eax, [ebp - 0x174]
push eax
je 0x409280
push ebx
jmp 0x409281
push edi
push str.song
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x1c], 0
lea eax, [ebp - 0x174]
push eax
je 0x40929b
push ebx
jmp 0x40929c
push edi
push str.display
push dword [ebp - 0x10]
call esi
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x8b0]
cmp ecx, dword [eax]
je 0x4092d6
test ecx, ecx
mov dword [eax], ecx
jne 0x4092d6
push ecx
push ecx
lea eax, [esi + 0x8a4]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x8b4], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8b8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x8bc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012ec
lea ecx, [ebp - 0x5c]
call fcn.00403cd4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x409317
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41cd84
call fcn.0040e958
sub esp, 0x110
push ebx
push esi
mov esi, ecx
push 0x41f278
lea ecx, [ebp - 0x18]
call fcn.00401804
xor ebx, ebx
cmp dword [esi + 0x45c], 2
push ebx
mov dword [ebp - 4], ebx
push str.Winamp_v1.x
jne 0x409428
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x409410
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x409402
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403215
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x4094fa
push ebx
lea eax, [esi + 0x8a4]
jmp 0x4094ff
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x4094e8
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x4094da
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00403215
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x409512
mov dword [esi + 0x45c], 2
push 1
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
cmp dword [esi + 0x450], ebx
jne 0x409521
mov ecx, esi
call fcn.00403769
cmp dword [esi + 0x440], ebx
jne 0x409530
mov ecx, esi
call fcn.0040342e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x409328
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41cd84
call fcn.0040e958
sub esp, 0x110
push ebx
push esi
mov esi, ecx
push 0x41f278
lea ecx, [ebp - 0x18]
call fcn.00401804
xor ebx, ebx
cmp dword [esi + 0x45c], 2
push ebx
mov dword [ebp - 4], ebx
push str.Winamp_v1.x
jne 0x409428
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x409410
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409402
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x409402
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403215
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x4094fa
push ebx
lea eax, [esi + 0x8a4]
jmp 0x4094ff
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x4094e8
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x4094da
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x4094da
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00403215
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x409512
mov dword [esi + 0x45c], 2
push 1
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
cmp dword [esi + 0x450], ebx
jne 0x409521
mov ecx, esi
call fcn.00403769
cmp dword [esi + 0x440], ebx
jne 0x409530
mov ecx, esi
call fcn.0040342e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x40954d
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41cdbe
call fcn.0040e958
sub esp, 0x114
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x894], ebx
jne 0x40973b
push 0x41f278
lea ecx, [ebp - 0x14]
call fcn.00401804
mov ecx, dword [esi + 0x45c]
cmp ecx, 1
mov dword [ebp - 4], ebx
jne 0x4095cb
mov eax, dword [esi + 0x450]
cmp eax, ebx
je 0x4095cb
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x9c]
cmp dword [ebp - 0x10], 1
jne 0x409710
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00407baf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403215
mov ecx, dword [ebp - 0x1c]
jmp 0x409705
cmp ecx, ebx
jne 0x409641
mov eax, dword [esi + 0x440]
cmp eax, ebx
je 0x409641
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x440]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x30]
cmp dword [ebp - 0x10], ebx
je 0x409628
cmp dword [ebp - 0x1c], 3
jne 0x409628
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00407da0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00403215
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x409710
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x409710
cmp ecx, 2
jne 0x409710
push ebx
push str.Winamp_v1.x
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x409710
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x409702
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403215
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x409730
push 1
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x40955e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41cdbe
call fcn.0040e958
sub esp, 0x114
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x894], ebx
jne 0x40973b
push 0x41f278
lea ecx, [ebp - 0x14]
call fcn.00401804
mov ecx, dword [esi + 0x45c]
cmp ecx, 1
mov dword [ebp - 4], ebx
jne 0x4095cb
mov eax, dword [esi + 0x450]
cmp eax, ebx
je 0x4095cb
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x9c]
cmp dword [ebp - 0x10], 1
jne 0x409710
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00407baf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403215
mov ecx, dword [ebp - 0x1c]
jmp 0x409705
cmp ecx, ebx
jne 0x409641
mov eax, dword [esi + 0x440]
cmp eax, ebx
je 0x409641
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x440]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x30]
cmp dword [ebp - 0x10], ebx
je 0x409628
cmp dword [ebp - 0x1c], 3
jne 0x409628
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00407da0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00403215
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x409710
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x409710
cmp ecx, 2
jne 0x409710
push ebx
push str.Winamp_v1.x
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x409710
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401804
push ebx
push str._Stopped_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str._Paused_
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str.Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
jne 0x409702
push ebx
push str.__Winamp
lea ecx, [ebp - 0x10]
call fcn.00402db5
cmp eax, 0xffffffff
je 0x409702
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401475
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00408427
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403215
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012ec
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x409730
push 1
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401475
mov ecx, esi
call fcn.0040863c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012ec
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x40aadc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41ce62
call fcn.0040e958
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x4260f0]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x40ab69
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov edi, 0x400
cmp esi, edi
jg 0x40ab4f
push esi
call fcn.00401052
test al, al
pop ecx
je 0x40ab4f
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0040dca0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40ab58
push esi
lea ecx, [ebp - 0x18]
call fcn.00401306
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
push eax
call fcn.00401186
cmp eax, ebx
jne 0x40ab8c
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40ab82
lea ecx, [ebp - 0x424]
call fcn.0040bc97
mov esi, 0x8007000e
jmp 0x40ac86
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40aba9
call fcn.00404478
mov esi, eax
jmp 0x40ac6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40abcd
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x40abd7
call fcn.00404478
jmp 0x40ac62
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, edi
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 2
jbe 0x40ac0d
push eax
lea ecx, [ebp - 0x424]
call fcn.0040aca7
jmp 0x40ac20
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x40ac20
cmp dword [ebp - 0x424], ebx
mov dword [ebp - 4], 1
jne 0x40ac36
mov esi, 0x8007000e
jmp 0x40ac64
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x424]
call fcn.0040dd70
mov eax, dword [ebp - 0x424]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040acd5
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40ac86
lea ecx, [ebp - 0x424]
call fcn.0040bc97
lea ecx, [ebp - 0x18]
call fcn.004011be
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10