joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415125
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.NSCRT.dll__strdup]
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x415068
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x415157
push esi
call dword [sym.imp.NSCRT.dll_free]
pop ecx
pop esi
leave
ret

Function at 0x41515a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
call fcn.00414147
test eax, eax
je 0x415294
mov eax, dword [0x472d30]
push ebx
call fcn.0041504b
xor ebx, ebx
test al, al
je 0x415194
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x414cf3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x472d34], ebx
je 0x415293
push esi
push edi
push 0xd
pop ecx
mov esi, str.http:__www.winamp.com_update_client_session.php_v5.34
lea edi, [ebp - 0x238]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x72
pop ecx
xor eax, eax
lea edi, [ebp - 0x201]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0xc
xor eax, eax
pop ecx
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00411076
mov dword [esp], str.ID
push 0x200
lea eax, [ebp - 0x238]
push eax
call fcn.0040380b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x238]
push eax
call ebx
lea esi, [ebp + eax - 0x238]
call fcn.004110d7
xor eax, eax
push dword [ebp + eax*4 - 0x38]
lea esi, [eax + 1]
push esi
push str.st_d_d
lea eax, [ebp - 0x238]
push eax
call ebx
mov ecx, 0x200
sub ecx, eax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 4], ecx
call ebx
lea edi, [ebp + eax - 0x238]
mov eax, dword [ebp - 4]
call fcn.0040258b
mov eax, esi
add esp, 0xc
cmp eax, 0xd
jl 0x41520e
push dword [0x4835b0]
lea eax, [ebp - 0x238]
push str.regv_d
push eax
call ebx
mov esi, 0x200
sub esi, eax
lea eax, [ebp - 0x238]
push eax
call ebx
lea edi, [ebp + eax - 0x238]
mov eax, esi
call fcn.0040258b
lea eax, [ebp - 0x238]
push eax
call fcn.00415125
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4163c0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4163cb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.004163e0
Function at 0x41743c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x4174c1
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.NSCRT.dll_memcpy
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x417484
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4174a6
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x41751c
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00417185
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x417508
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x41751c
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x417445
pop esi
pop ebx
leave
ret

Function at 0x41b750
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esi]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr edx, 8
xor ecx, edx
mov edx, dword [esi + 4]
mov dword [esi], ecx
and ecx, 0xff
add ecx, edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
push ebx
and ecx, 0xff
mov ebx, dword [edi + ecx*4]
shr edx, 8
xor edx, ebx
mov dword [esi + 8], edx
pop ebx
ret

Function at 0x41b7a0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
xor eax, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov al, byte [esi]
test al, al
je 0x41b807
push ebx
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
mov eax, dword [edi + eax*4]
shr ecx, 8
xor eax, ecx
mov ecx, dword [edx + 4]
mov dword [edx], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
mov ebx, dword [edi + eax*4]
shr ecx, 8
xor ecx, ebx
inc esi
mov dword [edx + 8], ecx
mov al, byte [esi]
test al, al
jne 0x41b7c0
pop ebx
pop esi
ret
Function at 0x41eb3a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x46197c
call fcn.00461798
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 4], 0x46b178
lea edi, [ebx + 0x88]
push edi
mov dword [ebx], 0x46b150
mov dword [ebx + 4], 0x46b14c
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
call esi
lea eax, [ebx + 0xa0]
push eax
call esi
lea esi, [ebx + 0xc0]
call fcn.0041de60
push edi
mov byte [ebx + 0x1ac], 0
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 9
pop ecx
mov byte [ebp - 4], 4
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x38], 8
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0x41f06d
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], str.WinampVideoChild
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [0x47b5ac], edi
mov dword [ebp - 0x1c], eax
jne 0x41ebfd
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
inc dword [0x47b5ac]
fld1
or dword [ebx + 0x50], 0xffffffff
fstp qword [ebx + 0x18]
push 0x10
lea eax, [ebx + 0x30]
push edi
push eax
mov dword [ebx + 0x84], edi
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x7c], edi
mov byte [ebx + 0x69], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0x6a], 0
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x10], edi
mov byte [ebx + 0x68], 0
mov byte [ebx + 8], 0
mov dword [ebx + 0x28], edi
call sub.NSCRT.dll_memset
push 0x10
lea eax, [ebx + 0x40]
push edi
push eax
call sub.NSCRT.dll_memset
add esp, 0x18
mov esi, ebx
mov dword [ebx + 0x60], edi
call fcn.0042002e
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x28]
mov dword [ebx + 0x78], edi
push edi
push eax
push 1
push 1
neg eax
push edi
sbb eax, eax
push edi
and eax, 0x45320000
add eax, 0xce0000
push eax
push str.WinampVideoChildWindow
push dword [ebp - 0x14]
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov eax, dword [ebx + 0x10]
push dword [ebp - 0x10]
mov dword [ebx + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x420a1b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
call fcn.00420a93
test al, al
je 0x420a6e
cmp byte [esi + 0x50], 0
je 0x420a6e
push edi
push 1
call fcn.004211d6
push 8
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x54]
mov edi, dword [esi + 0x58]
push 6
pop edx
add edi, edx
xor ecx, ecx
mov eax, esi
mov byte [esi + 0x50], 0
call fcn.0042118b
cmp byte [esp + 0xc], 0
pop edi
je 0x420a6e
mov eax, dword [esi + 0x48]
test eax, eax
je 0x420a6e
push eax
push esi
call fcn.00429f8f
pop esi
ret 4
Function at 0x420a72
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp byte [esi + 0x50], 0
jne 0x420a91
push 0
call fcn.004211d6
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x50], 1
pop esi
ret

