joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba40
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0xf24
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0xf1c], eax
cmp word [esp + 0xf28], 0x1a
mov eax, dword [esp + 0xf2c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
ja 0x40bbf8
test eax, eax
je 0x40bbf8
lea eax, [esp + 0x520]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40bbf8
push str.My_Music.Asx
lea ecx, [esp + 0x524]
push ecx
lea edx, [esp + 0x120]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bbf8
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str._Asx_Version___3.0____r_n_Param_Name___Name__Value___Virtual_Playlist_____r_n_Param_Name___AllowShuffle__Value___yes_____r_n
lea ecx, [esp + 0x72c]
push ecx
call ebp
lea edx, [esp + 0x728]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x728]
push eax
mov ecx, eax
push ecx
mov ebx, 0x400
call fcn.0040b2b0
add esp, 8
push 0
lea edx, [esp + 0x14]
push edx
mov edi, eax
push edi
lea eax, [esp + 0x734]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40bbf1
cmp dword [esp + 0x10], edi
jne 0x40bbf1
movzx ecx, word [esp + 0xf38]
add ecx, 0x41
push ecx
lea edx, [esp + 0x31c]
push str._c:_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x324]
push esi
push eax
call fcn.0040b7c0
add esp, 0x14
test eax, eax
je 0x40bb91
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x118]
push ecx
push edx
call ebp
push str.__Asx__r_n
lea eax, [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
push edx
mov eax, edx
push eax
mov ebx, 0x80
mov dword [esp + 0x18], 0
call fcn.0040b2b0
add esp, 8
push 0
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
push edi
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40bbf1
cmp edi, dword [esp + 0x10]
jne 0x40bbf1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x7f]
jmp 0x40bbfa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0xf2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0xf24
ret
Function at 0x40d300
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
je 0x40d379
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40d379
or edi, 0x4000
push edi
push 0x2b4
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
test esi, esi
je 0x40d379
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test eax, eax
jle 0x40d379
mov ecx, dword [esp + 0xc]
push 1
push ecx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
pop edi
pop esi
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.00457c10
add esp, 0x2b8
ret
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x2b8
ret
Function at 0x40dd30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x250
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x24c], eax
test ebx, ebx
jne 0x40dd5f
xor eax, eax
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00457c10
add esp, 0x250
ret
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftMediaPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40de57
mov esi, dword [esp + 4]
test esi, esi
je 0x40de57
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x52]
push edx
mov word [esp + 0x54], cx
call fcn.0045acf0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Installation_Directory
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ddf1
sub eax, edx
sar eax, 1
je 0x40de57
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x48c418
lea ecx, [esp + 0x4c]
push ecx
call esi
push str.wmplayer.exe
lea edx, [esp + 0x4c]
push edx
call esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x4c]
call fcn.0040deb0
test eax, eax
je 0x40de3c
mov ecx, dword [esp + 0x1c]
shr ecx, 0x10
mov word [ebx], cx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00457c10
add esp, 0x250
ret
mov ecx, dword [esp + 0x250]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x250
ret
Function at 0x40df50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4743d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
push 0x34
push 0
push eax
call fcn.0045acf0
add esp, 0xc
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x40df9a
mov eax, dword [esi]
jmp 0x40df9c
mov eax, esi
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40e050
push ebx
call fcn.0045720e
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40e050
mov dword [ebp - 4], 0
cmp dword [edi + 0x18], 8
jb 0x40dfd3
mov esi, dword [esi]
mov edx, dword [ebp - 0x1c]
push eax
push ebx
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40dff8
push 0x4951a8
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], str.StringFileVersion____Init____GetFileVersionInfo___failed_n
call fcn.0045d3cb
lea ecx, [ebp - 0x14]
push ecx
xor eax, eax
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
push 0x48e6a4
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x40e02f
push 0x4951a8
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 0x48e6a8
call fcn.0045d3cb
cmp dword [ebp - 0x14], 0x34
je 0x40e066
push 0x4951a8
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], str.StringFileVersion____Init____VerQueryValue___failed__size_not_equal__n
call fcn.0045d3cb
mov eax, 0x40e050
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push 0x34
push eax
push ecx
call fcn.0045c040
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e4e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push edi
mov edi, ecx
mov dword [esp + 4], eax
mov byte [esp + 0x10], 0x60
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x62
mov byte [esp + 0x13], 0x63
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], 0x66
mov byte [esp + 0x17], 0x67
mov byte [esp + 0x18], 0x68
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1c], 0x52
mov byte [esp + 0x1d], 0x4f
mov byte [esp + 0x1e], 0x50
mov byte [esp + 0x1f], 0x51
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x4d
mov byte [esp + 0x23], 0x47
mov byte [esp + 0x24], 0x48
mov byte [esp + 0x25], 0x49
cmp edi, 0x9100
jb 0x40e5cb
cmp edi, 0x9109
ja 0x40e5cb
mov dl, byte [esp + edi - 0x90e4]
mov cl, byte [esp + edi - 0x90f0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x18], dl
mov ebx, dword [esp + 0x18]
push 0
mov byte [esp + 0x20], cl
mov ebp, dword [esp + 0x20]
push ebx
push ebp
call esi
push 0
push 2
push ebx
push ebp
call esi
mov esi, dword [esp + 0x10]
add edi, 0xffff6f46
call fcn.0040ee20
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00457c10
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x28
ret

