joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4730b5
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
lea eax, [ebp - 0x660]
push edi
push 0x208
push 0
push eax
call fcn.0049a3b0
push 0x250
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0049a3b0
add esp, 0x18
lea eax, [ebp - 0x660]
push 0x4cb7a0
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x473224
push 0x208
lea eax, [ebp - 0x458]
push 0
push eax
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x250], 0x10
je 0x4731d9
mov ecx, 0x4cb7a8
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x473187
test dx, dx
je 0x473183
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x473187
add eax, 4
add ecx, 4
test dx, dx
jne 0x473161
xor eax, eax
jmp 0x47318c
sbb eax, eax
or eax, 1
test eax, eax
je 0x473207
mov ecx, 0x4cb7ac
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4731c1
test dx, dx
je 0x4731bd
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4731c1
add eax, 4
add ecx, 4
test dx, dx
jne 0x47319b
xor eax, eax
jmp 0x4731c6
sbb eax, eax
or eax, 1
test eax, eax
je 0x473207
lea eax, [ebp - 0x458]
push eax
call fcn.004730b5
pop ecx
jmp 0x473207
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x473207
push 4
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47311c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
leave
ret
Function at 0x474367
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
neg eax
push eax
mov eax, dword [ebp - 0x10]
neg eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x20023f
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_GetDCEx]
mov edi, eax
test edi, edi
je 0x474482
push ebx
push edi
call fcn.00419cef
push dword [0x507190]
call fcn.00419c9f
mov ebx, 0x80
lea eax, [ebp - 0x90]
push ebx
push 0
push eax
call fcn.0049a3b0
add esp, 0x14
lea eax, [ebp - 0x90]
push ebx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [esi + 0x14]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
cmp ebx, eax
jne 0x474420
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x47441e
movzx ecx, word [edx + 4]
movzx eax, word [edx]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x14
je 0x474420
xor ebx, ebx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
xor eax, eax
cmp byte [0x4f7c4f], al
push 1
pop ecx
sete al
cmp dword [ebp + 0xc], 0
cmovne eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push eax
push dword [0x506d00]
push edi
call fcn.00474486
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push dword [0x506d00]
push edi
call fcn.0047472a
push 0
call fcn.00419c9f
add esp, 0x34
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x474b30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
test dword [ebx + 8], 1
jne 0x474bb3
mov eax, 0xffff
cmp dword [ebx + 0xc], eax
je 0x474bb3
cmp dword [ebx + 0x10], eax
je 0x474bb3
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
xor ecx, ecx
and eax, 1
cmp byte [0x4f7c4c], cl
setne cl
add ecx, eax
cmp ecx, 1
jne 0x474bb3
push esi
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
mov esi, dword [edi + 8]
sub esi, dword [edi]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov dword [edi], eax
add eax, esi
sub ecx, dword [ebx + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
lea eax, [ecx + edx]
mov dword [edi + 0xc], eax
push dword [ebx]
push edi
call fcn.004225b5
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47502c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 1
jne 0x475097
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
xor edx, edx
and ax, cx
mov ecx, dword [esi]
cmp dx, ax
je 0x475084
and dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0x12
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x475097
xor eax, eax
push 0x401
push eax
push eax
push ecx
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
leave
ret

Function at 0x475332
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub edi, dword [esi]
sub ebx, dword [esi + 4]
cmp dword [0x504cdc], 0
jne 0x475380
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
and ax, cx
xor ecx, ecx
cmp cx, ax
jne 0x475380
add edi, 0x18
add ebx, 0x1c
push 0x19
mov eax, edi
cdq
pop ecx
idiv ecx
mov eax, ebx
sub edi, edx
cdq
push 0x1d
pop ecx
idiv ecx
sub ebx, edx
push 0x32
pop eax
cmp edi, eax
push 0x3a
cmovl edi, eax
pop eax
cmp ebx, eax
cmovl ebx, eax
mov eax, dword [esi]
add eax, edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
add eax, ebx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret

Function at 0x475d97
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp + 0x10]
call fcn.004993e0
mov esi, esp
test esi, esi
je 0x475de4
push 0x501c00
push dword [ebp + 0x10]
push esi
push 0x4ccc30
push dword [ebp + 8]
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x10]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call fcn.00411d12
add esp, 0x18
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x476049
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push 0x501c00
push 0x80
push esi
push 0x4ccc30
push 0x4d5a44
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476078
sub ecx, edx
cmp ecx, 0x20
jbe 0x47608a
mov byte [esi], al
jmp 0x47608f
cmp byte [esi], 0
jne 0x4760f5
push ebx
push edi
lea eax, [ebp - 0x18]
mov edi, 0x200
mov ebx, esi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov byte [esi], 0
xor esi, esi
movzx eax, byte [ebp + esi - 0x18]
push eax
push str._02X
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
call fcn.00448292
add esp, 0x1c
inc esi
cmp esi, 0x10
jae 0x4760da
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
jmp 0x4760ad
mov esi, dword [ebp + 8]
push 0x501c00
push esi
push 0x4d5a44
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4760f8
Capabilities:
Read .ini file

