joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423170
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00422e12
test al, al
je 0x4231c5
cmp byte [esi + 0x54], 0
je 0x4231c5
push 1
mov ecx, esi
call fcn.0042389a
push 8
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
add eax, 6
push eax
push 0
push 6
mov ecx, esi
mov byte [esi + 0x54], 0
call fcn.00423844
cmp byte [esp + 8], 0
je 0x4231c5
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4231c5
push eax
mov ecx, esi
call fcn.004305ab
pop esi
ret 4

Function at 0x423c68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push edi
mov ebx, ecx
xor edi, edi
push str.user32.dll
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x423d8b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MonitorFromPoint
push eax
call esi
push str.MonitorFromRect
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call esi
push 0x48a9e4
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call esi
push 0x489abc
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x14], eax
je 0x423d81
cmp dword [ebp - 0x10], edi
je 0x423d81
cmp dword [ebp - 8], edi
je 0x423d81
cmp eax, edi
je 0x423d81
push edi
push dword [ebx + 0x24]
call dword [ebp - 8]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x423d81
push str.ddraw.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x423d81
push str.DirectDrawEnumerateExA
push eax
call esi
cmp eax, edi
je 0x423d78
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
push 5
lea ecx, [ebp - 0x2c]
push ecx
push 0x423c3e
mov dword [ebp - 0x28], edi
call eax
cmp dword [ebp - 0x28], edi
setne al
test al, al
mov byte [ebx + 0x10], al
je 0x423d78
lea edi, [ebx + 0x14]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x48
movsd dword es:[edi], dword [esi]
pop esi
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call sub.NSCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x74], esi
call dword [ebp - 0x14]
test eax, eax
je 0x423d78
mov eax, dword [ebp - 0x70]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x427b95
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
and dword [ebp - 0x254], 0
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
xor eax, eax
push str.GEN_.DLL
mov ecx, 0x93
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
push 0x49f020
lea eax, [ebp - 0x45c]
push eax
call ebx
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x427c79
push esi
lea eax, [ebp - 0x228]
push eax
push 0x49f020
lea eax, [ebp - 0x664]
push eax
call ebx
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x427c5b
push str.winampGetGeneralPurposePlugin
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427c54
call eax
mov esi, eax
test esi, esi
je 0x427c54
cmp dword [esi], 0x10
jne 0x427c54
mov eax, dword [0x4ac344]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
call dword [esi + 8]
test eax, eax
jne 0x427c54
push esi
mov ecx, 0x4a5860
call fcn.00412937
jmp 0x427c5b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427bf0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x427d49
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push str.OUT_.DLL
push 0x49f020
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x427e5c
push ebx
push esi
mov dword [ebp - 4], 0x4a5878
push edi
lea eax, [ebp - 0x22c]
push eax
push 0x49f020
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x427e2f
push str.winampGetOutModule
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427e2f
call eax
mov esi, eax
test esi, esi
je 0x427e2f
cmp dword [esi], 0x10
jne 0x427e2f
push 0
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00402b25
add esp, 0xc
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x10], edi
mov ecx, dword [0x4ac344]
lea edi, [eax + 1]
push edi
push 0x40
mov dword [esi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push edi
push eax
mov dword [esi + 8], eax
call fcn.00402f91
call dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add dword [ebp - 4], 4
push ebx
mov dword [eax], esi
call dword [sym.imp.NSCRT.dll_free]
pop ecx
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x427e50
cmp dword [ebp - 4], 0x4a58f4
jl 0x427d93
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428dbb
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4a5944]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + ecx*4]
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4a5944]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + ecx*4]
call ebx
push 0
push 0
push 0x130b
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4a5944], eax
mov ecx, dword [esi + 0xc]
push 8
push dword [ecx + eax*4]
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4a5944]
push 1
push dword [eax + ecx*4]
call ebx
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esp + 0xc]
pop edi
pop ebx
je 0x428e3b
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4a5944]
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_SetFocus]
ret 4
Function at 0x42cb19
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x694
call fcn.00455cb8
push str.IN_.DLL
push 0x49f020
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x42cd4b
push ebx
push esi
push edi
lea eax, [ebp - 0x258]
push eax
push 0x49f020
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42cd27
push str.winampGetInModule2
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cd27
call eax
mov esi, eax
test esi, esi
je 0x42cd27
mov eax, dword [esi]
and eax, 0xf0ffffff
cmp eax, 0x100
jne 0x42cd27
mov dword [esi + 0xc], ebx
mov dword [esi + 0x88], 0x42beee
mov dword [esi + 0x84], 0x42b8c3
mov dword [esi + 0x6c], 0x42b892
mov dword [esi + 0x70], fcn.0043458a
mov dword [esi + 0x60], 0x42b848
mov dword [esi + 0x64], 0x42b883
mov dword [esi + 0x80], 0x42db2e
mov dword [esi + 0x7c], fcn.0042dc1c
mov dword [esi + 0x78], 0x42ddc1
mov dword [esi + 0x68], 0x42d803
mov dword [esi + 0x74], 0x42df08
mov eax, dword [0x4ac344]
and dword [esi + 0x90], 0
and dword [esi + 0x18], 0xffffffe1
mov dword [esi + 8], eax
lea eax, [ebp - 0x258]
push str.in_mjf.dll
push eax
call dword [sym.imp.NSCRT.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x42cc4e
mov dword [esi + 0x34], fcn.0045b3b5
push esi
mov ecx, 0x4a63b8
call fcn.00412937
call dword [esi + 0x24]
mov edi, dword [esi + 0x90]
test edi, edi
je 0x42cc8f
cmp byte [edi], 0
je 0x42cc8f
push 0x487180
push 0x200
push 0x4a3ff0
call fcn.00406279
push edi
push 0x200
push 0x4a3ff0
call fcn.00406279
mov dword [esi + 0x90], 0x42c90f
cmp dword [0x4ac378], 0
jne 0x42cd27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.winampGetExtendedFileInfoW
push ebx
call esi
test eax, eax
je 0x42cceb
and word [ebp - 0x34], 0
push 0x10
lea ecx, [ebp - 0x34]
push ecx
push str.type
push 0x486d6c
call eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.NSCRT.dll__wtoi]
xor edi, edi
inc edi
add esp, 0x14
cmp eax, edi
jne 0x42ccee
mov dword [0x4ac378], edi
jmp 0x42ccee
xor edi, edi
inc edi
push str.winampGetExtendedFileInfo
push ebx
call esi
test eax, eax
je 0x42cd27
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push str.type
push 0x486d4c
mov byte [ebp - 0x14], 0
call eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.NSCRT.dll_atoi]
add esp, 0x14
cmp eax, edi
jne 0x42cd27
mov dword [0x4ac378], edi
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42cb61
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e789
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
xor ebx, ebx
cmp dword [0x4a73fc], ebx
jne 0x42e8b4
call fcn.0042daf7
call fcn.0042dcab
cmp byte [0x49e1c0], bl
je 0x42e8b4
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [0x4a7610], ebx
je 0x42e865
cmp byte [eax], bl
je 0x42e865
push eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.00402db5
lea eax, [ebp - 0x104]
push 0x48c4b4
push eax
call dword [sym.imp.NSCRT.dll_strstr]
cmp eax, ebx
pop ecx
pop ecx
je 0x42e80c
mov byte [eax], bl
inc eax
push eax
call dword [sym.imp.NSCRT.dll_atoi]
pop ecx
mov dword [0x4a740c], eax
jmp 0x42e812
mov dword [0x4a740c], ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecA]
test eax, eax
jne 0x42e84c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeA]
test eax, eax
jne 0x42e84c
lea eax, [ebp - 0x104]
push eax
push 0x200
push 0x4a7410
call fcn.00402db5
jmp 0x42e886
lea eax, [ebp - 0x104]
push eax
push 0x49db88
push 0x4a7410
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
jmp 0x42e886
push 0x49e1c0
push 0x49db88
push 0x4a7410
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
movsx eax, byte [0x49e8e0]
mov dword [0x4a740c], eax
push 0x4a761c
push ebx
push ebx
push 0x42e37f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
movsx ecx, byte [0x49bc24]
push dword [ecx*4 + 0x49c420]
mov dword [0x4a7614], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebx
leave
ret
Function at 0x42f17e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
push str..W5S
mov edi, 0x49dc90
push edi
lea eax, [ebp - 0x868]
push eax
call esi
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42f243
lea eax, [ebp - 0x42c]
push eax
push edi
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..wbm
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea eax, [ebp - 0x42c]
push eax
push edi
lea eax, [ebp - 0x660]
push eax
call esi
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0042ef18
test eax, eax
pop ecx
pop ecx
jne 0x42f22a
lea eax, [ebp - 0x660]
push eax
call fcn.0042f134
pop ecx
lea eax, [ebp - 0x458]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f1c3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0045a3e9
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430c02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x430c37
xor eax, eax
inc eax
jmp 0x430d22
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push esi
lea eax, [ebp - 4]
push eax
mov esi, str.Winamp_EQ_library_file_v1.1
push esi
call ebx
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 ebx
push eax
lea eax, [ebp - 0x808]
push esi
push eax
call sub.NSCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x430c7c
push dword [ebp - 8]
jmp 0x430cb3
mov ebx, dword [ebp - 8]
mov esi, 0x10c
jmp 0x430c9c
lea eax, [ebp - 0x808]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x430cbe
push 0
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push ebx
call edi
cmp dword [ebp - 4], esi
je 0x430c86
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x430d20
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
lea eax, [ebp - 0x707]
push eax
mov esi, 0x49c498
push esi
call sub.NSCRT.dll_memcpy
push 1
lea eax, [ebp - 0x6fd]
push eax
push 0x49bcf8
call sub.NSCRT.dll_memcpy
movzx eax, byte [0x49bcf8]
push eax
movzx eax, byte [0x49f019]
push esi
push eax
call fcn.0042be36
mov eax, dword [0x4b0610]
add esp, 0x24
test eax, eax
je 0x430d1e
push 0
push 0
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x430d25
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x430dd7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push esi
lea eax, [ebp - 0xc]
push eax
mov esi, str.Winamp_EQ_library_file_v1.1
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 4]
call edi
push esi
call ebx
push eax
lea eax, [ebp - 0x80c]
push esi
push eax
call sub.NSCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x430dcc
xor ebx, ebx
mov esi, 0x10c
jmp 0x430db5
lea eax, [ebp - 0x80c]
push eax
push ebx
push 0x180
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], esi
je 0x430d9f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x43133a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
mov byte [ebp - 5], 0x1f
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x431373
xor eax, eax
inc eax
jmp 0x43147d
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp - 0xc]
push eax
mov esi, str.Winamp_EQ_library_file_v1.1
push esi
call edi
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call edi
push eax
lea eax, [ebp - 0x80c]
push esi
push eax
call sub.NSCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4313d9
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
call edi
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, 0x10c
jmp 0x4313fc
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x431470
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 4]
call edi
cmp dword [ebp - 0xc], esi
je 0x4313e6
push 2
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push 0x800
push eax
call fcn.00402db5
push 0xa
push dword [ebp + 0x10]
lea eax, [ebp - 0x70b]
push eax
call sub.NSCRT.dll_memcpy
push 1
lea eax, [ebp - 5]
push eax
lea eax, [ebp - 0x701]
push eax
call sub.NSCRT.dll_memcpy
add esp, 0x18
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x431480
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4314b5
xor eax, eax
inc eax
jmp 0x4315c7
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp - 4]
push eax
mov esi, str.Winamp_EQ_library_file_v1.1
push esi
call edi
push eax
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call edi
push eax
lea eax, [ebp - 0x808]
push esi
push eax
call sub.NSCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x43151c
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, dword [ebp - 8]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x43151f
mov edi, dword [ebp - 8]
mov esi, 0x10c
jmp 0x43153c
lea eax, [ebp - 0x808]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x43155b
push ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], esi
je 0x431526
push 2
push ebx
push ebx
jmp 0x431564
mov eax, dword [ebp - 4]
push 1
push ebx
neg eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.00402db5
push 0xa
lea eax, [ebp - 0x707]
push 0x49c498
push eax
call sub.NSCRT.dll_memcpy
push 1
lea eax, [ebp - 0x6fd]
push 0x49bcf8
push eax
call sub.NSCRT.dll_memcpy
add esp, 0x18
push ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4315ca
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
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
xor ebx, ebx
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x431718
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push str._s.TMP
push 0x800
push eax
call fcn.00402528
add esp, 0x10
push ebx
push edi
push 4
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x80c]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x431647
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x431718
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp - 4]
push eax
mov ebx, str.Winamp_EQ_library_file_v1.1
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
call edi
push 0
lea eax, [ebp - 4]
push eax
push ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0xc]
call ebx
mov esi, 0x10c
jmp 0x4316bb
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4316bb
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0xc]
call ebx
push 0
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
call edi
cmp dword [ebp - 4], esi
je 0x431690
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 0x800
push eax
call fcn.00402528
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434a75
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0x4a863c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor esi, esi
push esi
push esi
push 1
push esi
call edi
push esi
push esi
push esi
push esi
mov dword [0x4a862c], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x4a8630], eax
call edi
mov dword [0x4a8634], eax
lea eax, [esp + 8]
push eax
push esi
push esi
push 0x4348ca
push 0x40000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4a8668], eax
mov dword [0x4a8654], esi
mov dword [0x4a8658], esi
call fcn.00434e91
pop edi
pop esi
pop ecx
ret
Function at 0x436630
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 0x436715
push 0x100
push 0x40
call edi
push 0x30
push 0x40
mov dword [esi], eax
call edi
mov ecx, dword [esi]
test ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
je 0x43671d
test eax, eax
je 0x43671a
mov al, 4
mov edi, 0x10
mov byte [esi + 8], al
mov byte [esi + 9], al
mov eax, 0x42400000
push ebx
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
push ebp
lea esp, [esp]
mov ecx, edx
xor eax, eax
shl ecx, 4
mov ebp, dword [esi]
mov bl, dl
xor bl, al
add ebp, ecx
mov byte [eax + ebp], bl
inc eax
cmp eax, edi
jl 0x4366a7
inc edx
cmp edx, edi
jl 0x4366a0
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
xor edi, edi
mov eax, edi
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 0x2b
mov byte [ecx + edx], al
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 0x19
mov byte [edx + ecx + 1], al
mov eax, ebp
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esi + 4]
sar eax, 4
add al, 9
mov byte [edx + ecx + 2], al
add edi, 0x32
add ebx, 0x1b
add ebp, 0xe
add ecx, 3
cmp edi, 0x320
jl 0x4366c4
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
push ecx
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x436727
push eax
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
ret