Function at 0x4251fe
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str.GEN_.DLL
push 0x475f80
lea eax, [ebp - 0x248]
push eax
call ebx
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x4252cd
push esi
push edi
lea eax, [ebp - 0x118]
push eax
push 0x475f80
lea eax, [ebp - 0x34c]
push eax
call ebx
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4252ae
push str.winampGetGeneralPurposePlugin
push edi
call dword [0x473f00]
test eax, eax
je 0x4252a7
call eax
mov esi, eax
test esi, esi
je 0x4252a7
cmp dword [esi], 0x10
jne 0x4252a7
mov eax, dword [0x47b6c8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
call dword [esi + 8]
test eax, eax
jne 0x4252a7
push esi
mov eax, 0x47c500
call fcn.0040d153
jmp 0x4252ae
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x425243
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425374
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str.OUT_.DLL
push 0x475f80
lea eax, [ebp - 0x24c]
push eax
call ebx
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x42547b
push esi
mov dword [ebp - 4], 0x477eb8
push edi
lea eax, [ebp - 0x11c]
push eax
push 0x475f80
lea eax, [ebp - 0x350]
push eax
call ebx
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42544f
push str.winampGetOutModule
push edi
call dword [0x473f00]
test eax, eax
je 0x42544f
call eax
mov esi, eax
test esi, esi
je 0x42544f
cmp dword [esi], 0x10
jne 0x42544f
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x47b6c8]
mov dword [esi + 0x10], edi
lea edi, [eax + 1]
push edi
push 0x40
mov dword [esi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp edi, 0x7fffffff
mov dword [esi + 8], eax
ja 0x425443
lea ecx, [ebp - 0x11c]
push ecx
push edi
push eax
call fcn.004025ff
call dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [eax], esi
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x425470
cmp dword [ebp - 4], 0x477f34
jl 0x4253c0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425e85
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
call fcn.0044a3f7
push str.IN_.DLL
push 0x475f80
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x4260b7
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax
push 0x475f80
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x426093
push str.winampGetInModule2
push ebx
call dword [0x473f00]
test eax, eax
je 0x426093
call eax
mov esi, eax
test esi, esi
je 0x426093
mov eax, dword [esi]
and eax, 0xf0ffffff
cmp eax, 0x100
jne 0x426093
mov eax, dword [0x47b6c8]
and dword [esi + 0x90], 0
and dword [esi + 0x18], 0xfffffff1
mov dword [esi + 8], eax
lea eax, [ebp - 0x148]
push str.in_mjf.dll
push eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x88], 0x4273b6
mov dword [esi + 0x84], 0x427120
mov dword [esi + 0x6c], 0x4270ef
mov dword [esi + 0x70], fcn.0042cf3c
mov dword [esi + 0x60], 0x426eff
mov dword [esi + 0x64], 0x426f33
mov dword [esi + 0x80], 0x427cc6
mov dword [esi + 0x7c], fcn.0042818c
mov dword [esi + 0x78], 0x42830a
mov dword [esi + 0x68], 0x4285f9
mov dword [esi + 0x74], 0x42870f
call dword [sym.imp.NSCRT.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x425fba
mov dword [esi + 0x34], fcn.0045683d
push esi
mov eax, 0x47c528
call fcn.0040d153
call dword [esi + 0x24]
mov edi, dword [esi + 0x90]
test edi, edi
je 0x425ffb
cmp byte [edi], 0
je 0x425ffb
push 0x467f00
push 0x200
push 0x4835e0
call fcn.0040380b
push edi
push 0x200
push 0x4835e0
call fcn.0040380b
cmp dword [0x47b6fc], 0
mov dword [esi + 0x90], 0x426f42
jne 0x426093
mov esi, dword [0x473f00]
push str.winampGetExtendedFileInfoW
push ebx
call esi
test eax, eax
je 0x426057
and word [ebp - 0x34], 0
push 0x10
lea ecx, [ebp - 0x34]
push ecx
push 0x469a64
push 0x467cdc
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 0x42605a
mov dword [0x47b6fc], edi
jmp 0x42605a
xor edi, edi
inc edi
push str.winampGetExtendedFileInfo
push ebx
call esi
test eax, eax
je 0x426093
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x469a64
push 0x468a9b
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 0x426093
mov dword [0x47b6fc], edi
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x425ecd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427ac3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
xor ebx, ebx
cmp dword [0x477fc0], ebx
jne 0x427bcf
call fcn.00427bfa
call fcn.00428209
cmp byte [0x475948], bl
je 0x427bcf
cmp esi, ebx
mov dword [0x477fb4], ebx
je 0x427b80
cmp byte [esi], bl
je 0x427b80
push esi
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.004025ff
lea eax, [ebp - 0x104]
push 0x46b8e8
push eax
call dword [sym.imp.NSCRT.dll_strstr]
cmp eax, ebx
pop ecx
pop ecx
je 0x427b3f
mov byte [eax], bl
inc eax
push eax
call dword [sym.imp.NSCRT.dll_atoi]
pop ecx
mov dword [0x477fb0], eax
jmp 0x427b45
mov dword [0x477fb0], ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecA]
test eax, eax
lea eax, [ebp - 0x104]
push eax
je 0x427b6f
push 0x475418
push 0x477fd0
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
jmp 0x427ba1
push 0x200
push 0x477fd0
call fcn.004025ff
jmp 0x427ba1
push 0x475948
push 0x475418
push 0x477fd0
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
movsx eax, byte [0x475c5c]
mov dword [0x477fb0], eax
push 0x477fb8
push ebx
push ebx
push 0x427d23
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
movsx ecx, byte [0x472c4c]
push dword [ecx*4 + 0x472fac]
mov dword [0x4781d0], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebx
leave
ret