Disassembly:
mov ecx, 0x4fa180
jmp fcn.00475e00

Function at 0x476f75
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x500dc7]
sub esp, 0x208
push esi
push eax
call fcn.0047b1b2
pop ecx
mov ecx, dword [0x531f70]
mov esi, eax
test ecx, ecx
je 0x47707a
mov eax, dword [0x52fd10]
push edi
xor edi, edi
inc edi
test eax, eax
je 0x476fbd
cmp dword [0x4fa1ec], esi
je 0x47704c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, 0xfffffd66
jne 0x477027
push 0x208
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.0049a3b0
push 0x5011d8
push 0x4d3890
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.0040adba
add esp, 0x1c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x477015
push 0x8000
push 0x10
push 0x10
push edi
push 0x66
jmp 0x477035
push 0x10
push 0x10
push 0x10
push edi
lea eax, [ebp - 0x208]
push eax
push 0
jmp 0x47703b
push 0x8000
push 0x10
push 0x10
push edi
movzx eax, si
push eax
push dword [0x531f80]
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [0x531f70]
mov dword [0x52fd10], eax
cmp dword [0x52fd08], 0
push dword [ebp + 8]
mov dword [0x4fa1ec], esi
push 0x1f6
push ecx
jne 0x477071
call fcn.00476e36
mov dword [0x52fd08], edi
jmp 0x477076
call fcn.00476f01
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x477807
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
lea eax, [ebp - 0x1f4]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x1ec
push ebx
push eax
mov dword [edi], vtable.TempFileCOM.0
mov dword [edi + 0x210], 1
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x1f4]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [edi + 8]
push esi
push ebx
push 0x4d5ba4
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp dword [ebp + 8], ebx
je 0x47787b
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
push ebx
push 0x100
push 2
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
lea ecx, [ebp - 4]
mov dword [edi + 4], eax
push ecx
push 2
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xfeff
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
sub eax, edi
je 0x477a0c
sub eax, 1
je 0x4779fa
sub eax, 1
je 0x4779d6
sub eax, 1
je 0x4779c7
mov eax, 0x80020003
jmp 0x477a43
mov eax, dword [ebp + 8]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x477a41
mov eax, dword [ebp + 8]
add eax, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [ebp + 0x20]
mov edi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
mov word [esi], ax
mov dword [esi + 8], edi
jmp 0x477a41
mov esi, dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 4], 0xffffffff
jmp 0x477a41
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov ecx, edx
mov dword [ebp + 0xc], edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x477a1c
sub ecx, esi
lea eax, [ebp + 0xc]
push edi
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 8]
push edx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x24
Function at 0x479d41
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x52fd4c], 0
mov eax, dword [ebp + 8]
mov dword [0x52fd3c], eax
mov eax, dword [ebp + 0xc]
mov dword [0x52fd40], eax
mov eax, dword [ebp + 0x10]
mov dword [0x52fd44], eax
mov eax, dword [ebp + 0x14]
mov dword [0x52fd48], eax
jne 0x479de7
call fcn.00478402
test eax, eax
jne 0x479ded
call fcn.00479983
test eax, eax
jne 0x479ded
call fcn.004780d4
test eax, eax
jne 0x479ded
call fcn.004788c1
test eax, eax
jne 0x479ded
cmp dword [0x52fd4c], eax
jne 0x479de7
push esi
call fcn.00477bb3
mov esi, eax
call fcn.0047897f
add esi, eax
call fcn.00478252
add esi, eax
call fcn.00477fba
add esi, eax
call fcn.00477aff
add esi, eax
call fcn.0047881b
add esi, eax
call fcn.00478775
add esi, eax
call fcn.00478089
add eax, esi
pop esi
jne 0x479ded
cmp dword [0x52fd4c], 0
jne 0x479de7
call fcn.004796e5
test eax, eax
jne 0x479ded
pop ebp
jmp fcn.00478b19
pop ebp
ret

Function at 0x47ae5b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov esi, dword [0x4fa2d8]
cmp esi, 0xffffffff
jne 0x47aece
push 0x110
xor esi, esi
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47aec8
cmp dword [ebp - 0x104], 2
jne 0x47aec8
cmp dword [ebp - 0x110], 5
jbe 0x47aec5
cmp dword [ebp - 0x110], 6
jne 0x47aec8
cmp dword [ebp - 0x10c], esi
jne 0x47aec8
xor esi, esi
inc esi
mov dword [0x4fa2d8], esi
xor eax, eax
cmp esi, 1
pop esi
sete al
leave
ret

Function at 0x47aed9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov esi, dword [0x4fa2dc]
cmp esi, 0xffffffff
jne 0x47af46
push 0x110
xor esi, esi
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47af40
cmp dword [ebp - 0x104], 2
jne 0x47af40
cmp dword [ebp - 0x110], 6
ja 0x47af3d
jne 0x47af40
cmp dword [ebp - 0x10c], 2
jb 0x47af40
xor esi, esi
inc esi
mov dword [0x4fa2dc], esi
xor eax, eax
cmp esi, 1
pop esi
sete al
leave
ret
Function at 0x47af51
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
mov esi, dword [0x4fa2e0]
cmp esi, 0xffffffff
jne 0x47b03d
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x114
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47b037
cmp dword [ebp - 0x12c], 5
ja 0x47afa6
jne 0x47b037
cmp dword [ebp - 0x128], esi
jbe 0x47b037
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push 0x4d60c8
call ebx
mov edi, eax
test edi, edi
je 0x47b035
push str.IsAppThemed
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], eax
test edx, edx
je 0x47b02e
test eax, eax
je 0x47b02e
call edx
test eax, eax
je 0x47b02e
call dword [ebp - 8]
test eax, eax
je 0x47b02e
push str.comctl32.dll
call ebx
mov ebx, eax
test ebx, ebx
je 0x47b02e
push str.DllGetVersion
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b027
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x14
push ecx
call eax
test eax, eax
jne 0x47b027
inc eax
cmp dword [ebp - 0x18], 6
cmovae esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
mov dword [0x4fa2e0], esi
mov eax, esi
pop esi
leave
ret
Function at 0x47b483
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x388]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x388]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47b662
push 0x100
xor esi, esi
mov dword [ebp - 0x14], 0x200
lea eax, [ebp - 0x180]
inc esi
push ebx
push eax
mov dword [ebp - 0xc], esi
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47b52d
cmp dword [ebp - 0xc], esi
je 0x47b536
xor eax, eax
mov word [ebp - 0x180], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [0x4d6180]
lea edi, [ebp - 0x180]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x4c], str.256COLOR
movaps xmm0, xmmword [0x4d6190]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x48], str.640X480
movaps xmm0, xmmword [0x4d6170]
mov dword [ebp - 0x44], str.DISABLETHEMES
mov dword [ebp - 0x40], 0x4d5fc0
mov dword [ebp - 0x3c], 0x4d5fc4
mov dword [ebp - 0x38], str.DISABLEUSERCALLBACKEXCEPTION
mov dword [ebp - 0x34], str.HIGHDPIAWARE
mov dword [ebp - 0x30], str.RUNASADMIN
mov dword [ebp - 0x2c], str.IGNOREFREELIBRARY
mov dword [ebp - 0x28], str.ELEVATECREATEPROCESS
mov dword [ebp - 0x24], 0x4d609c
mov dword [ebp - 0x20], 0x4d60a0
mov dword [ebp - 0x1c], 0x4d60a4
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x10
cmp word [edi], bx
je 0x47b662
mov esi, edi
movzx eax, word [esi]
test ax, ax
je 0x47b5ed
cmp eax, 0x20
je 0x47b5ed
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
test esi, esi
jne 0x47b5d3
xor edx, edx
mov dword [ebp - 0x10], esi
test esi, esi
je 0x47b608
movzx eax, word [esi]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp word [esi], dx
je 0x47b60b
xor ecx, ecx
mov word [esi], cx
mov dword [ebp - 8], ebx
mov bl, dl
mov esi, edx
push dword [ebp + esi - 0x80]
push edi
push dword [ebp + esi - 0x4c]
call fcn.0049e664
add esp, 0xc
movzx ebx, bl
test eax, eax
push 1
pop eax
cmove ebx, eax
add esi, 4
cmp esi, 0x34
jb 0x47b60f
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
cmp byte [ebp - 0x18], 0
mov ebx, dword [ebp - 8]
je 0x47b664
test esi, esi
je 0x47b649
mov word [esi], bx
test bx, bx
je 0x47b662
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
push 0
pop ebx
test edi, edi
jne 0x47b5c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47b669
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x210]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp + 8], edi
je 0x47b6e0
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push 1
push eax
call fcn.00411bde
pop ecx
pop ecx
test eax, eax
jne 0x47b74c
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47b74c
push dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x210]
push edx
push ecx
call dword [eax + 0x70]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b74c
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov word [esi], ax
lea eax, [ebp - 4]
push eax
push edi
push 0x20019
push edi
push edi
push edi
push str.SOFTWARENullsoftWinamp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47b74b
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x200
push eax
push esi
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47b73d
cmp dword [ebp + 8], 1
je 0x47b742
xor eax, eax
mov word [esi], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
leave
ret

Function at 0x47dc48
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp word [0x530690], 0
push ebx
push esi
mov esi, ecx
mov ebx, 0x530690
jne 0x47dc79
push 0x5011d8
push str._s_videologo.bmp
push 0x104
push ebx
call fcn.0040adba
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x47dc9a
push 0x10
push ebx
push ebx
push ebx
push 0x530690
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x47dcc0
movzx eax, word [0x4fa3a4]
push 0x2000
push ebx
push ebx
push ebx
push eax
push dword [0x531f80]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x68], eax
lea ecx, [ebp - 0x18]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x70], eax
test eax, eax
jns 0x47dce2
neg eax
mov dword [esi + 0x70], eax
pop esi
pop ebx
leave
ret
Function at 0x484972
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x53121c], 0
jne 0x484ac5
cmp dword [0x531e9c], 0
jne 0x484ac5
call fcn.00484ac7
call fcn.00484e9f
cmp word [0x5046a8], 0
je 0x484ac5
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [0x530e08], edi
test esi, esi
je 0x484a74
cmp word [esi], di
je 0x484a74
push 0x208
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x208]
push esi
push 0x104
push eax
call fcn.0040c4d6
lea eax, [ebp - 0x208]
push 0x4d6680
push eax
call fcn.0049b0db
pop ecx
pop ecx
test eax, eax
je 0x484a1a
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.004a2eb4
pop ecx
jmp 0x484a1c
mov eax, edi
mov dword [0x530e0c], eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x484a5b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x484a5b
lea eax, [ebp - 0x208]
push eax
push 0x200
push 0x530e10
call fcn.0040c4d6
jmp 0x484a95
lea eax, [ebp - 0x208]
push eax
push 0x502b40
push 0x530e10
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x484a95
push 0x5046a8
push 0x502b40
push 0x530e10
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
movsx eax, byte [0x500dc3]
mov dword [0x530e0c], eax
push 0x530e04
push edi
push edi
push 0x484182
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
movsx ecx, byte [0x4f7bc0]
mov dword [0x530e00], eax
push dword [ecx*4 + 0x4fa3c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
leave
ret