joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d935
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
mov dword [ebp - 4], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x20019
xor esi, esi
push esi
push 0x101d9c8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101d9ab
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push 0x101d9b8
push dword [ebp - 0x210]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1022c36
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b01
leave
ret
cmp word [ebp - 0x20c], si
je 0x101d99f
push edi
push 0x10
pop ecx
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x44
mov word [ebp - 0x238], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x101d99f
push dword [ebp - 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x220]
call esi
jmp 0x101d99f

Function at 0x101f4a9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ecx + 0x74], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 8]
push eax
push 3
push 0x1021950
push 0x10218a0
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
leave
ret
Function at 0x101f785
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
or dword [ebp + 0x1c], 4
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
mov word [ebp - 0x20c], bx
jne 0x1025516
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
cmp esi, ebx
je 0x1025547
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1025547
cmp word [ebp - 0x20c], bx
je 0x101f815
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x101f815
push eax
call dword [sym.imp.SHELL32.dll_DriveType]
cmp eax, 2
je 0x1025532
cmp eax, 5
je 0x1025532
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1025547
cmp dword [ebp + 0x14], ebx
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x100
jne 0x102555d
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x102557b
push dword [ebp + 0x1c]
push eax
push ebx
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x610]
push dword [ebp - 0x614]
call dword [sym.imp.SHELL32.dll_Ordinal_61]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 0x18
movzx eax, word [ebp + 0xc]
push eax
push dword [0x10460c0]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
jmp 0x101f7c3
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x101f815
push ebx
push 0x10
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x101f82a
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp + 0x14]
push dword [0x10460c0]
call esi
lea ebx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jmp 0x101f83e
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp + 0x18]
push dword [0x10460c0]
call esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jmp 0x101f849
Function at 0x101fccb
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x1006a92
mov ecx, dword [ebp - 4]
jmp 0x101fcf8
push 1
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
je 0x1006ac3
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x20], 0x20
je 0x10282ed
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1006a92
cmp dword [ebp + 0x10], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x1006a8a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 4], ecx
jmp 0x101fcf8
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
add eax, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
je 0x10282dd
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push dword [ebp + 0x14]
xor ebx, ebx
cmp dword [ebp + 0xc], edi
push ecx
setne bl
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
call esi
cmp eax, ebx
je 0x1006a82
pop esi
pop ebx
pop edi
leave
ret 0x10
or eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
cmp ecx, eax
je 0x101fd16
jmp 0x101fcf0
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1006a92

