joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1a18d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0x1d5974
push 0x1d5984
push 0
push 0
call esi
push 0x1d7a68
push str.SHELLDLL_DefView
push 0
push eax
call esi
push 0x1d7a69
push str.SysListView32
push 0
push eax
call esi
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREIBMTPHOTKEYUltraZoomIcons
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a19fd
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
xor esi, esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
mov ebx, 4
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x1a19f0
nop
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push 0x1d59d8
push edx
call fcn.001a7cb8
movzx eax, word [esp + 0x2e]
movzx ecx, word [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0xc
shl eax, 0x10
or eax, ecx
push eax
push edx
push 0x100f
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x34], ebx
call edi
test eax, eax
je 0x1a1980
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
xor ecx, esp
call fcn.001a771a
add esp, 0x28
ret

Function at 0x1a1a10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x14]
push 0x1d5a90
push ecx
mov dword [esp + 0x10], 0
call fcn.001a7a91
add esp, 0xc
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.001a771a
add esp, 0x1c
ret

Function at 0x1a1a90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0xc]
push str._08X
push edx
mov dword [esp + 0x10], eax
call fcn.001a7a91
mov edx, dword [esi]
add esp, 0xc
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.001a771a
add esp, 0x14
ret
Function at 0x1a1b70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x54
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, dword [esp + 0x60]
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
je 0x1a1cff
push ebp
push edi
lea edi, [ebx + 1]
mov dword [esp + 0x20], edi
cmp edi, eax
jae 0x1a1cf3
push ebx
lea edx, [esp + 0x34]
push 0x1d5a90
push edx
mov dword [esi + 4], ebx
mov dword [esp + 0x20], 0
call fcn.001a7a91
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
mov eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x34]
push edx
push 0
lea eax, [esp + 0x40]
push eax
push ecx
call ebp
push edi
lea edx, [esp + 0x4c]
push 0x1d5a90
push edx
mov dword [esi + 4], edi
mov dword [esp + 0x1c], 0
call fcn.001a7a91
add esp, 0xc
mov eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x2c]
push edx
push 0
lea eax, [esp + 0x58]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x10]
mov ebp, eax
test eax, eax
je 0x1a1c74
cmp eax, dword [esp + 0x14]
je 0x1a1c7a
push 3
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x1a1c61
cmp eax, dword [esp + 0x14]
jne 0x1a1ce2
push ebx
lea edx, [esp + 0x40]
push str._08X
push edx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebp
call fcn.001a7a91
mov edx, dword [esi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x58]
push str._08X
push ecx
mov dword [esi + 4], edi
mov dword [esp + 0x1c], eax
call fcn.001a7a91
mov ecx, dword [esi]
add esp, 0xc
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
lea eax, [esp + 0x64]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jb 0x1a1bc5
mov edi, dword [esp + 0x20]
mov ebx, edi
cmp ebx, eax
jb 0x1a1bb6
pop edi
pop ebp
mov ecx, dword [esp + 0x58]
mov dword [esi + 4], eax
pop esi
pop ebx
xor ecx, esp
call fcn.001a771a
add esp, 0x54
ret
Function at 0x1a1de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
xor ebp, ebp
push ebp
lea eax, [esp + 0x14]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push 0x1d5acc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1a1ec1
push ebx
push esi
push edi
push ebp
lea ecx, [esp + 0x28]
push 0x1d5a90
push ecx
xor esi, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
call fcn.001a7a91
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
mov ebx, 4
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1a1ebe
nop
push eax
call fcn.001a1d20
inc esi
push esi
lea ecx, [esp + 0x2c]
push 0x1d5a90
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], ebp
call fcn.001a7a91
add esp, 0x10
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x1a1e70
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
call fcn.001a771a
add esp, 0x24
ret
Function at 0x1a1ee0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x58
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x54], eax
push edi
lea eax, [esp + 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1d5af4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a2083
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x5c]
push 0x1d5a90
xor ebx, ebx
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], edi
call fcn.001a7a91
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x68]
push edx
mov esi, 4
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
mov ebp, eax
cmp eax, edi
je 0x1a2080
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1a2028
mov ecx, dword [str.SOFTWAREIBMTPHOTKEYUltraZoomWndsxxxxxxxx]
push ebp
push 0x1d5b1c
push ecx
call fcn.001a7a91
add esp, 0xc
mov esi, 1
lea esp, [esp]
push 0
push esi
push 0x1d5a40
call fcn.001a1240
inc esi
add esp, 0xc
or edi, eax
cmp esi, 5
jb 0x1a1fa0
test edi, edi
jne 0x1a2023
mov edx, dword [0x1d5a5c]
mov esi, dword [edx]
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 0x28], esi
jne 0x1a2023
mov ecx, dword [0x1d5a7c]
lea ebx, [edi + 9]
cmp dword [ecx], edi
je 0x1a1fe6
lea ebx, [edi + 3]
mov edx, dword [0x1d5a8c]
cmp dword [edx], 0
je 0x1a1ff6
mov ebx, 6
mov esi, dword [0x1d5a6c]
lea eax, [esp + 0x2c]
push eax
mov ecx, 0xb
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
push ebp
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push ebx
push ebp
call dword [sym.imp.USER32.dll_ShowWindowAsync]
mov ebx, dword [esp + 0x1c]
mov esi, 4
inc ebx
push ebx
lea ecx, [esp + 0x5c]
push 0x1d5a90
xor edi, edi
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], edi
call fcn.001a7a91
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
mov ebp, eax
cmp eax, edi
jne 0x1a1f73
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1d5b48
push 0x80000001
call fcn.001a5730
mov ecx, dword [esp + 0x60]
add esp, 8
pop edi
xor ecx, esp
call fcn.001a771a
add esp, 0x58
ret
Function at 0x1a2340
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push esi
push 0x1d5bc4
push 0x80000001
xor esi, esi
call fcn.001a5800
add esp, 8
lea eax, [esp + 4]
push eax
push 0x1d5bec
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1a23a2
lea ecx, [esp + 4]
push ecx
push 0x1a1af0
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea edx, [esp + 4]
push edx
call fcn.001a1b70
dec dword [esp + 0xc]
lea eax, [esp + 8]
push eax
call fcn.001a1a10
add esp, 8
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x1a37d0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa4
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
push 0x8c
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0x94
mov dword [esp + 0x20], 0
call fcn.001a76a0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 5
jne 0x1a3833
cmp dword [esp + 0x18], esi
je 0x1a3838
mov esi, 0x100
lea edx, [esp + 8]
push edx
or esi, 0x20019
push esi
push 0
push 0x1d600c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
test eax, eax
jne 0x1a3884
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0
push str.TVTTEST
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0
je 0x1a38a4
mov eax, 1
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.001a771a
add esp, 0xa4
ret
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
cmp eax, 1
setg cl
mov eax, ecx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.001a771a
add esp, 0xa4
ret
Function at 0x1a39b0
Capabilities:
Create process on windows
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x170
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x34
lea eax, [esp + 0x44]
push ebx
push eax
mov dword [esp + 0x44], 0x3c
mov dword [esp + 0x48], ebx
call fcn.001a76a0
push 0x103
lea ecx, [esp + 0x85]
push ebx
push ecx
mov byte [esp + 0x8c], bl
call fcn.001a76a0
add esp, 0x18
xor eax, eax
push 0x104
lea edx, [esp + 0x78]
push edx
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.001a8130
mov ecx, dword [str._tpfnspce.exe]
mov dword [eax], ecx
mov edx, dword [0x1d6050]
mov dword [eax + 4], edx
mov ecx, dword [0x1d6054]
mov dword [eax + 8], ecx
mov dx, word [0x1d6058]
mov word [eax + 0xc], dx
add esp, 8
lea ecx, [esp + 0x38]
lea eax, [esp + 0x74]
push ecx
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [esp + 0x70]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x7c]
push eax
push 1
call esi
cmp eax, ebx
je 0x1a3ae8
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, 1
jne 0x1a3ad3
push ebx
push 0x8010
push 0x8010
push ebx
lea ecx, [esp + 0x2c]
push ecx
call edi
test eax, eax
jne 0x1a3af1
push 0x4ff
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x7c]
push edx
push 1
call esi
cmp eax, ebx
jne 0x1a3ab7
cmp eax, 1
jne 0x1a3b78
cmp dword [esp + 0x20], 0x8010
jne 0x1a3b78
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x1d605c
push 0x80000001
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1a3b51
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push str.FnSpaceNotificationHWND
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x1a3b78
push ebx
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x70]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x178]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.001a771a
add esp, 0x170
ret
Function at 0x1a3bb0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
mov esi, dword [esp + 0x14]
cmp esi, eax
je 0x1a3c50
push ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x1a3c23
lea eax, [esp + 0xc]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
push esi
mov edi, eax
call ebx
mov edx, dword [esp + 0xc]
mov ebx, eax
cmp edx, dword [esp + 0x10]
je 0x1a3c3d
push ebp
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test ebp, ebp
mov dword [esp + 0x1c], eax
pop ebp
je 0x1a3c48
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x1a3c48
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x10
call edi
push 0
push 2
push 0
push 0x10
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
pop ebx
je 0x1a3c66
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
test eax, eax
je 0x1a3c66
pop edi
mov eax, 1
pop esi
add esp, 8
ret
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x1a5360
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push str.Wow64EnableWow64FsRedirection
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1a5387
push edi
call ebx
mov edi, eax
cmp dword [esp + 0x10], 0
mov eax, str._start
jne 0x1a5398
mov eax, str._stop
push 1
push 0
push eax
push str.presentationsettings.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb esi, esi
neg esi
test edi, edi
je 0x1a53bf
push 1
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1a53d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
mov ebp, dword [esp + 0x120]
push 0xff
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.001a76a0
add esp, 0xc
xor ecx, ecx
lea edx, [esp + 8]
push edx
test ebp, ebp
push 0xf003f
setne cl
push 0
push str.SoftwareMicrosoftOffice
push 0x80000001
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a5564
mov edx, dword [esp + 8]
push eax
push eax
push eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1a5559
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push edi
lea esp, [esp]
mov eax, str.PowerPointOptions
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1a5477
lea edi, [esp + 0x24]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1a5485
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
push eax
and ecx, 3
push 0xf003f
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a551f
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x1d64a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1a54ec
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push str.UseMonMgr
push edx
call ebx
cmp dword [esp + 0x20], 0
je 0x1a5514
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1a54f8
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push 1
push 0
push str.DisplayMonitor
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x38]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1a5470
pop edi
pop esi
pop ebx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x118]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.001a771a
add esp, 0x118
ret
Function at 0x1a5580
Capabilities:
Check os version
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
push 0x8c
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x24], 0x94
mov dword [esp + 0x28], 0
call fcn.001a76a0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 5
jne 0x1a55d3
cmp dword [esp + 0x20], esi
je 0x1a55d8
mov esi, 0x100
lea edx, [esp + 0xc]
push edx
or esi, 0x20019
push esi
push 0
push str.SOFTWAREIBMTPHOTKEYUltraZoomDisApp
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a5714
push edi
push eax
push eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, dword [esp + 0xc]
cmp edi, dword [0x1d7ccc]
jbe 0x1a569f
mov eax, dword [0x1d7cd4]
test eax, eax
je 0x1a5653
push eax
call fcn.001a8230
mov edi, dword [esp + 0x10]
add esp, 4
mov dword [0x1d7cd4], 0
mov eax, dword [0x1d7cd0]
test eax, eax
je 0x1a5669
push eax
call fcn.001a8230
mov edi, dword [esp + 0x10]
add esp, 4
lea esi, [edi + 0xa]
lea ecx, [esi*8]
push ecx
mov dword [0x1d7cc8], edi
mov dword [0x1d7ccc], esi
call fcn.001a819c
imul esi, dword [esp + 0xc]
push esi
mov dword [0x1d7cd4], eax
call fcn.001a819c
add esp, 8
mov dword [0x1d7cd0], eax
jmp 0x1a56a5
mov dword [0x1d7cc8], edi
xor esi, esi
test edi, edi
jle 0x1a5708
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [0x1d7cd4]
mov edx, esi
imul edx, dword [esp + 8]
add edx, dword [0x1d7cd0]
mov dword [eax + esi*8 + 4], edx
mov ecx, dword [esp + 8]
mov eax, dword [0x1d7cd4]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x18], 0x100
mov ecx, dword [eax + esi*8 + 4]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xc4]
push eax
push esi
push ecx
call edi
inc esi
cmp esi, dword [0x1d7cc8]
jl 0x1a56b1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [esp + 0x1ac]
pop esi
xor ecx, esp
call fcn.001a771a
add esp, 0x1ac
ret
Function at 0x1a5730
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x11c]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a57d4
push esi
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [esp + 0x10]
dec esi
js 0x1a57c8
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x1a57a0
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.001a5730
add esp, 8
dec esi
jns 0x1a57a0
pop edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test ebx, ebx
je 0x1a57e0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x114]
pop ebp
pop ebx
xor ecx, esp
call fcn.001a771a
add esp, 0x110
ret

Function at 0x1a5800
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x110], eax
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
lea edx, [esp]
push edx
push 0xf003f
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a58af
push esi
push eax
mov ecx, dword [esp + 8]
push eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [esp + 8]
dec esi
js 0x1a58a3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
nop
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push ecx
mov dword [esp + 0x34], 0x104
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
dec esi
jns 0x1a5870
pop edi
pop ebx
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.001a771a
add esp, 0x114
ret