joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
je 0x4316b5
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 8], 0
jne 0x4316bc
xor eax, eax
jmp 0x431814
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x4316e3
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x18], 1
jmp 0x4316ed
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x18], 2
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x18], 1
jne 0x43176e
push 0x2c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x40], 0x2c
mov dword [ebp - 0x3c], 6
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x43f9a0]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x43f9a4]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x43f9a8]
mov dword [ebp - 0x24], ecx
mov edx, dword [0x43f9ac]
mov dword [ebp - 0x20], edx
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xc], 0
jne 0x431769
xor eax, eax
jmp 0x431814
jmp 0x43180f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x14], eax
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x14]
push ecx
push 0x22240b
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4317c8
push 0
push 0x43fa24
push str.RegisterNotification_Failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x431814
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0x431620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x10], 0
je 0x43180f
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 2
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret 4
Function at 0x431830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov ecx, 0xa
mov esi, str.SoftwareAsusEeePC
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
push 0x78
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.00404a40
add esp, 0xc
mov ecx, dword [str.DetectTP]
mov dword [ebp - 0xe0], ecx
mov edx, dword [0x4409f0]
mov dword [ebp - 0xdc], edx
mov eax, dword [0x4409f4]
mov dword [ebp - 0xd8], eax
mov ecx, dword [0x4409f8]
mov dword [ebp - 0xd4], ecx
mov dx, word [0x4409fc]
mov word [ebp - 0xd0], dx
xor eax, eax
mov dword [ebp - 0xce], eax
mov dword [ebp - 0xca], eax
mov dword [ebp - 0xc6], eax
mov dword [ebp - 0xc2], eax
mov dword [ebp - 0xbe], eax
mov word [ebp - 0xba], ax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 1
lea ecx, [ebp - 0xac]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0xa8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x431912
xor eax, eax
jmp 0x431957
mov dword [ebp - 0xb4], 4
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x431955
mov eax, dword [ebp - 4]
jmp 0x431957
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x4328c0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], 0x80
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x88]
push eax
push 0
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x4329a6
cmp dword [ebp - 0x88], 0
jne 0x4329ab
jmp 0x432ac5
mov dword [ebp - 0xc0], 0
jmp 0x4329c6
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ebp - 0x88]
jae 0x432ac5
mov dword [ebp - 0x94], 0x3c
lea eax, [ebp - 0xb0]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x432a1c
jmp 0x4329b7
lea edx, [ebp - 0x84]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x432ac0
push str.DefaultSettings.XResolution
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 4
lea eax, [ebp - 0xbc]
push eax
push 4
push 0
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.DefaultSettings.YResolution
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 4
lea ecx, [ebp - 0xa8]
push ecx
push 4
push 0
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4329b7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x4331b0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov ecx, 0x17
mov esi, 0x440178
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x42
push 0
lea eax, [ebp - 0x4a]
push eax
call fcn.00404a40
add esp, 0xc
mov ecx, dword [str.PruningMode]
mov dword [ebp - 0xe0], ecx
mov edx, dword [0x4401dc]
mov dword [ebp - 0xdc], edx
mov eax, dword [0x4401e0]
mov dword [ebp - 0xd8], eax
mov ecx, dword [0x4401e4]
mov dword [ebp - 0xd4], ecx
mov edx, dword [0x4401e8]
mov dword [ebp - 0xd0], edx
mov eax, dword [0x4401ec]
mov dword [ebp - 0xcc], eax
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 1
lea edx, [ebp - 0xac]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0xa8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x433290
xor eax, eax
jmp 0x4332ff
cmp dword [ebp + 8], 0
je 0x4332c7
mov dword [ebp - 0xb4], 4
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4332ec
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xb0]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x433360
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], 1
push str.SoftwareAsusEeePCASUSACPI
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xf8]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov dword [ebp - 0xb0], 4
lea eax, [ebp - 0xac]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4333e9
xor eax, eax
jmp 0x433527
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x433514
movzx edx, word [ebp + 0xc]
cmp edx, 1
jne 0x4334bf
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4334b7
push 0x440164
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00405720
add esp, 8
test eax, eax
jne 0x433488
mov dword [ebp - 4], 1
jmp 0x43348f
mov dword [ebp - 4], 0
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
movzx ecx, word [ebp + 0xc]
cmp ecx, 2
jne 0x433507
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x433507
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret

Function at 0x433790
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
push str.E63DA112_3EDF_4565_A5C6_21F36EACF2D8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4464cc], eax
cmp dword [0x4464cc], 0
je 0x4337c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4337c9
xor eax, eax
jmp 0x4337ce
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x433a10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0x130], 0
push 0x7f
push 0
lea ecx, [ebp - 0x12f]
push ecx
call fcn.00404a40
add esp, 0xc
mov byte [ebp - 0xa0], 0
push 0x7f
push 0
lea edx, [ebp - 0x9f]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x134], 0
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x433ad4
xor eax, eax
jmp 0x433be5
lea ecx, [ebp - 0xa4]
push ecx
push 0x80
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDescriptionA]
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0xa8], 0
jmp 0x433b13
mov ecx, dword [ebp - 0xa8]
add ecx, 1
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x433bd2
push 0
push 0x80
lea edx, [ebp - 0xa0]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x433bc2
push 0x80
lea edx, [ebp - 0xa0]
push edx
call fcn.004051b0
add esp, 8
push 0x3c
mov eax, dword [ebp + 0xc]
push eax
call fcn.004051b0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00401000
add esp, 8
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0xac], 0
je 0x433bc2
mov dword [ebp - 0x13c], 1
jmp 0x433bd2
cmp dword [ebp - 0x13c], 0
je 0x433bcd
jmp 0x433bd2
jmp 0x433b04
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret

Function at 0x433d10
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
call fcn.00433310
push 0
mov eax, dword [0x4464c4]
push eax
push 0x433c80
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4464f8], eax
push 0
mov ecx, dword [0x4464c4]
push ecx
push 0x433c00
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4464fc], eax
cmp dword [0x4464f8], 0
je 0x433d5f
cmp dword [0x4464fc], 0
jne 0x433d63
xor eax, eax
jmp 0x433d68
mov eax, 1
pop ebp
ret
Function at 0x4341a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435864
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x444274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0
cmp dword [0x4464e4], 0
jne 0x4341e0
jmp 0x4342b5
cmp dword [0x4464e0], 0
je 0x434214
mov ecx, dword [0x4464e0]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x43420d
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00401110
mov dword [ebp - 0x28], eax
jmp 0x434214
mov dword [ebp - 0x28], 0
push 0x18
call fcn.00405790
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x434247
lea eax, [ebp - 0x14]
push eax
movzx ecx, word [0x4464ec]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00429c80
mov dword [ebp - 0x2c], eax
jmp 0x43424e
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [0x4464e0], eax
cmp dword [0x4464e0], 0
je 0x4342b5
movzx ecx, word [ebp - 0x14]
test ecx, ecx
je 0x4342b5
mov edx, dword [0x4464e0]
push edx
mov ecx, dword [0x4464e4]
call fcn.0042ca10
push str.dwData__g_pDispSwitch__GetCurrentDisplayConfig___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x4464e0]
call fcn.00429af0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
push 2
push str.DispConfig
call fcn.00433360
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x434f40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xa0
push 0
push 0x4463c0
call fcn.00404a40
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [0x4464c4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, 0xbe
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x72
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x72
push 0xbe
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x90000000
push 0x43fcdc
push 0x43fcfc
push 0x800a8
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4464c8], eax
cmp dword [0x4464c8], 0
jne 0x434fef
xor eax, eax
jmp 0x43507d
push 0
mov ecx, dword [0x4464c8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.AsusAcpiHotKeyEvent
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4464d8], eax
mov edx, dword [0x4464c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00434b70
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43502e
xor eax, eax
jmp 0x43507d
push 0
mov ecx, dword [0x4464c8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4464c8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 2
push 0xff
push 0
mov eax, dword [0x4464c8]
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
push 0x7530
push 0x3e8
mov ecx, dword [0x4464c8]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10001010
Capabilities:
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x100010b7
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001068
sub eax, edx
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 0
push 0x10010c2c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [str.screenpng.exe_00]
lea eax, [ebp - 0x18]
push 0
push eax
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x34
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100010cc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000aef0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000af1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000af1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x39385318
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x1f494684
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x43f147]
shl eax, 2
mov dword [0x43f14b], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00436450
pop edx
call fcn.004357ec
call fcn.00436454
push 0
call fcn.00437164
pop ecx
push 0x43f0f0
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x43f14f], eax
push 0
jmp fcn.0043c7f4

Function at 0x402f04
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, eax
push edi
mov dword [ebp - 4], edx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc18], edx
cmp byte [ebx + 0x16], 0
mov esi, ecx
je 0x402f27
mov al, 1
cmp byte [ebp + 8], 0
mov edi, 0x80000000
je 0x402f38
or edi, 0x40000000
mov dword [ebp - 8], 1
test al, al
je 0x402f47
or dword [ebp - 8], 2
cmp byte [ebx + 0x15], 0
je 0x402f51
xor eax, eax
jmp 0x402f56
mov eax, 0x8000000
mov dword [ebp - 0xc], eax
call fcn.0040b738
test eax, eax
je 0x402f83
test esi, esi
je 0x402f83
cmp word [esi], 0
je 0x402f83
push 0
push dword [ebp - 0xc]
push 3
push 0
push dword [ebp - 8]
push edi
push esi
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
jmp 0x402f9a
push 0
push dword [ebp - 0xc]
push 3
push 0
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
jne 0x402fb3
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x402fb3
mov dword [ebx + 0xc18], 1
xor edx, edx
cmp edi, 0xffffffff
mov byte [ebx + 0x12], 0
setne cl
mov dword [ebx + 0xc], edx
and ecx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 0xd], cl
cmp byte [ebp - 0xd], 0
je 0x403021
mov dword [ebx + 4], edi
test esi, esi
je 0x402fe8
lea eax, [ebx + 0x418]
mov edx, esi
call fcn.0040ae78
jmp 0x402ff1
mov word [ebx + 0x418], 0
cmp dword [ebp - 4], 0
je 0x403008
push dword [ebp - 4]
lea ecx, [ebx + 0x17]
push ecx
call fcn.00436704
add esp, 8
jmp 0x403017
lea edx, [ebx + 0x17]
mov ecx, 0x10000000
mov eax, esi
call fcn.0040adc4
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.00403138
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8