Function at 0x428c5f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
push ebx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str..W5S
mov ebx, 0x475520
push ebx
lea eax, [ebp - 0x64c]
push eax
call edi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x428d1a
push esi
lea eax, [ebp - 0x11c]
push eax
push ebx
lea eax, [ebp - 0x24c]
push eax
call edi
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x428cfc
push str.GetWinamp5SystemComponent
push esi
call dword [0x473f00]
test eax, eax
je 0x428cfc
call eax
test eax, eax
mov dword [ebp - 8], eax
je 0x428cfc
push eax
mov eax, 0x47c538
call fcn.0040d153
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], esi
push dword [0x47b724]
push 0xa
call fcn.00428d6f
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x428ca1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
call fcn.0045007b
pop edi
pop ebx
leave
ret

Function at 0x42945b
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x47b61c], esi
jne 0x42949d
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x47b624
push esi
push esi
push 0x4292d4
push esi
push esi
mov dword [0x47b630], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x47b630]
mov dword [0x47b62c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
Function at 0x42b9cf
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 - 1], 0x1f
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x42ba08
xor eax, eax
inc eax
jmp 0x42bb0c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp - 8]
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 - 0xc]
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 0x42ba6f
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 8]
push eax
push esi
call edi
mov edi, dword [ebp - 0xc]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x42ba72
mov edi, dword [ebp - 0xc]
mov esi, 0x10c
jmp 0x42ba8f
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 0x42bb01
push ebx
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x80c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], esi
je 0x42ba79
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push 0x800
push eax
call fcn.004025ff
push 0xa
push dword [ebp + 0x10]
lea eax, [ebp - 0x70b]
push eax
call sub.NSCRT.dll_memcpy
push 1
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x701]
push eax
call sub.NSCRT.dll_memcpy
add esp, 0x18
push ebx
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x80c]
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 0x42bb0f
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 0x42bb44
xor eax, eax
inc eax
jmp 0x42bc56
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 0x42bbab
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 0x42bbae
mov edi, dword [ebp - 8]
mov esi, 0x10c
jmp 0x42bbcb
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 0x42bbea
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 0x42bbb5
push 2
push ebx
push ebx
jmp 0x42bbf3
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.004025ff
push 0xa
lea eax, [ebp - 0x707]
push 0x473018
push eax
call sub.NSCRT.dll_memcpy
push 1
lea eax, [ebp - 0x6fd]
push 0x472d2c
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 0x42bc59
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push edi
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
je 0x42bd0c
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
lea eax, [ebp - 4]
push eax
mov esi, str.Winamp_EQ_library_file_v1.1
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x808]
push eax
push dword [ebp - 8]
call ebx
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 0x42bccf
push dword [ebp - 8]
jmp 0x42bd06
mov edi, dword [ebp - 8]
mov esi, 0x10c
jmp 0x42bcef
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 0x42bd11
push 0
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push edi
call ebx
cmp dword [ebp - 4], esi
je 0x42bcd9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x42bd75
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
lea eax, [ebp - 0x707]
push eax
mov ebx, 0x473018
push ebx
call sub.NSCRT.dll_memcpy
add esp, 0xc
push 1
lea eax, [ebp - 0x6fd]
push eax
push 0x472d2c
call sub.NSCRT.dll_memcpy
movzx ecx, byte [0x475f78]
movzx eax, byte [0x472d2c]
add esp, 0xc
push ecx
call fcn.00427694
mov eax, dword [0x480950]
test eax, eax
pop ecx
je 0x42bd73
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