Function at 0x40e6d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x13c
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
push 0x114
lea eax, [esp + 0x24]
push 0
push eax
mov esi, ecx
call fcn.0045acf0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x30]
sub eax, 1
je 0x40e7e2
sub eax, 1
je 0x40e73a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00457c10
add esp, 0x13c
ret
cmp dword [esp + 0x24], 5
jb 0x40e7fc
mov edi, 0x34
call fcn.0040ee20
mov esi, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
push 1
call esi
test eax, eax
jne 0x40e7c6
mov edi, 2
cmp dword [esp + 0x30], edi
jne 0x40e7c0
lea edx, [esp + 0xc]
push edx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40e721
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40e721
push 0
push 1
call esi
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00457c10
add esp, 0x13c
ret
mov eax, dword [esp + 0x24]
cmp eax, 4
jb 0x40e7fc
jne 0x40e745
cmp dword [esp + 0x28], 0
jne 0x40e745
mov edi, 0x1f
call fcn.0040ee20
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteScreenSaver]
jmp 0x40e7c6
Function at 0x411d40
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x220
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
push 0x1fe
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x32]
mov ebx, edx
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x38], ax
call fcn.0045acf0
add esp, 0xc
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], 0x2c
cmp esi, ebp
je 0x411f39
cmp ebx, ebp
je 0x411f39
cmp edi, ebp
je 0x411f39
cmp dword [edi], ebp
jne 0x411f39
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov dword [ebx], ebp
call edi
test eax, eax
je 0x411f32
cmp word [esi], 0x5b
jne 0x411f39
push esi
call edi
cmp word [esi + eax*2 - 2], 0x5d
jne 0x411f39
push esi
call edi
sub eax, 2
push eax
add esi, 2
push esi
lea edx, [esp + 0x34]
push 0x100
push edx
call fcn.00458c1b
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x411f32
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
xor esi, esi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call fcn.004587c6
add esp, 0xc
cmp eax, esi
je 0x411f26
push 0x10
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00458b47
mov bl, al
add esp, 0xc
cmp bl, 0xe0
je 0x411ef7
cmp bl, 0xe1
je 0x411ef7
mov edi, dword [esp + 0x10]
add edi, edi
add edi, edi
add edi, edi
lea edx, [edi + 8]
push edx
call fcn.0045804f
mov esi, eax
add esp, 4
test esi, esi
je 0x411f22
cmp dword [esp + 0x10], 0
je 0x411e90
push edi
push ebp
push esi
call fcn.0045c040
push ebp
call fcn.00458119
add esp, 0x10
lea ebp, [edi + esi + 4]
test bl, bl
js 0x411ea1
mov dword [ebp], 0
jmp 0x411eab
mov dword [ebp], 2
and bl, 0x7f
cmp bl, 0x5b
jb 0x411ebf
cmp bl, 0x5d
jbe 0x411eba
cmp bl, 0x5f
jne 0x411ebf
mov byte [edi + esi], bl
jmp 0x411ece
movzx eax, bl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [edi + esi], al
cmp dword [esp + 0x14], 0
mov byte [edi + esi + 1], bl
je 0x411edd
or dword [ebp], 1
inc dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
mov ebp, esi
mov dword [esp + 0x18], 0
push edx
jmp 0x411f10
cmp dword [esp + 0x14], 0
jne 0x411f22
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 1
push ecx
push 0
call fcn.004587c6
add esp, 0xc
test eax, eax
jne 0x411e34
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [ebx], edx
mov dword [eax], ebp
mov eax, 1
jmp 0x411f3b
xor eax, eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0x220
ret
Function at 0x411fd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x204
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
push 0
push str.eHome_Render_Window
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x412057
push 0x1fe
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.0045acf0
add esp, 0xc
push 0x100
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.ehomeehshell.exe
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push esi
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteCommandW]
add esp, 0x10
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00457c10
add esp, 0x204
ret
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x412068
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
call fcn.00457c10
add esp, 0x204
ret

