joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413087
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.00470240
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
xor edi, edi
call fcn.00402b8d
push dword [eax]
lea eax, [ebp - 0x10004]
push 0xffff
push eax
push 0x472c3d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp - 4]
call dword [sym.imp.NSCRT.dll_free]
pop ecx
lea eax, [ebp - 0x10004]
xor edx, edx
mov cl, byte [eax]
cmp cl, 0x20
je 0x4130e9
cmp cl, 9
je 0x4130e9
cmp cl, 0x2c
jne 0x4130ec
inc eax
jmp 0x4130d8
cmp byte [eax], 0x2d
jne 0x4130f2
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jl 0x413110
cmp cl, 0x39
jg 0x413109
xor edx, edx
inc edx
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jge 0x4130f9
cmp edx, ebx
je 0x413110
inc edi
jmp 0x4130d6
cmp edi, ebx
jne 0x413118
xor eax, eax
jmp 0x413193
push esi
mov eax, edi
shl eax, 2
push eax
push ebx
lea esi, [ebp - 0x10004]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 4]
jge 0x413190
xor edi, edi
xor eax, eax
xor edx, edx
inc edi
mov cl, byte [esi]
cmp cl, 0x20
je 0x413151
cmp cl, 9
je 0x413151
cmp cl, 0x2c
jne 0x413154
inc esi
jmp 0x413140
cmp byte [esi], 0x2d
jne 0x41315d
or edi, 0xffffffff
inc esi
mov cl, byte [esi]
cmp cl, 0x30
jl 0x413190
cmp cl, 0x39
jg 0x41317e
movsx ecx, cl
lea eax, [edx + edx*4]
lea edx, [ecx + eax*2 - 0x30]
inc esi
mov cl, byte [esi]
xor eax, eax
inc eax
cmp cl, 0x30
jge 0x413164
test eax, eax
je 0x413190
mov eax, dword [ebp + 0x14]
imul edi, edx
mov eax, dword [eax]
mov dword [eax + ebx*4], edi
inc ebx
jmp 0x413134
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x413197
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.00402b8d
push dword [eax]
lea eax, [ebp - 0x70]
push 0x64
push eax
push 0x472c3d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4131d5
cmp byte [ebp - 0x70], bl
mov byte [ebp - 1], bl
jne 0x4131d9
mov byte [ebp - 1], 1
push dword [ebp - 0xc]
call dword [sym.imp.NSCRT.dll_free]
cmp byte [ebp - 1], bl
pop ecx
pop ebx
je 0x4131ee
mov eax, dword [ebp + 0x10]
leave
ret
cmp byte [ebp - 0x70], 0x23
lea eax, [ebp - 0x70]
mov dword [ebp - 8], eax
jne 0x413200
lea eax, [ebp - 0x6f]
mov dword [ebp - 8], eax
push 0x10
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.NSCRT.dll_strtol]
movzx ecx, ah
mov ch, al
sar eax, 0x10
movzx eax, al
add esp, 0xc
shl ecx, 8
or eax, ecx
leave
ret
Function at 0x4132b5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
cmp byte [0x48554e], 0
je 0x413506
push ebx
push esi
push edi
push 0x473e14
push 0x484e20
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 4], 1
call esi
mov ebx, dword [sym.imp.NSCRT.dll__wcsicmp]
mov edi, eax
cmp edi, 0xffffffff
je 0x4133b9
test byte [ebp - 0x258], 0x10
lea eax, [ebp - 0x22c]
je 0x41334e
push 0x4740fc
push eax
call dword [sym.imp.NSCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x41339c
lea eax, [ebp - 0x22c]
push 0x4740f4
push eax
call dword [sym.imp.NSCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x41339c
jmp 0x413399
push 0x475e44
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x413399
lea eax, [ebp - 0x22c]
push 0x4731d4
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x413399
lea eax, [ebp - 0x22c]
push 0x4731cc
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x41339c
inc dword [ebp - 4]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413313
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0045b790
cdq
idiv dword [ebp - 4]
test edx, edx
mov dword [ebp - 8], edx
jne 0x4133d5
and word [0x4868d8], dx
jmp 0x413503
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 4], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x4134bb
test byte [ebp - 0x258], 0x10
lea eax, [ebp - 0x22c]
je 0x413430
mov esi, dword [sym.imp.NSCRT.dll_wcscmp]
push 0x4740fc
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x413486
lea eax, [ebp - 0x22c]
push 0x4740f4
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x413486
jmp 0x41347b
push 0x475e44
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x41347b
lea eax, [ebp - 0x22c]
push 0x4731d4
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x41347b
lea eax, [ebp - 0x22c]
push 0x4731cc
push eax
call fcn.00417162
pop ecx
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x413486
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x41349e
inc dword [ebp - 4]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4133f7
jmp 0x4134b4
lea eax, [ebp - 0x22c]
push eax
push 0x104
push 0x4868d8
call fcn.00467521
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
push edi
push 0x9d63
push 0x111
push dword [0x4924ec]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x28
pop esi
cmp dword [0x490350], esi
jne 0x413503
cmp dword [0x490354], edi
je 0x413503
push 1
mov dword [0x490350], edi
call fcn.00438395
push 1
mov dword [0x490350], esi
call fcn.00438395
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4135ab
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00467521
lea eax, [ebp - 0x208]
push eax
push 0x475e60
push eax
call fcn.00414ad2
xor edi, edi
mov word [eax], di
add esp, 0xc
cmp word [ebp - 0x208], di
lea eax, [ebp - 0x208]
je 0x413605
cmp word [eax], 0x2f
jne 0x4135fe
mov word [eax], 0x5c
inc eax
inc eax
cmp word [eax], di
jne 0x4135f3
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll_wcslen]
lea esi, [ebp + eax*2 - 0x208]
cmp word [esi], di
pop ecx
je 0x413663
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x413632
cmp word [esi], di
je 0x41363d
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0x5c
jne 0x413624
cmp word [esi], di
jne 0x413649
push edi
lea eax, [ebp - 0x208]
push eax
call ebx
jmp 0x41365d
push edi
lea eax, [ebp - 0x208]
push eax
mov word [esi], di
call ebx
mov word [esi], 0x5c
inc esi
inc esi
cmp word [esi], di
jne 0x413632
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4142e3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push 0x487000
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x472c3d
push str.Stats
push str.WinampReg
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
push 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call dword [sym.imp.NSCRT.dll_strtol]
mov ecx, dword [ebp + 8]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp byte [eax], 0
je 0x414341
inc dword [ebp - 4]
inc esi
cmp esi, 0xd
jl 0x414318
pop esi
leave
ret