Function at 0x10205f3
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
xor edi, edi
inc edi
push edi
push ebx
push 0x100e184
push 0x100bbe8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1014e83
dec dword [esi + 0x74]
push 3
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi + 0x7c], edi
mov esi, dword [esi + 0x24]
push 0x4e
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0xd1
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_178]
pop edi
jmp 0x102061c
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jne 0x102061c
cmp dword [esi + 0x74], ebx
je 0x102061c
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1014e40
pop esi
pop ebx
leave
ret
Function at 0x1020c85
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [edi]
xor edx, edx
cmp ecx, edx
je 0x100d6a2
cmp dword [esi], edx
je 0x100d70c
mov eax, dword [esi - 0xc]
cmp eax, edx
mov dword [esi], edx
mov dword [esi - 8], eax
je 0x100d747
mov eax, dword [eax]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call dword [sym.imp.SHELL32.dll_ILFree]
and dword [edi], 0
push 4
lea ecx, [esi - 0xc]
call fcn.01020348
test eax, eax
je 0x100d703
push dword [ebp - 8]
push dword [ebx + 0x2c]
call fcn.0100d5da
test eax, eax
mov dword [ebp - 0xc], eax
je 0x100d703
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [edi], eax
lea eax, [esi - 0xc]
push eax
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0100d97a
mov ecx, dword [ebp - 0xc]
call fcn.010209b6
lea eax, [esi - 8]
push eax
call fcn.0100d760
cmp dword [ebx + 4], 0
je 0x1020d7f
cmp dword [esi + 4], 0
jne 0x1020d7f
mov edi, dword [edi]
test edi, edi
je 0x1020d7f
xor eax, eax
inc eax
push eax
push edi
push 0x2381f
push dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
call fcn.0100bb85
jmp 0x1020d7f
xor eax, eax
jmp 0x100d6b4
lea ecx, [esi - 0xc]
call fcn.0101384a
jmp 0x1020d88
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x580
push 0x28e44000
lea eax, [ebp - 0x14]
push eax
call fcn.01020b05
lea esi, [ebx + 0x20]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x10287a1
push ebx
push 0x1020b29
push dword [ebx + 0xe0]
call dword [fcn.010203dc]
and dword [ebp - 4], 0
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 4]
shl ecx, 3
mov eax, dword [ecx + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [ecx + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
lea edi, [esi - 4]
mov dword [ebx + 0x28], ecx
cmp dword [edi], 0
mov dword [ebp - 0xc], eax
je 0x10287b1
push dword [ebp - 4]
mov ecx, ebx
call fcn.01020a5b
test eax, eax
je 0x1020d88
test byte [ebx + 0x28], 8
je 0x1020d29
push 0x20000
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10287c6
push dword [ebp - 0xc]
call fcn.01020dae
test eax, eax
jne 0x100d74e
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100d74e
mov eax, dword [edi]
test eax, eax
je 0x100d696
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x100d696
cmp dword [esi], 0
jne 0x100d696
cmp dword [esi + 4], 0
je 0x100d696
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
inc dword [ebp - 4]
add esi, 0x1c
cmp dword [ebp - 4], 6
jb 0x1020cde
pop edi
pop esi
mov dword [ebx + 0xf4], 1
xor eax, eax
pop ebx
leave
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x1020cc5
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi], 1
jmp 0x1020d02
or dword [ebx + 0x28], 1
jmp 0x1020d29
Function at 0x102b4cf
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb00
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
push esi
push edi
push 0x1d
mov dword [ebp - 4], eax
mov edi, 0x1030
mov ebx, 0x21a
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x102b4ff
add edi, 4
inc ebx
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0x20c
push dword [0x10460c0]
call esi
push 0x400
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push ebx
push dword [0x10460c0]
call esi
push edi
lea eax, [ebp - 0xa4]
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x102b5b3
push 0x104
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x102b5c0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x102b5b3
push dword [ebp - 0xab8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xabc]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret

Function at 0x102b695
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push 7
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x102b6d9
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push 2
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
mov eax, dword [ebp - 0x34]
jmp 0x102b6dc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.01001b01
leave
ret 4
Function at 0x1031dd0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push 0x208
mov dword [ebp - 4], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp + 8]
push dword [0x10460c0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1031e64
and dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
push 0x3e
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
pop edi
je 0x1031e31
and word [eax], 0
inc eax
inc eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x3c
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
call fcn.01001b01
leave
ret 4
Function at 0x1032c99
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1032d0f
push dword [ebp - 0x418]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ebx
push 0x1032da0
push 0x104
push eax
call fcn.0100ae15
add esp, 0x14
inc dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jne 0x1032cc5
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp + 0xc]
push ebx
call fcn.01007284
jmp 0x1032d83
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, eax
test edi, edi
je 0x1032d82
push edi
push 0x104
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01004cfc
and word [edi], 0
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x418]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ebx
push 0x1032d90
push 0x104
push eax
call fcn.0100ae15
add esp, 0x18
inc dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jne 0x1032d33
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp + 0xc]
push ebx
call fcn.01007284
pop edi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01001b01
leave
ret 8
Function at 0x10336a6
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
push 0x10337ac
push ebx
mov dword [ebp - 4], eax
mov edi, ecx
call esi
test eax, eax
jne 0x10336eb
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
push 1
sete al
mov ecx, edi
push eax
call fcn.01003966
jmp 0x1033787
push 0x10337a0
push ebx
call esi
test eax, eax
jne 0x1033787
and dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
push 0xe
pop ecx
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
push 0x104
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1033787
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
je 0x1033787
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x3c
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 4
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
mov dword [ebp - 0x23c], 0x1029dcc
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x224]
call dword [sym.imp.SHELL32.dll_ILFree]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 4
Function at 0x10337bf
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
push 0x16
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10338ae
cmp dword [ebp + 8], ebx
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov esi, 0x136
je 0x1033806
push 0x10338e0
jmp 0x103380b
push 0x10338c0
push esi
push eax
call fcn.01004cfc
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01008c55
push 0x10338bc
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call fcn.01008c55
push 0x10
pop ecx
xor eax, eax
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov word [ebp - 0x49c], ax
xor eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push ebx
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x10338ad
push dword [ebp - 0x488]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x484]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01001b01
leave
ret 4
Function at 0x1033f31
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
jne 0x1033fe2
push 2
push dword [ebp + 8]
call fcn.0101febb
test eax, eax
jne 0x1033fe2
push 0xffffffffffffffff
push esi
push 3
push 0x28
push 0x1020de0
call fcn.0102b95f
push esi
push esi
push esi
push 0x1033fe8
push 0x100bbe8
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1033f94
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1033f9b
mov ecx, edi
call fcn.01033c7d
mov ecx, edi
call fcn.010324d5
push dword [ebp + 8]
lea esi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [esi], 2
call dword [sym.imp.SHELL32.dll_Ordinal_60]
and dword [esi], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jge 0x1033fe2
push 0x11
call esi
test ax, ax
jge 0x1033fe2
push 0x12
call esi
test ax, ax
jge 0x1033fe2
mov ecx, edi
call fcn.0103173b
pop edi
pop esi
pop ebp
ret 4

Function at 0x10348af
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, 0x80000001
je 0x1034955
push 1
push 0x101d674
push 0x100a6f0
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
test eax, eax
mov dword [ebp - 4], eax
je 0x1034955
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
pop edi
push dword [esi + 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0x10001
call dword [0x102ac90]
test eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jbe 0x1034945
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x1034945
push dword [ebp - 4]
push dword [esi + 0x1c]
call dword [0x1034990]
test eax, eax
je 0x1034945
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
pop edi
jne 0x1034987
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x100a6f0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034987
push 0x101d674
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret