joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ffc0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x461794]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0040b150
mov esi, dword [esp + 0x18]
mov ebp, eax
neg esi
sbb esi, esi
push ebp
and esi, 0xffffffeb
add esi, 0x15
call fcn.0040d600
mov ecx, dword [0x456dcc]
push 0
push ecx
call fcn.0040b4d0
mov edx, dword [0x456dd4]
add esp, 0x10
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push esi
push 0
push edx
push 0x14
push 0x19
push 0
push 0
push ebp
call ebx
mov eax, dword [0x44e10c]
mov edi, 0x19
lea ecx, [eax - 0x96]
mov eax, 0x51eb851f
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, edx
mov dword [esp + 0x14], eax
je 0x410096
test al, 1
je 0x410065
mov edx, dword [0x456dd4]
push 0xcc0020
push esi
push 0x7f
push edx
push 0x14
push 0xc
push 0
push edi
push ebp
call ebx
mov eax, dword [esp + 0x14]
mov edi, 0x25
cdq
sub eax, edx
sar eax, 1
je 0x410096
mov dword [esp + 0x14], eax
mov eax, dword [0x456dd4]
push 0xcc0020
push esi
push 0x7f
push eax
push 0x14
push 0x19
push 0
push edi
push ebp
call ebx
mov eax, dword [esp + 0x14]
add edi, 0x19
dec eax
mov dword [esp + 0x14], eax
jne 0x410070
mov ecx, dword [0x456dd4]
push 0xcc0020
push esi
push 0x1a
push ecx
push 0x14
push 0x64
push 0
push edi
push ebp
call ebx
mov edx, dword [0x44e10c]
mov eax, 0x51eb851f
add edi, 0x64
lea ecx, [edx - 0x96]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
mov dword [esp + 0x14], eax
je 0x41012d
test al, 1
je 0x4100fb
mov ecx, dword [0x456dd4]
push 0xcc0020
push esi
push 0x7f
push ecx
push 0x14
push 0xd
push 0
push edi
push ebp
call ebx
mov eax, dword [esp + 0x14]
add edi, 0xd
cdq
sub eax, edx
sar eax, 1
je 0x41012d
mov dword [esp + 0x14], eax
mov edx, dword [0x456dd4]
push 0xcc0020
push esi
push 0x7f
push edx
push 0x14
push 0x19
push 0
push edi
push ebp
call ebx
mov eax, dword [esp + 0x14]
add edi, 0x19
dec eax
mov dword [esp + 0x14], eax
jne 0x410106
mov eax, dword [0x456dd4]
push 0xcc0020
push esi
push 0x99
push eax
push 0x14
push 0x19
push 0
push edi
push ebp
call ebx
push 0
push 0
call fcn.0040b4d0
mov ecx, dword [0x461794]
push ebp
push ecx
call fcn.0040b170
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x410170
Capabilities:
Capture screenshot

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebx
call fcn.0040d600
add esp, 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4618a4]
jne 0x410194
mov eax, 1
jmp 0x4101a1
mov cl, byte [0x44e0c2]
xor eax, eax
test cl, cl
sete al
push eax
call fcn.0040fcc0
mov eax, dword [0x456b18]
push 0
push eax
call fcn.0040b4d0
mov eax, dword [0x44e0fc]
add esp, 0xc
cmp eax, 0xe
je 0x41031a
lea ecx, [eax - 0x3a]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
push ebp
sar edx, 4
mov ecx, edx
push esi
shr ecx, 0x1f
push edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
add edx, ecx
mov esi, 0x14
mov dword [esp + 0x10], 0
je 0x410257
mov ebp, edx
mov edx, dword [0x456dd4]
push 0xcc0020
push 0x2a
push 0
push edx
push 0x1d
push 0xc
push esi
push 0
push ebx
call edi
mov eax, dword [0x456dd4]
mov ecx, dword [0x44e0f8]
push 0xcc0020
push 0x2a
push 0x1f
push eax
push 0x1d
push 5
add ecx, 0xffffffec
push esi
push ecx
push ebx
call edi
mov edx, dword [0x456dd4]
mov eax, dword [0x44e0f8]
push 0xcc0020
push 0x2a
push 0x2c
push edx
push 0x1d
push 7
add eax, 0xfffffff9
push esi
push eax
push ebx
call edi
add esi, 0x1d
dec ebp
jne 0x4101f5
mov ecx, dword [0x456dd4]
push 0xcc0020
push 0x48
push 0
push ecx
push 0x26
push 0x7d
push esi
push 0
push ebx
call edi
mov edx, dword [0x44e0f8]
mov eax, 0x51eb851f
mov ebp, 0x7d
lea ecx, [edx - 0x113]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 3
jl 0x4102a3
sub edx, 3
mov dword [esp + 0x10], 1
test edx, edx
je 0x4102d5
mov dword [esp + 0x18], edx
mov ecx, dword [0x456dd4]
push 0xcc0020
push 0
push 0xb3
push ecx
push 0x26
push 0x19
push esi
push ebp
push ebx
call edi
mov eax, dword [esp + 0x18]
add ebp, 0x19
dec eax
mov dword [esp + 0x18], eax
jne 0x4102ab
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4102fc
mov edx, dword [0x456dd4]
push 0xcc0020
push 0
push 0xcd
push edx
push 0x26
push 0x4b
push esi
push ebp
push ebx
call edi
add ebp, 0x4b
mov eax, dword [0x456dd4]
push 0xcc0020
push 0x48
push 0x7e
push eax
push 0x26
push 0x96
push esi
push ebp
push ebx
call edi
pop edi
pop esi
pop ebp
push 0
push 0
call fcn.0040b4d0
add esp, 8
pop ebx
pop ecx
ret
Function at 0x410330
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push ebx
call fcn.0040d600
add esp, 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x461794]
jne 0x410356
mov eax, 1
jmp 0x410363
mov cl, byte [0x44e0c2]
xor eax, eax
test cl, cl
sete al
push eax
call fcn.0040ffc0
mov eax, dword [0x456dcc]
push 0
push eax
call fcn.0040b4d0
mov ecx, dword [0x44e110]
mov eax, 0x8d3dcb09
add ecx, 0xffffffc6
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
imul ecx
add edx, ecx
add esp, 0xc
sar edx, 4
mov eax, edx
mov esi, 0x14
shr eax, 0x1f
add edx, eax
je 0x4103e8
mov ebp, edx
mov ecx, dword [0x456dd4]
push 0xcc0020
push 0x2a
push 0x7f
push ecx
push 0x1d
push 0xb
push esi
push 0
push ebx
call edi
mov edx, dword [0x456dd4]
mov eax, dword [0x44e10c]
push 0xcc0020
push 0x2a
push 0x8b
push edx
push 0x1d
push 8
add eax, 0xfffffff8
push esi
push eax
push ebx
call edi
add esi, 0x1d
dec ebp
jne 0x4103a4
mov ecx, dword [0x456dd4]
push 0xcc0020
push 0x2a
push 0
push ecx
push 0x26
push 0x7d
push esi
push 0
push ebx
call edi
mov edx, dword [0x44e10c]
mov eax, 0x51eb851f
mov ebp, 0x7d
lea ecx, [edx - 0xfa]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x410451
mov dword [esp + 0x14], edx
mov ecx, dword [0x456dd4]
push 0xcc0020
push 0x51
push 0x7f
push ecx
push 0x26
push 0x19
push esi
push ebp
push ebx
call edi
mov eax, dword [esp + 0x14]
add ebp, 0x19
dec eax
mov dword [esp + 0x14], eax
jne 0x41042a
mov edx, dword [0x456dd4]
push 0xcc0020
push 0x51
push 0
push edx
push 0x26
push 0x7d
push esi
push ebp
push ebx
call edi
push 0
push 0
call fcn.00410490
push 0
push 0
call fcn.0040b4d0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x410490
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x461794]
sub esp, 0x10
test eax, eax
je 0x410628
mov ecx, dword [0x457248]
test ecx, ecx
je 0x410628
push ebx
push ebp
push esi
push edi
push eax
call fcn.0040b150
mov ebp, dword [esp + 0x28]
add esp, 4
test ebp, ebp
mov esi, eax
jne 0x4104d3
mov dword [esp + 0x24], 0x462c80
mov ebp, dword [esp + 0x24]
jmp 0x4104e6
mov edx, 0x462c80
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4104dc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4105a7
mov eax, dword [0x44e110]
push esi
lea ebx, [eax - 0x26]
call fcn.0040d600
mov ecx, dword [0x456dcc]
push 0
push ecx
call fcn.0040b4d0
mov edx, dword [0x456dd4]
add esp, 0xc
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0x2a
push 0
push edx
push 0x26
push 0x7d
push ebx
push 0
push esi
call ebp
mov eax, dword [0x44e10c]
mov edi, 0x7d
lea ecx, [eax - 0xfa]
mov eax, 0x51eb851f
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x41057f
mov dword [esp + 0x28], edx
mov edx, dword [0x456dd4]
push 0xcc0020
push 0x51
push 0x7f
push edx
push 0x26
push 0x19
push ebx
push edi
push esi
call ebp
mov eax, dword [esp + 0x28]
add edi, 0x19
dec eax
mov dword [esp + 0x28], eax
jne 0x410558
mov eax, dword [0x456dd4]
push 0xcc0020
push 0x51
push 0
push eax
push 0x26
push 0x7d
push ebx
push edi
push esi
call ebp
push 0
push 0
call fcn.0040b4d0
mov ebp, dword [esp + 0x2c]
add esp, 8
mov eax, dword [0x44e110]
mov edx, dword [0x44e10c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
add edx, 0xffffffe7
lea ecx, [eax - 0x1b]
add eax, 0xfffffff3
mov dword [esp + 0x1c], eax
mov eax, dword [0x457258]
push eax
push esi
mov dword [esp + 0x18], 0x5c
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call edi
mov ecx, dword [0x451390]
mov ebx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [0x451394]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
lea eax, [esp + 0x10]
push 0x820
push eax
push 0xffffffffffffffff
push ebp
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push ebx
push esi
call edi
mov ecx, dword [0x461794]
push esi
push ecx
call fcn.0040b170
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x410fe0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
mov eax, dword [0x44e0fc]
mov ecx, dword [0x4618a4]
push ebx
push esi
push edi
lea ebx, [eax - 0x3a]
push ecx
mov dword [esp + 0x14], ebx
call fcn.0040b150
mov edi, eax
push edi
call fcn.0040d600
mov edx, dword [0x456b18]
push 0
push edx
call fcn.0040b4d0
mov eax, dword [0x44e0fc]
add esp, 0x10
add eax, 0xffffffc4
cdq
idiv dword [0x44f1cc]
mov esi, eax
call fcn.0042acf0
mov ecx, eax
sub ecx, esi
cmp ecx, 1
jge 0x41103e
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x411065
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jle 0x411048
mov edx, ecx
lea eax, [ebx - 0x12]
imul eax, edx
cdq
idiv ecx
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x411061
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push ebp
lea ebp, [eax - 0x1c]
xor esi, esi
test ebp, ebp
jle 0x4110a4
mov ecx, dword [0x456dd4]
mov eax, dword [0x44e0f8]
push 0xcc0020
push 0x2a
push 0x24
push ecx
push 0x1d
lea edx, [esi + 0x14]
push 8
add eax, 0xfffffff1
push edx
push eax
push edi
call ebx
add esi, 0x1d
cmp esi, ebp
jl 0x411075
mov eax, dword [esp + 0x20]
lea ebp, [esi + 0x1d]
lea ecx, [eax + 0x12]
cmp ecx, ebp
mov dword [esp + 0x10], ecx
jle 0x4110b5
add ebp, 0x1d
cmp esi, eax
jge 0x4110e3
mov ecx, dword [0x456dd4]
mov edx, dword [0x44e0f8]
push 0xcc0020
push 0x2a
push 0x24
sub eax, esi
push ecx
push eax
add esi, 0x14
push 8
add edx, 0xfffffff1
push esi
push edx
push edi
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x456dd4]
neg ecx
sbb ecx, ecx
push 0xcc0020
and ecx, 9
push 0x35
add ecx, 0x34
add eax, 0x14
push ecx
push edx
push 0x12
push 8
push eax
mov eax, dword [0x44e0f8]
add eax, 0xfffffff1
push eax
push edi
call ebx
mov eax, dword [esp + 0x10]
cmp eax, ebp
jge 0x41114a
mov edx, dword [0x456dd4]
mov ecx, eax
sub ecx, ebp
push 0xcc0020
add ecx, 0x47
push ecx
mov ecx, ebp
push 0x24
push edx
mov edx, dword [0x44e0f8]
sub ecx, eax
push ecx
add eax, 0x14
push 8
add edx, 0xfffffff1
push eax
push edx
push edi
call ebx
mov eax, dword [esp + 0x14]
mov esi, ebp
add eax, 0xffffffe4
cmp ebp, eax
mov dword [esp + 0x20], eax
pop ebp
jge 0x41118b
mov ecx, dword [0x456dd4]
mov eax, dword [0x44e0f8]
push 0xcc0020
push 0x2a
push 0x24
push ecx
push 0x1d
lea edx, [esi + 0x14]
push 8
add eax, 0xfffffff1
push edx
push eax
push edi
call ebx
mov eax, dword [esp + 0x1c]
add esi, 0x1d
cmp esi, eax
jl 0x41115c
push 0
push 0
call fcn.0040b4d0
mov ecx, dword [0x4618a4]
push edi
push ecx
call fcn.0040b170
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x411cf0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
mov ecx, dword [0x44e0fc]
mov eax, dword [0x44e0f8]
mov edx, dword [esp + 0x20]
push ebx
push ebp
add ecx, 0xffffffe4
push esi
push edi
lea ebp, [eax - 0x8f]
mov dword [esp + 0x14], ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x12
jae 0x411d69
lea esi, [esp + 0x18]
mov eax, edx
sub esi, edx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x411d2c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x12
jge 0x411d8d
mov ecx, 0x12
lea edi, [esp + eax + 0x18]
sub ecx, eax
mov eax, 0x20202020
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x411d8d
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov dx, word [edx + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], dx
mov eax, dword [0x4618a4]
push eax
call fcn.0040b150
mov edi, eax
push edi
call fcn.0040d600
mov ecx, dword [0x457394]
push 0
push ecx
call fcn.0040b4d0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
add esp, 0x10
xor esi, esi
mov cl, byte [esp + esi + 0x18]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0040d630
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x456dd4]
add esp, 0xc
push 0xcc0020
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 6
push 5
push edx
push ebp
push edi
call ebx
add ebp, 5
inc esi
cmp esi, 0x12
jl 0x411db9
push 0
push 0
call fcn.0040b4d0
mov eax, dword [0x4618a4]
push edi
push eax
call fcn.0040b170
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x413697
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 0x4136d1
xor eax, eax
inc eax
jmp 0x4137c4
lea eax, [ebp + 8]
push edi
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call fcn.0043d4e0
pop ecx
push eax
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call fcn.0043d4e0
push eax
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0043d750
add esp, 0x10
test eax, eax
je 0x413732
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 fcn.0043d4e0
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 0x413767
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x413737
jmp 0x4137bb
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 fcn.0043cfd0
push 0xa
lea eax, [ebp - 0x703]
push dword [ebp + 0x10]
push eax
call fcn.0043cc20
lea eax, [ebp - 1]
push 1
push eax
lea eax, [ebp - 0x6f9]
push eax
call fcn.0043cc20
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 0x4137c9
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 0x4137fe
xor eax, eax
inc eax
jmp 0x4138f9
push esi
lea eax, [ebp + 8]
push edi
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call fcn.0043d4e0
pop ecx
push eax
lea eax, [ebp - 0x800]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call fcn.0043d4e0
push eax
lea eax, [ebp - 0x800]
push esi
push eax
call fcn.0043d750
add esp, 0x10
test eax, eax
je 0x413860
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 fcn.0043d4e0
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 0x4138fd
lea eax, [ebp - 0x800]
push eax
push dword [ebp + 0xc]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x413865
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 fcn.0043cfd0
push 0xa
lea eax, [ebp - 0x6ff]
push 0x44f3a0
push eax
call fcn.0043cc20
push 1
lea eax, [ebp - 0x6f5]
push 0x44e114
push eax
call fcn.0043cc20
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 0x41389c
Function at 0x413903
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 SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x413a14
push esi
lea eax, [ebp + 8]
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call fcn.0043d4e0
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 fcn.0043d4e0
push eax
lea eax, [ebp - 0x800]
push esi
push eax
call fcn.0043d750
add esp, 0x10
test eax, eax
jne 0x413a0d
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 0x413a0d
lea eax, [ebp - 0x800]
push eax
push dword [ebp + 0xc]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x41397b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x6ff]
push 0xa
mov esi, 0x44f3a0
push eax
push esi
call fcn.0043cc20
lea eax, [ebp - 0x6f5]
push 1
push eax
push 0x44e114
call fcn.0043cc20
movzx eax, byte [0x44e114]
push eax
push esi
movzx eax, byte [0x4631c6]
push eax
call fcn.00416cf0
mov eax, dword [0x461a44]
add esp, 0x24
test eax, eax
je 0x413a06
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 0x413a08
Function at 0x413a19
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 SysReAllocStringLen
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x413b54
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 0x413a92
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413b54
lea eax, [ebp - 4]
push ebx
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call fcn.0043d4e0
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 fcn.0043d4e0
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 0x413b13
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x413ad5
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 4]
jmp 0x413ac9
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 0x413b59
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 SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x413c04
lea eax, [ebp - 8]
push ebx
mov esi, str.Winamp_EQ_library_file_v1.1
push eax
push esi
call fcn.0043d4e0
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 fcn.0043d4e0
push eax
lea eax, [ebp - 0x808]
push esi
push eax
call fcn.0043d750
add esp, 0x10
test eax, eax
jne 0x413bfb
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 0x413bfb
lea eax, [ebp - 0x808]
push eax
push ebx
push 0x180
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x413bcc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415cb0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x74c
push ebx
xor ebx, ebx
push edi
xor eax, eax
mov cl, byte [eax + 0x463e40]
mov byte [esp + eax + 0x354], cl
inc eax
cmp cl, bl
jne 0x415cbc
lea edi, [esp + 0x354]
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x4503cc]
repne scasb al, byte es:[edi]
mov eax, dword [str.IN_.DLL]
mov ecx, dword [0x4503c8]
dec edi
mov dword [edi], eax
lea eax, [esp + 0x10]
push eax
mov dword [edi + 4], ecx
lea ecx, [esp + 0x358]
push ecx
mov word [edi + 8], dx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x415e9d
push ebp
mov edi, 0x461be0
push esi
lea edx, [esp + 0x44]
lea eax, [esp + 0x158]
push edx
push 0x463e40
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x415e74
push str.winampGetInModule2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x415e74
call eax
mov ebp, eax
cmp ebp, ebx
je 0x415e74
cmp dword [ebp], 0x100
jne 0x415e74
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x44]
and ecx, 0xfffffff9
push str.in_mjf.dll
push edx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x88], 0x416880
mov dword [ebp + 0x84], 0x416860
mov dword [ebp + 0x6c], 0x416830
mov dword [ebp + 0x70], fcn.0042e5c0
mov dword [ebp + 0x60], 0x416780
mov dword [ebp + 0x64], 0x4167b0
mov dword [ebp + 0x80], 0x433f30
mov dword [ebp + 0x7c], fcn.00434470
mov dword [ebp + 0x78], 0x434640
mov dword [ebp + 0x68], 0x4346d0
mov dword [ebp + 0x74], 0x434aa0
mov dword [ebp + 8], ebx
mov dword [ebp + 0x90], ebx
mov dword [ebp + 0x18], ecx
call fcn.00447c00
add esp, 8
test eax, eax
jne 0x415e0c
mov dword [ebp + 0x34], 0x415eb0
mov dword [edi], ebp
add edi, 4
mov dword [esp + 0x10], edi
call dword [ebp + 0x24]
mov edx, dword [ebp + 0x90]
cmp edx, ebx
je 0x415e6a
cmp byte [edx], bl
je 0x415e6a
mov edi, 0x460720
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x4503a0]
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, 0x460720
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]
mov dword [ebp + 0x90], 0x4167c0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x415e94
cmp edi, 0x4623dc
jl 0x415d1f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x74c
ret