Function at 0x4144f6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x487000
push 0x80
push esi
push 0x472c3d
push 0x476018
mov ebx, str.WinampReg
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call sub.NSCRT.dll_strlen
cmp eax, 0x20
pop ecx
jbe 0x414531
mov byte [esi], 0
cmp byte [esi], 0
jne 0x41458c
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp + 8], 0x200
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov byte [esi], 0
xor edi, edi
movzx eax, byte [ebp + edi - 0x14]
push eax
push str._02X
push 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0040f307
add esp, 0x1c
inc edi
cmp edi, 0x10
jb 0x414550
push 0x487000
push esi
push 0x476018
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4178f3
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
push 0x140
mov dword [eax + 0x154], ecx
mov dword [eax + 0x158], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
push ecx
add eax, 0x14
push eax
call sub.NSCRT.dll_memset
add esp, 0xc
ret
Function at 0x41809a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb4
mov eax, dword [0x482f50]
cmp eax, 0xffffffff
jne 0x418181
and dword [ebp + 0x70], 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x418179
cmp dword [ebp - 0x38], 5
ja 0x4180e6
jne 0x418179
cmp dword [ebp - 0x34], 0
jbe 0x418179
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.uxtheme.dll
call edi
test eax, eax
mov dword [ebp + 0x74], eax
je 0x418178
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsAppThemed
push eax
call esi
push str.IsThemeActive
push dword [ebp + 0x74]
mov ebx, eax
call esi
test ebx, ebx
mov dword [ebp + 0x6c], eax
je 0x41816d
test eax, eax
je 0x41816d
call ebx
test eax, eax
je 0x41816d
call dword [ebp + 0x6c]
test eax, eax
je 0x41816d
push str.comctl32.dll
call edi
mov edi, eax
test edi, edi
je 0x41816d
push str.DllGetVersion
push edi
call esi
test eax, eax
je 0x418166
lea ecx, [ebp + 0x58]
push ecx
mov dword [ebp + 0x58], 0x14
call eax
test eax, eax
jne 0x418166
cmp dword [ebp + 0x5c], 6
jb 0x418166
mov dword [ebp + 0x70], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp + 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
pop edi
mov eax, dword [ebp + 0x70]
mov dword [0x482f50], eax
add ebp, 0x78
leave
ret

