joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f16
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 8
mov dword [ebp - 0xc], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0xa28
mov esi, 0xbba4b8
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x403077
push esi
call fcn.0040166d
pop ecx
push esi
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 1], bl
je 0x403077
push 0x190
mov edi, 0x405114
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
cmp word [0x423130], bx
je 0x402fab
mov esi, 0x423130
call fcn.00402e8b
push ebx
push ebx
push ebx
push 0x402e5a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00402cde
call fcn.00402d9f
mov esi, eax
push esi
call fcn.004021a5
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00402c56
add esp, 0xc
test al, al
je 0x40301e
cmp dword [ebp - 8], ebx
je 0x403000
push dword [ebp - 8]
call fcn.00401b52
pop ecx
push 7
pop eax
call fcn.004019f4
jmp 0x403064
call fcn.00401a90
test al, al
je 0x403064
cmp word [0x617130], bx
je 0x403077
mov esi, 0x617130
call fcn.00402e8b
jmp 0x403077
cmp word [0x90f130], bx
je 0x403064
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x90f130
mov esi, 0xbbb908
push esi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
call fcn.00401a05
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push esi
call fcn.00401b52
add dword [0x919150], 0x3e8
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp word [0x419130], bx
je 0x403077
mov eax, 0x419130
call fcn.00401c00
cmp word [0x41e130], bx
je 0x40308b
push 0x41e130
call main
pop ecx
call fcn.00401c45
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40cf24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x18]
movaps xmm7, xmmword [ebx]
movaps xmm3, xmmword [ebx + 0x40]
movaps xmm4, xmmword [ebx + 0x10]
sub esp, 0x20
lea esi, [ecx + ecx]
add esi, esi
lea ebp, [ecx + ecx]
lea ebx, [ecx + ecx]
add ebx, ebx
sub ebx, ecx
add ebx, ebx
movlps xmm0, qword [eax]
movhps xmm0, qword [eax + ebp*8]
movlps xmm1, qword [eax + esi*8]
movhps xmm1, qword [eax + ebx*8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax], xmm2
movhps qword [eax + ebp*8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8], xmm1
movhps qword [eax + ebx*8], xmm1
dec ecx
mov edi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
lea ecx, [eax + 8]
movlps xmm0, qword [eax + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax + 8], xmm2
movhps qword [eax + ebp*8 + 8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movaps xmm5, xmmword [edx]
movaps xmm6, xmmword [edx + 0x10]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0xb1
mulps xmm1, xmm5
mulps xmm0, xmm6
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8 + 8], xmm1
movhps qword [eax + ebx*8 + 8], xmm1
mov eax, ecx
add edx, 0x20
dec edi
jne 0x40cf94
mov dword [esp], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp]
lea edi, [ecx + 8]
mov dword [esp + 4], edi
movlps xmm0, qword [ecx + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm2, xmm1
addps xmm0, xmm1
movlps qword [ecx + 8], xmm0
movhps qword [eax + ebp*8 + 8], xmm0
movaps xmm1, xmm2
movlhps xmm1, xmm1
shufps xmm2, xmm2, 0xbb
xorps xmm2, xmm3
addps xmm1, xmm2
movaps xmm2, xmm1
shufps xmm2, xmm2, 0xb1
xorps xmm2, xmm3
addps xmm1, xmm2
mulps xmm1, xmm4
movlps qword [eax + ebx*8 + 8], xmm1
movhps qword [eax + esi*8 + 8], xmm1
add edx, 0xffffffe0
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov eax, edi
lea edi, [eax + 8]
movlps xmm0, qword [eax + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax + 8], xmm2
movhps qword [eax + ebp*8 + 8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movaps xmm5, xmmword [edx + 0x10]
movaps xmm6, xmmword [edx]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0xb1
mulps xmm1, xmm5
mulps xmm0, xmm6
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8 + 8], xmm1
movhps qword [eax + ebx*8 + 8], xmm1
mov eax, edi
add edx, 0xffffffe0
dec ecx
jne 0x40d071
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
pop ebp
ret 4
Function at 0x40d600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x18]
movaps xmm5, xmmword [ebx + 0x50]
movaps xmm3, xmmword [ebx + 0x40]
movaps xmm4, xmmword [ebx + 0x10]
sub esp, 0x18
lea esi, [ecx + ecx]
add esi, esi
lea ebp, [ecx + ecx]
add ebp, ebp
sub ebp, ecx
add ebp, ebp
lea ebx, [ecx + ecx]
movlps xmm0, qword [eax + esi*8]
movhps xmm0, qword [eax + ebp*8]
movaps xmm1, xmm0
shufps xmm0, xmm0, 0x94
shufps xmm1, xmm1, 0x3e
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [eax]
movhps xmm1, qword [eax + ebx*8]
movaps xmm2, xmm1
subps xmm1, xmm0
addps xmm2, xmm0
movlps qword [eax], xmm2
movhps qword [eax + ebx*8], xmm2
movlps qword [eax + esi*8], xmm1
movhps qword [eax + ebp*8], xmm1
dec ecx
mov edi, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov ecx, eax
lea eax, [ecx + 8]
movlps xmm0, qword [ecx + esi*8 + 8]
movhps xmm0, qword [ecx + ebp*8 + 8]
movaps xmm1, xmm0
movaps xmm6, xmmword [edx]
movaps xmm7, xmmword [edx + 0x10]
mulps xmm0, xmm6
mulps xmm1, xmm7
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x3c
shufps xmm0, xmm0, 0x96
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [ecx + 8]
movhps xmm1, qword [ecx + ebx*8 + 8]
movaps xmm2, xmm1
subps xmm2, xmm0
addps xmm1, xmm0
movlps qword [ecx + 8], xmm1
movhps qword [ecx + ebx*8 + 8], xmm1
movlps qword [ecx + esi*8 + 8], xmm2
movhps qword [ecx + ebp*8 + 8], xmm2
add edx, 0x20
mov ecx, eax
dec edi
jne 0x40d673
mov ecx, dword [esp]
lea edi, [eax + 8]
movlps xmm0, qword [eax + esi*8 + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movaps xmm1, xmm0
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
mulps xmm0, xmm4
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x49
shufps xmm0, xmm0, 0xe3
xorps xmm0, xmm5
subps xmm1, xmm0
movlps xmm0, qword [eax + ebx*8 + 8]
movhps xmm0, qword [eax + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movhps qword [eax + 8], xmm2
movlps qword [eax + ebx*8 + 8], xmm2
movhps qword [eax + esi*8 + 8], xmm0
movlps qword [eax + ebp*8 + 8], xmm0
add edx, 0xffffffe0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
lea eax, [edi + 8]
movlps xmm0, qword [edi + esi*8 + 8]
movhps xmm0, qword [edi + ebp*8 + 8]
movaps xmm1, xmm0
movaps xmm6, xmmword [edx + 0x10]
movaps xmm7, xmmword [edx]
mulps xmm0, xmm6
mulps xmm1, xmm7
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x3c
shufps xmm0, xmm0, 0x96
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [edi + 8]
movhps xmm1, qword [edi + ebx*8 + 8]
movaps xmm2, xmm1
subps xmm2, xmm0
addps xmm1, xmm0
movlps qword [edi + 8], xmm1
movhps qword [edi + ebx*8 + 8], xmm1
movlps qword [edi + esi*8 + 8], xmm2
movhps qword [edi + ebp*8 + 8], xmm2
add edx, 0xffffffe0
mov edi, eax
dec ecx
jne 0x40d73d
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
pop ebp
ret 4
Function at 0x4204f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, edx
mov esi, eax
cmp byte [esi + 0x328], 0
je 0x42059d
cmp byte [esi + 0x349], 2
je 0x42059d
mov eax, esi
call fcn.00418cc4
test al, al
jne 0x42059d
xor eax, eax
mov al, bl
mov edx, dword [sym.imp.AIMP2.dll__Aimpunicodeutils_AIMPSigns]
mov ebp, dword [edx + eax*4]
add ebp, ebp
lea ebp, [ebp + ebp*4]
mov edi, 0xa
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [esi + 0x358]
add eax, ebp
mov edx, 0x64
call sub.AIMP2.dll__Math_Min_qqrxixi
mov edx, eax
mov eax, esi
call fcn.004210b4
mov eax, dword [sym.imp.AIMP2.dll__Forms_Application]
mov eax, dword [eax]
call sub.AIMP2.dll__Forms_TApplication_ProcessMessages_qqrv
call sub.kernel32.dll_GetTickCount
sub eax, ebx
inc eax
push eax
mov eax, 0x12c
pop edx
mov ecx, edx
xor edx, edx
div ecx
xor edx, edx
push edx
push eax
push 0
push 0x1e
call sub.AIMP2.dll__Math_Min_qqrxjxj
mov ebx, eax
cmp ebx, 0xa
jb 0x42059a
push ebx
call sub.kernel32.dll_Sleep_1
dec edi
jne 0x42053d
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebx]
call sub.AIMP2.dll__Math_Sign_qqrxi
movsx eax, al
mov dword [edi], eax
mov eax, dword [ebx]
cdq
xor eax, edx
sub eax, edx
mov dword [ebx], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c0f8
mov eax, dword [ebp - 0xc]
mov ecx, 3
cdq
idiv ecx
mov esi, eax
cmp esi, dword [ebx]
jge 0x42ccaa
push 0
mov ecx, dword [edi]
mov eax, dword [ebx]
sub eax, esi
imul ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042ca7c
mov dword [ebx], esi
cmp dword [ebx], 0
jle 0x42ccf2
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edi]
call fcn.0042cc14
pop ecx
call sub.AIMP2.dll__Sysutils_Time_qqrv
fild dword [ebx]
fdivp st(1)
fstp xword [ebp - 0x18]
wait
call sub.kernel32.dll_GetTickCount
sub eax, esi
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
fild qword [ebp - 0xc]
fld xword [ebp - 0x18]
fsubrp st(1)
call sub.AIMP2.dll__System__TRUNC_qqrv
mov edx, dword [ebp - 4]
mov dword [edx], eax
dec dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435bf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov dword [esi + 0x2c], eax
xor ebx, ebx
xor eax, eax
mov al, bl
mov eax, dword [esi + eax*4 + 0x20]
call sub.AIMP2.dll__Graphics_TFont_GetHeight_qqrv
cdq
xor eax, edx
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x2c]
call sub.AIMP2.dll__Math_Max_qqrxixi
mov dword [esi + 0x2c], eax
inc ebx
cmp bl, 3
jne 0x435c03
add dword [esi + 0x2c], 2
pop esi
pop ebx
ret
Function at 0x44caf8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x44cbee
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00480fcc
lea esi, [eax + 0x30]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
mov eax, 0x84
call sub.AIMP2.dll__Aimpmultilangs_GetMsg_qqri
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x44cc04
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
pop eax
call sub.AIMP2.dll__Sysutils_WideFormat_qqrx17System_WideStringpx14System_TVarRecxi
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call sub.AIMP2.dll__Forms_TCustomForm_GetCanvas_qqrv
mov edx, eax
mov eax, dword [ebx + 0x5ac]
mov ecx, dword [eax + 0x48]
mov eax, dword [esi + 0xc]
call sub.AIMP2.dll__Aimpstrutils_CollapseFileName_qqrx17System_WideStringpx16Graphics_TCanvasi
mov edx, dword [ebp - 0x18]
mov al, byte [esi]
pop ecx
call sub.AIMP2.dll__Aimpunicodeutils_IfThenW_qqrox17System_WideStringt2
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x5ac]
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov edx, dword [esi + 0x10]
mov eax, dword [ebx + 0x5b4]
mov ecx, dword [eax]
call dword [ecx + 0xa0]
push dword [esi + 8]
push 0x44cc18
push dword [esi + 4]
lea eax, [ebp - 0x1c]
mov edx, 3
call sub.AIMP2.dll__System__WStrCatN_qqrv
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5b0]
mov ecx, dword [eax]
call dword [ecx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cbf5
lea eax, [ebp - 0x1c]
mov edx, 2
call sub.AIMP2.dll__System__WStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 3
call sub.AIMP2.dll__System__WStrArrayClr_qqrpvi
ret

Function at 0x45e7bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, eax
mov eax, ebx
call sub.AIMP2.dll__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x45e7e1
cmp dword [ebp - 4], 5
jne 0x45e83b
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45e834
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call sub.AIMP2.dll__System__LStrToPChar_qqrx17System_AnsiString
push eax
mov eax, dword [sym.imp.AIMP2.dll__Sysutils_GetDiskFreeSpaceEx]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x45e81d
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e83b
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46019c
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x49a61c], 0
je 0x4601cf
push 0
mov eax, dword [0x49a61c]
call sub.AIMP2.dll__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x48db20]
mov eax, dword [eax]
xor edx, edx
call fcn.0045b36c
mov eax, 0x49a61c
call sub.AIMP2.dll__Sysutils_FreeAndNil_qqrpv
ret
Function at 0x471e78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x471e80
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call sub.AIMP2.dll__System__IntfAddRef_qqrx45System__DelphiInterface_t17System_IInterface_
xor eax, eax
push ebp
push 0x472006
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00471714
push 1
mov edx, dword [esi + 4]
test edx, edx
je 0x471eb8
sub edx, 0xffffff98
mov ecx, 0x472018
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 1
mov edx, dword [esi + 0x254]
test edx, edx
je 0x471ed4
sub edx, 0xffffff98
mov ecx, 0x472030
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov edx, dword [esi + 4]
mov eax, dword [sym.imp.AIMP2.dll__Myskingraphics_TMyBitmapFX_]
call sub.AIMP2.dll__Myskingraphics_TMyBitmapFX_CreateRegion_qqrp17System_TMetaClassp16Graphics_TBitmap
mov dword [esi + 0x258], eax
xor ebx, ebx
mov edi, 0x48d7f8
push ebp
lea eax, [ebp - 0x18]
mov edx, dword [edi]
call sub.AIMP2.dll__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov eax, dword [ebp - 0x18]
cmp bl, 4
sete dl
xor ecx, ecx
mov cl, bl
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*2 + 0x60]
call fcn.00471ca4
pop ecx
inc ebx
add edi, 4
cmp bl, 0xa
jne 0x471efb
push ebp
lea ecx, [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, 0x472048
call fcn.00471e20
pop ecx
push ebp
lea ecx, [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, 0x472060
call fcn.00471e20
pop ecx
push ebp
lea ecx, [esi + 0x3c]
mov edx, dword [esi + 0x38]
mov eax, 0x47207c
call fcn.00471e20
pop ecx
push ebp
lea ecx, [esi + 0x50]
mov edx, dword [esi + 0x4c]
mov eax, 0x472098
call fcn.00471e20
pop ecx
push 0x808080
lea eax, [ebp - 0x1c]
mov edx, dword [0x48d808]
call sub.AIMP2.dll__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x1c]
mov ecx, 0x4720bc
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov dword [esi + 0x152], eax
lea ecx, [ebp - 0x50]
mov dl, 4
mov eax, esi
call fcn.00471bb8
push esi
lea esi, [ebp - 0x4f]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
call sub.AIMP2.dll__Aimpunicodeutils_Size_qqrii
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47200d
lea eax, [ebp - 0x50]
mov edx, dword [0x46fd80]
call sub.AIMP2.dll__System__FinalizeRecord_qqrpvt1
lea eax, [ebp - 0x1c]
mov edx, 2
call sub.AIMP2.dll__System__WStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.AIMP2.dll__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret
Function at 0x474da8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x474dbc
push 0x32
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0x4a], 0
jne 0x474dd0
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x7d0
jb 0x474db5
mov al, byte [ebx + 0x4a]
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x474dec
push 0x32
call sub.kernel32.dll_Sleep_1
cmp dword [ebx + 0x40], 0
jne 0x474e00
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x3e8
jb 0x474de5
cmp dword [ebx + 0x40], 0
seta al
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x474e20
push 0xa
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0x48], 0
je 0x474e34
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x3e8
jb 0x474e19
pop esi
pop ebx
ret
Function at 0x4865f0
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, 0x190
seta bl
call sub.kernel32.dll_GetTickCount
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45ccaa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45ccd1
call fcn.0045d24b
mov dword [eax], esi
call fcn.0045d238
push 0x16
pop esi
mov dword [eax], esi
call fcn.00464430
mov eax, esi
jmp 0x45cd26
test dword [ebp + 0xc], 0xfffffff9
jne 0x45ccb7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45ccfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045d25e
pop ecx
call fcn.0045d238
mov eax, dword [eax]
jmp 0x45cd26
test al, 0x10
jne 0x45cd24
test al, 1
je 0x45cd24
test byte [ebp + 0xc], 2
je 0x45cd24
call fcn.0045d24b
mov dword [eax], 5
call fcn.0045d238
mov dword [eax], 0xd
jmp 0x45ccf5
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4715d0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4989d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00464779
and dword [ebp - 0x14], 0
cmp dword [0x49b184], 0
mov dword [ebp - 0x18], eax
jne 0x471683
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47172b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480a7c
push ebx
call edi
test eax, eax
je 0x47172b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x480a6c
push ebx
mov dword [0x49b184], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49b188], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49b18c], eax
call edi
push eax
call esi
mov dword [0x49b194], eax
test eax, eax
je 0x471683
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49b190], eax
mov eax, dword [0x49b190]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4716dc
cmp dword [0x49b194], ecx
je 0x4716dc
push eax
call esi
push dword [0x49b194]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4716dc
test ebx, ebx
je 0x4716dc
call edi
test eax, eax
je 0x4716d3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4716d3
test byte [ebp - 8], 1
jne 0x4716dc
or dword [ebp + 0x10], 0x200000
jmp 0x47170f
mov eax, dword [0x49b188]
cmp eax, dword [ebp - 0x18]
je 0x47170f
push eax
call esi
test eax, eax
je 0x47170f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47170f
mov eax, dword [0x49b18c]
cmp eax, dword [ebp - 0x18]
je 0x47170f
push eax
call esi
test eax, eax
je 0x47170f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49b184]
call esi
test eax, eax
je 0x47172b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47172d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459ee3
leave
ret