joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091b8
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x40931a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x20
call fcn.00402794
mov eax, dword [ebp - 4]
call fcn.0040355c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x4092fc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x2000
mov eax, dword [ebp - 0x14]
call fcn.00402494
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x4092e3
cmp eax, 0xea
jne 0x409281
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004024d4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x4092fc
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x40921a
inc esi
mov eax, dword [ebx]
call fcn.00403c1c
inc eax
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4067e8]
call fcn.00403dd8
add esp, 4
mov eax, dword [ebx]
call fcn.00403c24
mov edx, dword [ebx]
lea eax, [edx + eax*4]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [edi + 0x14]
add edx, 2
call fcn.00403314
mov ecx, dword [ebp - 0x3c]
mov edx, 0x409334
pop eax
call fcn.004033a8
add edi, 0x20
dec esi
jne 0x409291
jmp 0x40921a
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x4092fc
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409321
lea eax, [ebp - 0x3c]
call fcn.0040311c
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x4093e4
Capabilities:
Get file size
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x4095ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040496c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x409596
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xa00000
jae 0x409590
cmp esi, dword [0x40c7fc]
jl 0x4094bb
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x40c7fc]
push eax
mov eax, dword [0x40c7e8]
push eax
push ebx
call sub.kernel32.dll_ReadFile
mov eax, dword [0x40c7f4]
sub eax, dword [0x40c7ec]
add eax, dword [0x40c7f0]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x40c7f4]
sub ecx, dword [0x40c7ec]
mov edx, dword [0x40c7ec]
mov eax, dword [0x40c7e8]
call fcn.00409368
test al, al
je 0x4094b7
mov eax, dword [0x40c7ec]
mov edx, dword [ebp - 0xc]
lea edx, [eax + edx]
mov eax, dword [0x40c7e8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [0x40c7fc]
sub ecx, dword [ebp - 0xc]
call fcn.00409368
test al, al
je 0x4094b7
xor eax, eax
jmp 0x4094bd
mov al, 1
jmp 0x4094bd
mov al, 1
test al, al
je 0x409590
mov eax, esi
call fcn.00402494
mov edi, eax
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.00404610
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_GetFileTime
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, dword [0x40c7ec]
mov ecx, dword [0x40c7fc]
mov eax, ebx
call fcn.004049e8
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.004049e8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, edi
call fcn.004050b4
test al, al
je 0x409575
cmp dword [ebp - 0x28], 0
jbe 0x409575
cmp dword [ebp - 0x2c], 0
je 0x409575
mov esi, dword [0x40c7f4]
sub esi, dword [0x40c7ec]
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_SetFilePointer
cmp esi, eax
jne 0x409575
mov edx, dword [ebp - 0x28]
mov eax, dword [0x40c7f0]
call fcn.00407a1c
mov ecx, eax
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004049e8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
mov edx, esi
mov eax, edi
call fcn.004024b4
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095b3
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x4095c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x40967f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov ecx, 0x409698
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0xc]
call fcn.0040495c
test al, al
jne 0x40965c
lea eax, [ebp - 0x10]
mov ecx, 0x409698
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0x10]
call fcn.004049c4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40965c
lea edx, [ebp - 8]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.004049e8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
push 6
lea eax, [ebp - 0x14]
mov ecx, 0x409698
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0x14]
call fcn.0040355c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409686
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403140
lea eax, [ebp - 4]
call fcn.0040311c
ret

Function at 0x409fa0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.0040354c
mov eax, dword [ebp - 0x18]
call fcn.0040354c
mov eax, dword [ebp - 0x1c]
call fcn.0040354c
xor eax, eax
push ebp
push 0x40a0a4
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0040355c
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040355c
mov edx, eax
mov eax, dword [0x40c650]
pop ecx
call fcn.00409f28
pop ecx
test al, al
je 0x40a089
mov eax, dword [ebp - 0x1c]
call fcn.0040495c
test al, al
je 0x40a01a
mov eax, dword [ebp - 0x1c]
call fcn.0040355c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x40a06e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.0040355c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40a078
mov eax, dword [ebp - 0x10]
call fcn.00404554
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a0ab
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x40d4d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
xor eax, eax
push ebp
push 0x40d661
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004067d8
mov ecx, 0x40d674
mov edx, dword [ebp - 8]
call fcn.0040ad50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, 0x40d690
mov edx, dword [ebp - 8]
call fcn.0040e2b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x40d6a8
mov edx, dword [ebp - 8]
call fcn.0040bf50
push ebp
xor edx, edx
mov eax, 0x40d6b8
call fcn.0040d488
pop ecx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040dba8
push ebp
mov dl, 1
mov eax, 0x40d6d8
call fcn.0040d488
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0
mov ecx, 0x40d6fc
mov edx, 0x40d674
mov eax, dword [ebp - 8]
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPIniFile_ReadBool_qqrx17System_WideStringt1o
mov edx, dword [ebp - 4]
mov byte [edx + 0x30], al
push 1
mov ecx, 0x40d734
mov edx, 0x40d674
mov eax, dword [ebp - 8]
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPIniFile_ReadBool_qqrx17System_WideStringt1o
mov edx, dword [ebp - 4]
mov byte [edx + 0x1c], al
push 0
mov ecx, 0x40d770
mov edx, 0x40d674
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], al
mov eax, dword [0x488040]
push eax
mov ecx, 0x40d79c
mov edx, 0x40d674
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [0x48803c]
push eax
mov ecx, 0x40d7c0
mov edx, 0x40d674
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [0x488044]
push eax
mov ecx, 0x40d7e8
mov edx, 0x40d674
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push 0x3ff00000
push 0
mov ecx, 0x40d814
mov edx, 0x40d674
mov eax, dword [ebp - 8]
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPIniFile_ReadFloat_qqrx17System_WideStringt1xd
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 4]
call fcn.0040dc20
push 1
mov ecx, 0x40d824
mov edx, 0x40d674
mov eax, dword [ebp - 8]
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPIniFile_ReadBool_qqrx17System_WideStringt1o
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040dc04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d668
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
ret
Function at 0x43aca8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ad93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043ab58
xor eax, eax
push ebp
push 0x43ad76
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x43ada8
mov eax, dword [ebp - 4]
call fcn.0043af8c
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x43ad60
xor eax, eax
push ebp
push 0x43ad59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [sym.imp.AIMP3.dll__Aimpbasesysutils_TAIMPStringListW_]
call sub.AIMP3.dll__System_TObject__bctr_qqrv
mov dword [ebx], eax
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0043a714
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
xor ecx, ecx
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPStringListW_Add_qqrx17System_WideStringp14System_TObject
mov eax, dword [ebp - 0xc]
call fcn.0043a6d8
test al, al
jne 0x43ad12
mov eax, dword [ebx]
mov edx, 0x43ae34
call sub.AIMP3.dll__Aimpbasesysutils_TAIMPStringListW_Remove_qqrx17System_WideString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad60
lea eax, [ebp - 0xc]
call sub.AIMP3.dll__Sysutils_FreeAndNil_qqrpv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad7d
mov eax, dword [ebp - 4]
call fcn.0043ab64
ret
Function at 0x43f65c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x43f683
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
jne 0x43f707
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
xor eax, eax
push ebp
push 0x43f700
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x20]
jne 0x43f6b5
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jl 0x43f6eb
test ebx, ebx
je 0x43f6d1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x43f6d5
mov eax, ebx
mov si, 0xfff0
call sub.AIMP3.dll__System__CallDynaInst_qqrv
test al, al
jne 0x43f6d5
xor eax, eax
jmp 0x43f6d7
mov al, 1
mov byte [ebp - 5], al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f707
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x450bec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x450d56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call sub.AIMP3.dll__Aimpsdkhelpers_FileInfoIsValid_qqrp27Aimpsdkcommon_TAIMPFileInfo
mov ebx, eax
test bl, bl
je 0x450d3b
xor eax, eax
push ebp
push 0x450d2f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x450c54
lea ecx, [ebp - 8]
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x4c]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov edx, dword [ebp - 8]
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetFileName_qqrx17System_WideString
lea ecx, [ebp - 0xc]
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 0x40]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetInfo_qqrix17System_WideString
lea ecx, [ebp - 0x10]
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x44]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov ecx, dword [ebp - 0x10]
mov edx, 1
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetInfo_qqrix17System_WideString
lea ecx, [ebp - 0x14]
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x48]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov ecx, dword [ebp - 0x14]
mov edx, 2
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetInfo_qqrix17System_WideString
lea ecx, [ebp - 0x18]
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x50]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov ecx, dword [ebp - 0x18]
mov edx, 3
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetInfo_qqrix17System_WideString
lea ecx, [ebp - 0x1c]
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x54]
call sub.AIMP3.dll__Aimppluginsutils_MakeString_qqrpbi
mov edx, dword [ebp - 0x1c]
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetTitle_qqrx17System_WideString
lea edx, [ebp - 0x20]
mov eax, dword [edi + 0x24]
call sub.AIMP3.dll__Aimpbasesysutils_TrackFormat_qqri
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetNumber_qqrix17System_WideString
mov eax, dword [edi + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x4c], eax
cmp dword [edi + 4], 1
sbb ecx, ecx
inc ecx
mov edx, 1
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_SetFlag_qqrio
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450d3b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d5d
lea eax, [ebp - 0x20]
mov edx, 7
call sub.AIMP3.dll__System__WStrArrayClr_qqrpvi
ret
Function at 0x450d68
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x450ecd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call sub.AIMP3.dll__Aimpsdkhelpers_FileInfoIsValid_qqrp27Aimpsdkcommon_TAIMPFileInfo
mov ebx, eax
test bl, bl
je 0x450eb2
xor eax, eax
push ebp
push 0x450ea6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], eax
mov edx, 1
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetFlag_qqri
neg al
sbb eax, eax
mov dword [edi + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x48]
xor edx, edx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x20], eax
lea ecx, [ebp - 8]
xor edx, edx
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetNumber_qqri
mov eax, dword [ebp - 8]
xor edx, edx
call sub.AIMP3.dll__Aimpbasesysutils_MyStrToInt_qqrx17System_WideStringi
mov dword [edi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetInfo_qqri
mov edx, dword [ebp - 0xc]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x40]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetInfo_qqri
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x44]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
lea ecx, [ebp - 0x14]
mov edx, 2
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetInfo_qqri
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x48]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
mov ecx, dword [edi + 0x34]
mov edx, dword [esi + 0x14]
mov eax, dword [edi + 0x4c]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
lea ecx, [ebp - 0x18]
mov edx, 3
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetInfo_qqri
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x50]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
lea edx, [ebp - 0x1c]
mov eax, esi
call sub.AIMP3.dll__Aimpplaylistentry_TAIMPPlaylistEntry_GetTitle_qqrv
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x54]
call sub.AIMP3.dll__Aimpbasesysutils_WideStrLCopy_qqrpbx17System_WideStringi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450eb2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450ed4
lea eax, [ebp - 0x1c]
mov edx, 6
call sub.AIMP3.dll__System__WStrArrayClr_qqrpvi
ret
Function at 0x45ebd8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp edi, 0x400
jne 0x45ec04
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.0045eb68
mov esi, eax
jmp 0x45ed45
mov eax, ebx
call fcn.0045e9a0
test eax, eax
je 0x45ec19
mov eax, dword [0x4893c4]
cmp byte [eax], 0
je 0x45ec32
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DefWindowProcW
mov esi, eax
jmp 0x45ed45
mov eax, edi
cmp eax, 0x100
jg 0x45ec55
je 0x45ece4
sub eax, 0x10
je 0x45ec91
sub eax, 8
je 0x45ecb3
sub eax, 0x32
je 0x45ecc7
jmp 0x45ed31
sub eax, 0x111
je 0x45ecd3
dec eax
je 0x45ecf0
sub eax, 0x207
jne 0x45ed31
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [sym.imp.AIMP3.dll__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SendMessageW
mov esi, eax
jmp 0x45ed45
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [0x4893cc]
mov eax, dword [eax]
call sub.AIMP3.dll__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_SendMessageW
mov esi, eax
jmp 0x45ed45
mov eax, dword [ebp + 8]
push eax
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DefWindowProcW
mov esi, eax
jmp 0x45ed45
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0045ee5c
jmp 0x45ed45
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.0045eeec
mov esi, eax
jmp 0x45ed45
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.0045eb14
jmp 0x45ed45
cmp dword [ebp + 0xc], 0xf120
je 0x45ed02
cmp dword [ebp + 0xc], 0xf020
jne 0x45ed1b
xor edx, edx
mov eax, 0xa
call sub.AIMP3.dll__Aimpcoreunit_CoreCommandExecute_qqrii
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x45ed45
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DefWindowProcW
mov esi, eax
jmp 0x45ed45
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DefWindowProcW
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x462970
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 4]
call sub.AIMP3.dll__System__WStrAddRef_qqrr17System_WideString
xor eax, eax
push ebp
push 0x462a23
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, 0x44
call fcn.0040178c
lea eax, [ebx + 0x4c]
mov edx, 0x10
call fcn.0040178c
mov dword [ebp - 0x48], 0x44
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 0xc], eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0x101
mov word [ebp - 0x18], 0
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x64]
call sub.AIMP3.dll__System__WStrToPWChar_qqrx17System_WideString
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call sub.AIMP3.dll__System__WStrToPWChar_qqrx17System_WideString
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a2a
lea eax, [ebp - 4]
call sub.AIMP3.dll__System__WStrClr_qqrpv
ret

Function at 0x462aa8
Capabilities:
Create pipe

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0xc
call fcn.0040178c
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0xffffffff
xor eax, eax
mov dword [esp + 8], eax
push 0
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
lea eax, [ebx + 0x5c]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x462b0f
push 2
push 0
push 0
lea eax, [ebx + 0x60]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x462b13
xor eax, eax
jmp 0x462b15
mov al, 1
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
add esp, 0x10
pop ebx
ret

Function at 0x4801bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [esi + 4]
cmp eax, 0x2bc
seta bl
call sub.kernel32.dll_GetTickCount
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
ret