Function at 0x412290
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x38
push 0x12
call esi
push 0
push 0
push 0x52
push 0x60
call esi
push 0
push 2
push 0x52
push 0x60
call esi
push 0
push 0
push 0x4f
push 0x61
call esi
push 0
push 2
push 0x4f
push 0x61
call esi
push 0
push 0
push 0x50
push 0x62
call esi
push 0
push 2
push 0x50
push 0x62
call esi
push 0
push 0
push 0x48
push 0x68
call esi
push 0
push 2
push 0x48
push 0x68
call esi
push 0
push 2
push 0x38
push 0x12
call esi
pop esi
ret
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x38
push 0x12
call esi
push 0
push 0
push 0x52
push 0x60
call esi
push 0
push 2
push 0x52
push 0x60
call esi
push 0
push 0
push 0x4f
push 0x61
call esi
push 0
push 2
push 0x4f
push 0x61
call esi
push 0
push 0
push 0x51
push 0x63
call esi
push 0
push 2
push 0x51
push 0x63
call esi
push 0
push 0
push 0x4d
push 0x66
call esi
push 0
push 2
push 0x4d
push 0x66
call esi
push 0
push 2
push 0x38
push 0x12
call esi
pop esi
ret
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0x38
push 0x12
call esi
push 0
push 0
push 0x52
push 0x60
call esi
push 0
push 2
push 0x52
push 0x60
call esi
push 0
push 0
push 0x52
push 0x60
call esi
push 0
push 2
push 0x52
push 0x60
call esi
push 0
push 0
push 0x51
push 0x63
call esi
push 0
push 2
push 0x51
push 0x63
call esi
push 0
push 0
push 0x4d
push 0x66
call esi
push 0
push 2
push 0x4d
push 0x66
call esi
push 0
push 2
push 0x38
push 0x12
call esi
pop esi
ret
sub eax, 0xf508
je 0x4122a1
sub eax, 1
jne 0x4122cb
jmp 0x412220
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and eax, 0x3ff
cmp eax, 0x19
jne 0x4122c6
jmp 0x4121b0
jmp 0x412140
ret
Function at 0x416240
Capabilities:
Get token membership

Disassembly:
sub esp, 0x1c
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 8]
push ecx
push 0xf01ff
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4162a1
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push 2
push 2
push ebx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4162b3
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00457c10
add esp, 0x1c
ret
mov edx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x222
push 0x20
push 2
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 5
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x416329
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x416343
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 8]
push eax
call esi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00457c10
add esp, 0x1c
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x14], ebx
push ecx
setne al
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edx, dword [esp + 8]
push edx
call esi
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00457c10
add esp, 0x1c
ret
Function at 0x419580
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push str.InterVideo_WinDVD
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4195b3
push eax
push 0x4194a0
mov dword [0x4a4448], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x4a4448]
mov ebp, eax
test eax, eax
jne 0x4195ba
mov eax, 0x200
pop ebp
ret
mov ecx, dword [esp + 8]
dec ecx
push ebx
push esi
cmp ecx, 0x7f
ja case.0x4195d7.9
movzx ecx, byte [ecx + 0x4196ec]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jmp dword [ecx*4 + 0x4196c8]
mov esi, 0x8004
jmp 0x41964a
mov esi, 0x8008
jmp 0x41964a
push 0x8008
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov esi, eax
neg esi
sbb esi, esi
and esi, 4
add esi, 0x8004
jmp 0x41964a
mov esi, 0x8003
jmp 0x41964a
push 0x8005
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindowEnabled]
push eax
call esi
test eax, eax
je case.0x4195d7.5
push 0x8008
push ebp
call ebx
push eax
call esi
test eax, eax
je case.0x4195d7.5
mov esi, 0x8005
jmp 0x41964a
mov esi, 0x8009
jmp 0x41964a
mov esi, 0x800a
push esi
push ebp
call ebx
test eax, eax
jne 0x41965b
pop esi
pop ebx
mov eax, 0x200
pop ebp
ret
lea eax, [esi - 0x8003]
push edi
cmp eax, 7
ja case.0x419667.32774
jmp dword [eax*4 + 0x41976c]
mov edi, 0x101
jmp 0x419696
mov edi, 0x102
jmp 0x419696
mov edi, 0x108
jmp 0x419696
mov edi, 0x140
jmp 0x419696
mov edi, 0x180
jmp 0x419696
mov edi, 0x110
push esi
push ebp
call ebx
push eax
movzx edx, si
push edx
push 0x111
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
mov eax, 0x200
pop ebp
ret
pop esi
pop ebx
mov eax, 0xa00
pop ebp
ret
Function at 0x41a6e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a4460]
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41a6ff
push eax
push 0
call edi
mov dword [0x4a4460], 0
cmp dword [0x4a4458], 0
je 0x41a738
mov ecx, dword [0x4a4720]
sub ecx, dword [0x4a471c]
mov eax, dword [0x4a4468]
sar ecx, 5
inc eax
dec ecx
mov dword [0x4a4468], eax
cmp eax, ecx
jbe 0x41a731
mov dword [0x4a4468], 0
call fcn.0041a1e0
jmp 0x41a786
mov edx, dword [0x4a3fcc]
push 0
push 0x41a650
push 0
push 0x76
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4a4458], eax
test eax, eax
jne 0x41a75b
pop edi
ret
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4a4458]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x4a445c], 1
mov eax, dword [0x4a4460]
test eax, eax
je 0x41a794
push eax
push 0
call edi
push 0x41a280
push 0x3e8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4a4460], eax
mov eax, 1
pop edi
ret
Function at 0x41c2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c34e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x41c31f
cmp eax, 2
jne 0x41c33a
mov eax, dword [esp]
test esi, esi
je 0x41c348
test eax, eax
je 0x41c343
test al, 1
jne 0x41c33a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41c348
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x41c7a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp ebp, 0x11
je 0x41c7af
cmp ebp, 0x10
jne 0x41c7b6
cmp dword [esp + 0xc], 0
jne 0x41c7ba
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x41c7b6
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
test esi, esi
jne 0x41c7d7
pop esi
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
test edi, edi
jne 0x41c7e8
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push edi
push esi
call ebx
test eax, eax
je 0x41c819
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
push 0
movzx eax, ax
push edi
push esi
mov dword [esp + 0x20], eax
call ebx
test eax, eax
jne 0x41c820
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov cx, word [esp + 0x14]
mov eax, 0xf
lea ebx, [ebx]
sar cx, 1
sub eax, 1
jne 0x41c830
mov edx, dword [esp + 0x18]
pop ebx
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x10]
pop edi
and ecx, 1
pop esi
mov dword [edx], ecx
mov eax, 1
pop ebp
ret
Function at 0x41cd50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push edi
xor eax, eax
push 0x1fe
mov edi, ecx
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.0045acf0
add esp, 0xc
test edi, edi
je 0x41ce8b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41ce8b
push 0x100
lea edx, [esp + 0x64]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41ce00
lea eax, [esp + 0x60]
push 0x5c
push eax
call fcn.004590d2
add esp, 8
test eax, eax
je 0x41ce00
push 0x489d50
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x489d54
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x489d58
lea edx, [esp + 0x64]
push edx
call esi
push 0x489d7c
lea eax, [esp + 0x64]
push eax
call esi
push edi
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x40
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0045acf0
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x41ce72
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00457c10
add esp, 0x264
ret
mov ecx, dword [esp + 0x264]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x264
ret