Function at 0x4183dc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
push ebx
push esi
push edi
push 0x487000
push 0x10
push str.NumRecentURLs
push 0x472b24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and word [ebp - 0x284], 0
push dword [ebp + 0xc]
mov ebx, eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
push str.RecentURL_s1
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push 0x7b
push eax
call fcn.00402528
mov esi, 0x104
push esi
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004052db
push dword [ebp + 8]
lea eax, [ebp - 0x7c]
push eax
call fcn.004053c5
push dword [ebp + 8]
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.NSCRT.dll_wcscmp]
add esp, 0x2c
test eax, eax
je 0x4184db
xor edi, edi
inc edi
cmp ebx, edi
jle 0x4184db
inc edi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push str.RecentURL_s_d
push 0x7b
push eax
call fcn.00402528
and word [ebp - 0x48c], 0
push esi
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004052db
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004053c5
push dword [ebp + 8]
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.NSCRT.dll__wcsicmp]
add esp, 0x30
test eax, eax
je 0x4184db
push esi
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp edi, ebx
jl 0x41846d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4185e0
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 0x418523
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x418612
push esi
call dword [sym.imp.NSCRT.dll_free]
pop ecx
pop esi
leave
ret
Function at 0x4189e7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1340
call fcn.00470240
call fcn.004176fe
test eax, eax
je 0x418bd4
push ebx
push edi
push dword [0x482ccc]
call fcn.004184e0
xor ebx, ebx
test al, al
pop ecx
je 0x418a4b
push 0x7f
xor eax, eax
mov byte [ebp - 0x23c], bl
pop ecx
lea edi, [ebp - 0x23b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x23c]
push eax
call fcn.004144f6
pop ecx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x418615
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [0x482cd0]
call fcn.004184e0
test al, al
pop ecx
je 0x418bd2
push 0x476350
push str.http:__client.winamp.com_update_client_session.php_v_s
push ebx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 0x1340]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
mov eax, 0x1000
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1340]
push eax
call fcn.0040f307
push 0x7f
xor eax, eax
mov byte [ebp - 0x23c], bl
pop ecx
lea edi, [ebp - 0x23b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x23c]
push eax
call fcn.004144f6
add esp, 0x20
cmp byte [ebp - 0x23c], bl
je 0x418ae0
lea eax, [ebp - 0x23c]
push eax
push str.ID_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
add esp, 0x1c
push 0xc
xor eax, eax
pop ecx
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004142e3
pop ecx
xor eax, eax
push esi
push dword [ebp + eax*4 - 0x3c]
lea esi, [eax + 1]
push esi
push str.st_d_d
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
mov eax, esi
add esp, 0x20
cmp eax, 0xd
jl 0x418afa
push str.gen_ml.dll
push 0x485760
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x340]
push ebx
push eax
call dword [sym.imp.NSCRT.dll__access]
neg eax
sbb eax, eax
inc eax
push eax
push str.mlib_d
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
push 0x4868d8
call fcn.00402c33
mov esi, eax
push esi
push str.skin_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
add esp, 0x44
push esi
call dword [sym.imp.NSCRT.dll_free]
push dword [0x48b144]
lea eax, [ebp - 8]
push str.regv_d
push ebx
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
lea eax, [ebp - 0x1340]
push eax
call fcn.004185e0
add esp, 0x24
call fcn.00417734
mov dword [0x482ccc], eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x41cc66
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x48b66c], ebx
jne 0x41ccde
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41cc8c
cmp al, 6
sbb al, al
inc al
jmp 0x41cc8e
xor al, al
cmp al, bl
je 0x41ccd4
push 0x47674c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x48b668], eax
je 0x41ccce
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x48b65c
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.gdiplus.dll_GdiplusStartup
mov byte [0x48b660], 1
jmp 0x41ccd4
mov byte [0x48b660], bl
mov dword [0x48b66c], 1
pop ebx
leave
ret
Function at 0x41e130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x470b5e
call fcn.00470310
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], 0x476758
xor ebx, ebx
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 4], ebx
mov dword [esi], 0x476760
mov dword [esi + 4], 0x47675c
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
call edi
lea eax, [esi + 0xa0]
push eax
call edi
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 2
call fcn.0041c02b
lea eax, [esi + 0x88]
push eax
mov byte [esi + 0x1ac], bl
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 9
pop ecx
xor eax, eax
push 0x7f00
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], 8
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0x41e0ae
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], str.WinampVideoChild
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [0x48b654], ebx
mov dword [ebp - 0x20], eax
jne 0x41e1fc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
inc dword [0x48b654]
fld1
or dword [esi + 0x50], 0xffffffff
fstp qword [esi + 0x18]
push 0x10
lea eax, [esi + 0x30]
push ebx
push eax
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov byte [esi + 0x69], bl
mov byte [esi + 9], bl
mov byte [esi + 0x6a], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x68], bl
mov byte [esi + 8], bl
mov dword [esi + 0x28], ebx
call sub.NSCRT.dll_memset
push 0x10
lea eax, [esi + 0x40]
push ebx
push eax
call sub.NSCRT.dll_memset
add esp, 0x18
mov ecx, esi
mov dword [esi + 0x60], ebx
call fcn.0041d361
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0x2c]
mov dword [esi + 0x78], ebx
push ebx
push eax
push 1
push 1
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0x45320000
add eax, 0xce0000
push eax
push 0x476790
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, dword [esi + 0x10]
push dword [ebp - 0x10]
mov dword [esi + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x41ea79
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x54], 0
jne 0x41ea98
push 0
call fcn.0041f525
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x54], 1
pop esi
ret
Function at 0x41edeb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0041ea9a
test al, al
je 0x41ee40
cmp byte [esi + 0x54], 0
je 0x41ee40
push 1
mov ecx, esi
call fcn.0041f525
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.0041f4cf
cmp byte [esp + 8], 0
je 0x41ee40
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x41ee40
push eax
mov ecx, esi
call fcn.0042b589
pop esi
ret 4

Function at 0x41f947
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 0x41fa6a
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 str.MonitorFromWindow
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call esi
push str.GetMonitorInfoA
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x14], eax
je 0x41fa60
cmp dword [ebp - 0x10], edi
je 0x41fa60
cmp dword [ebp - 8], edi
je 0x41fa60
cmp eax, edi
je 0x41fa60
push edi
push dword [ebx + 0x24]
call dword [ebp - 8]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x41fa60
push str.ddraw.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x41fa60
push str.DirectDrawEnumerateExA
push eax
call esi
cmp eax, edi
je 0x41fa57
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
push 5
lea ecx, [ebp - 0x2c]
push ecx
push 0x41f91d
mov dword [ebp - 0x28], edi
call eax
cmp dword [ebp - 0x28], edi
setne al
test al, al
mov byte [ebx + 0x10], al
je 0x41fa57
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 0x41fa57
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 0x42386c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
and dword [ebp - 0x144], 0
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push edi
push 0x4f
pop ecx
xor eax, eax
push str.GEN_.DLL
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
push 0x485760
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 0x42394e
push esi
lea eax, [ebp - 0x118]
push eax
push 0x485760
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 0x423930
push str.winampGetGeneralPurposePlugin
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x423929
call eax
mov esi, eax
test esi, esi
je 0x423929
cmp dword [esi], 0x10
jne 0x423929
mov eax, dword [0x4924ec]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
call dword [esi + 8]
test eax, eax
jne 0x423929
push esi
mov ecx, 0x48bc28
call fcn.00410c0b
jmp 0x423930
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 0x4238c5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x423a4b
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 0x485760
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 0x423b52
push esi
mov dword [ebp - 4], 0x48bc40
push edi
lea eax, [ebp - 0x11c]
push eax
push 0x485760
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 0x423b26
push str.winampGetOutModule
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x423b26
call eax
mov esi, eax
test esi, esi
je 0x423b26
cmp dword [esi], 0x10
jne 0x423b26
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x10], edi
mov ecx, dword [0x4924ec]
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 0x423b1a
lea ecx, [ebp - 0x11c]
push ecx
push edi
push eax
call fcn.00402e02
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 0x423b47
cmp dword [ebp - 4], 0x48bcbc
jl 0x423a97
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret