joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ae92
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov esi, ecx
jne 0x100aebb
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov eax, dword [eax + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
and eax, 0xf
mov ecx, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add ecx, 8
push ecx
push eax
push 0x421
push dword [esi + 0x20]
call ebx
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
test byte [eax + 0x28c], 0x10
jne 0x100af06
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [ebp + 0xc]
cmp eax, 0x1388
jb 0x100af06
call edi
push 0x100afa8
mov dword [ebp - 4], eax
call fcn.0100ad26
mov ecx, esi
call fcn.01007b80
mov ecx, 0x10460d8
call fcn.0100aa97
push 0xb
pop ecx
xor eax, eax
mov dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
add eax, 0x88
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x439
push dword [esi + 0x20]
mov dword [ebp - 0x34], 0x30
call ebx
xor edi, edi
inc edi
push 0
mov ecx, esi
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
call fcn.0100a9cb
lea eax, [ebp - 0x34]
push eax
push edi
push 0x411
push dword [esi + 0x20]
call ebx
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push dword [eax + 0x288]
mov ecx, esi
push 0x43e
push 2
call fcn.01007c50
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100c93a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp word [eax + 0xc], 0x71
push edi
mov edi, ecx
je 0x1028fe8
xor eax, eax
pop edi
pop ebp
ret 4
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x1029023
push 0x11
call esi
test ax, ax
jl 0x1029023
push 0x12
call esi
test ax, ax
jl 0x1029023
test byte [edi + 0x48], 8
je 0x1029023
mov ecx, edi
call fcn.0101e7eb
test eax, eax
jl 0x1029023
push eax
mov ecx, edi
call fcn.0103fad6
pop esi
jmp 0x100c950
Function at 0x100f081
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [eax], ebx
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1028cd3
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x100f110
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x100bbe8
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1028cda
mov ecx, edi
call fcn.0100f136
test eax, eax
mov dword [ebp + 8], eax
je 0x100f110
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1028ceb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
je 0x100f7b4
cmp esi, 1
jne 0x100f128
test byte [edi + 0xc], 0x10
jne 0x1028cfb
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4
test byte [edi + 0xc], 8
je 0x1028cf3
jmp 0x100f128
xor eax, eax
jmp 0x100f12b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x100f110
mov esi, dword [ebp - 4]
jmp 0x100f107
xor esi, esi
inc esi
jmp 0x100f128
push 2
pop esi
jmp 0x100f128

Function at 0x100f1b5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
push esi
xor edi, edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x100f239
lea eax, [ebp - 8]
push eax
push 0x100d34c
push esi
push dword [ebp - 0xc]
push esi
call fcn.0100baf1
test eax, eax
jl 0x100f230
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x60
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100f227
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x100f34c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, dword [ebp + 0x10]
pop edi
sbb eax, eax
inc eax
pop esi
leave
ret 0xc
cmp dword [ebp + 0xc], esi
je 0x100f377
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0100f37f
test eax, eax
jne 0x100f377
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHFree]
cmp edi, dword [ebp + 0x10]
jae 0x100f21e
jmp 0x100f203
inc edi
jmp 0x100f360
Function at 0x100f967
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0100f9f9
test eax, eax
je 0x1010035
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1010035
call fcn.0100e12b
test eax, eax
je 0x102572d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x1010047
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0100fb66
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.01030021
pop esi
ret

Function at 0x100f9f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100fa48
push 0x100bbe8
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100e12b
test eax, eax
je 0x102570c
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x1025725
dec eax
jne 0x102571e
mov ecx, esi
call fcn.0100fb66
xor eax, eax
jmp 0x100fa45
xor eax, eax
inc eax
jmp 0x100fa45
Function at 0x10106c1
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x101076e
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x101076e
push edi
push 0x20
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x101076d
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01004cfc
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x101077c
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01007284
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jne 0x1026188
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b01
leave
ret
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01004cfc
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01008c55
test byte [ebp - 0x86c], 0x10
je 0x10261de
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x102620b
push 0x1026230
push 5
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x1032daf
push 0x14
push dword [0x10460c0]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x1026221
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1026188
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x101076d
Function at 0x1010884
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x1d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x10109b4
cmp dword [edi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
je 0x10109b4
push 0x222
push esi
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x10109b4
push 0x40000073
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10109b4
push ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov ebx, 0x1010a94
push ebx
mov edi, 0x1010a08
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1025252
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x20019
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x10109b3
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10109f8
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
je 0x10109bb
push 0x3c
pop ebx
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10109cc
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x10109c2
mov ecx, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.01010ab7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x10109aa
mov dword [ebp - 0xc], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
cmp dword [ebp - 8], esi
jne 0x10109a7
jmp 0x1010965
mov ebx, dword [ebp - 8]
cmp ebx, esi
jle 0x10109aa
jmp 0x1010984
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1025330
push 0x10252b8
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x102528e
cmp dword [ebp - 8], esi
je 0x102528e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x10252a0
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffe2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.01010ab7
push 2
push 8
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x1010927
Function at 0x1012905
Capabilities:
Query or enumerate registry value

Disassembly:
mov esi, dword [esi + 0xe4]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x101296a
push edi
push edi
push edi
push edi
push 0x10128e8
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
mov edi, eax
neg edi
sbb edi, edi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101296a
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xec]
xor edi, edi
xor ebx, ebx
cmp dword [eax], edi
jle 0x101294f
push ebx
push eax
call dword [fcn.01004e80]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1016fe2
mov eax, dword [esi + 0xec]
inc ebx
cmp ebx, dword [eax]
jl 0x101292a
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax]
push edi
push edi
push dword [ebp + 8]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x10128a2
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x101296c
Function at 0x1012ba6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
xor ebx, ebx
push 0x40000047
mov dword [ebp - 4], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1012c9c
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
jne 0x1012c9c
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 1
push ebx
push 0x1012cc8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1012c9c
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x1012cb8
push ebx
push dword [ebp - 0x208]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x1fe
call esi
test eax, eax
jne 0x1012c5a
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
jne 0x1012c5a
push 7
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01012d37
test eax, eax
jne 0x1022820
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x1012cb0
push ebx
push dword [ebp - 0x208]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x1fe
call esi
test eax, eax
je 0x102282f
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
pop ebx
call fcn.01001b01
leave
ret
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
jmp 0x1012c5a
xor esi, esi
inc esi
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
jne 0x1012c8f
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01012d37
test eax, eax
je 0x1012c8f
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
jmp 0x1012c8f
Function at 0x1012d37
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
xor edi, edi
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1012db2
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
push esi
call fcn.01010dd4
test eax, eax
jne 0x1012db1
cmp word [ebx], di
mov esi, ebx
jne 0x1022781
cmp word [esi], di
jne 0x1012dc6
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10227ab
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
lea ebx, [esi + 2]
je 0x1012d74
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
pop edi
pop ebx
call fcn.01001b01
leave
ret 8
mov word [esi], di
jmp 0x1012d97
mov ax, word [esi]
cmp ax, 0x20
je 0x1012d88
cmp ax, 0x2c
je 0x1012d88
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
jne 0x1022781
jmp 0x1012d88
push 0xe
xor eax, eax
pop ecx
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x3c
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x102280f
push ebx
push 0x1030
push 0x20c
push 0x203
push eax
push dword [0x10460c0]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x1022819
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
xor edi, edi
jmp 0x1012da6

Function at 0x101342d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1010e63
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1013455
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10149ee
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
and dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xe
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
push 0x43
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
mov esi, 0x106
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Ordinal_653]
cmp eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x102316e
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x1023189
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x3c
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x40
je 0x1014a9f
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x440
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1014ade
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x1014acd
cmp dword [ebp + 0x10], edi
jne 0x1023192
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 0xc
xor eax, eax
jmp 0x1014acf
push ebx
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01004cfc
test eax, eax
jl 0x1014ade
jmp 0x1014a3a
mov word [esi - 2], di
jmp 0x1014a54
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0x214]
push edi
call fcn.0101fccb
jmp 0x1014ac1
Function at 0x1015bd4
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 4], 0x10
je 0x1015c02
push ebx
push ebx
push 0x438
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
cmp dword [edi], ebx
jne 0x1025819
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x38]
mov dword [esi + 0xc], 1
call edi
push 2
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
call ebx
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call edi
push 2
lea eax, [ebp - 0x2c]
push eax
xor edi, edi
push edi
push dword [esi + 4]
call ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [ebp - 0x1c]
push edi
push edi
push 0x1f
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
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_GetKeyState]
test ax, ax
jl 0x1025835
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
cmp dword [eax], edi
lea ebx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x1015cb2
mov ebx, eax
mov eax, dword [ebx]
cmp eax, edi
je 0x102583d
push dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x102584e
cmp dword [ebp - 4], 0x10
jne 0x1015cef
push edi
push 0x10002
push 0x128
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret
mov ecx, esi
call fcn.0100fb66
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0102fff2
jmp 0x1015c10
mov dword [ebp - 4], edi
jmp 0x1015ca0
mov ecx, esi
call fcn.01011fcb
mov eax, dword [ebx]
cmp eax, edi
jne 0x1015cbc
call fcn.0100c7a8
jmp 0x1015cd5