joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10170fb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
mov esi, 0xf003f
push esi
push 0
push 0x1017184
push 0x80000000
call ebx
test eax, eax
jne 0x101715d
push edi
lea eax, [ebp - 0x54]
push eax
push esi
push 0
mov edi, 0x101716c
push edi
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x1022f84
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01001b01
leave
ret
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push esi
push 0
mov ebx, 0x1013398
push ebx
push 0
push edi
push dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call edi
test eax, eax
jne 0x1017153
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x100497c
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x102303d
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x1023080
push dword [ebp - 0x48]
call edi
test eax, eax
jne 0x1023034
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push 8
pop ecx
push 0x20
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x1004968
push dword [ebp - 0x44]
mov esi, 0x1023060
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call ebx
push 6
pop ecx
push 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x1029c04
push dword [ebp - 0x44]
mov esi, 0x1023048
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
call ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x50]
jmp 0x101714d

Function at 0x10171ed
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.01017211
test eax, eax
jne 0x1022d46
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push 7
mov dword [ebp - 0x20], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x1c]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov dword [ebp - 0x28], eax
cmp word [eax], si
je 0x1022d86
mov word [eax - 2], si
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
jmp 0x1017207
Function at 0x10178dc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
xor ebx, ebx
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
jne 0x1017955
push esi
push 7
xor esi, esi
call fcn.01011915
test eax, eax
je 0x102833c
call fcn.0101cdda
cmp ax, bx
mov word [0x10474cc], ax
je 0x1017940
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017940
test byte [ebp - 0x21], 8
jne 0x1028321
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x1047478
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
je 0x10283e1
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
pop edi
sete al
pop ebx
call fcn.01001b01
leave
ret 4
xor eax, eax
mov ax, word [0x10474cc]
push eax
call fcn.0103ca29
test eax, eax
je 0x1017940
jmp 0x10283d9
push 5
call fcn.01011915
test eax, eax
je 0x1017940
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1017940
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x10283f8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1017940
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x10283f7
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0103c92d
test eax, eax
je 0x1017940
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x10283d3
cmp eax, 0xd
jne 0x1017940
mov word [0x10474cc], ax
xor esi, esi
inc esi
jmp 0x1017940
cmp edi, ebx
je 0x1017962
mov ax, word [0x10474cc]
mov word [edi], ax
jmp 0x1017962
Function at 0x1017f1a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push 0
mov dword [ebp - 4], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
test eax, eax
je 0x1017f74
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1028016
push 1
push 0
push 0x1017f80
push 0x100bbe8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
mov ecx, dword [ebp - 4]
call fcn.01001b01
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push 0x1028058
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x1017f80
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
jmp 0x1017f6e

Function at 0x101915b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10191f7
add dword [ebp - 4], 2
push edi
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x10191f6
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10191ed
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3b
mov esi, edi
push edi
call ebx
mov edi, eax
test edi, edi
je 0x10191de
and word [edi], 0
cmp word [esi], 0
je 0x10191d6
push esi
push dword [ebp + 0x10]
call fcn.01019201
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x10191bb
cmp word [esi], ax
pop ebx
je 0x10191ed
push esi
push dword [ebp + 0x10]
call fcn.01019201
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc

Function at 0x1019c56
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x40000056
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1019cb6
push 1
push eax
push 0x1019ce0
mov esi, 0x100bbe8
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
mov dword [edi + 0x34], eax
je 0x1019cb2
and dword [ebp - 4], 0
push 4
pop eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
add edi, 0x38
push edi
push 0
push 0x1019cbc
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
pop edi
pop esi
leave
ret
and dword [edi + 0x34], 0
jmp 0x1019cb2
Function at 0x1019fd2
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
push esi
push edi
push 0x101a19c
mov dword [ebp - 4], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0xc0], eax
lea eax, [esi + 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
push 0x52009344
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
push dword [esi + 0x20]
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.01019f43
mov eax, dword [edi]
cmp eax, ebx
je 0x101a183
push 0x353
push dword [0x10460c0]
push 0x44d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0101a22e
mov eax, dword [esi + 0x78]
not eax
test al, 1
mov eax, 0x1019e50
je 0x10246f6
push eax
push ebx
push 0x200b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1002340
push dword [edi]
call fcn.0100e104
push 0x14
mov ecx, edi
call fcn.0101882b
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.01011c1e
push 0x3c0
mov ecx, edi
call fcn.0101884b
push ebx
push 6
push 0x2007
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.01019e69
lea eax, [ebp - 0xb0]
push eax
mov ecx, edi
call fcn.0101886b
mov eax, dword [eax]
cmp eax, ebx
je 0x101a0da
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x101a188
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 3
push dword [esi + 0x20]
mov dword [esi + 0x40], eax
call dword [sym.imp.SHELL32.dll_Ordinal_181]
push 1
push ebx
push ebx
mov ecx, esi
call fcn.01019b41
push esi
push 0x101a1b5
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0xac]
push eax
push 1
push 0x43a
push 0xc008000
push 0x8002
push dword [esi + 0x20]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0xbc], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0x252
push dword [0x10460c0]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa4]
push eax
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
lea eax, [ebp - 0xa4]
push eax
push dword [edi]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.01001b01
pop edi
pop esi
pop ebx
leave
ret
or eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jmp 0x101a176
mov eax, 0x1029c78
jmp 0x101a063
Function at 0x101a568
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x101a629
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 1
xor edi, edi
push edi
push 0x100e184
push 0x100bbe8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1028463
push ebx
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp + 8]
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push esi
push edi
mov ebx, 0x101a6d4
push ebx
mov edi, 0x10218a0
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x102847c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x101a6bc
push 0x101a660
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
jne 0x101a63f
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.0102046f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], edx
call edi
test eax, eax
jg 0x1012175
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x101a63f
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USERENV.dll_GetProfileType]
test eax, eax
je 0x101a657
test byte [ebp - 0xc], 3
jne 0x10284a0
pop esi
pop ebx
pop edi
leave
ret 4
mov ecx, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x1014298]
mov dword [eax + 4], ecx
jmp 0x101a659
mov eax, dword [ebp - 0x1c]
push 8
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
pop eax
push 2
push eax
push esi
push 3
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x101a5c7
lea eax, [ebp - 0x24]
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x101a657
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x101a657
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x101a657
Function at 0x101a851
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
test eax, eax
push edi
mov edi, dword [ebp + 8]
jne 0x1028646
push 4
mov ecx, esi
call fcn.01020348
test eax, eax
je 0x101a8be
cmp dword [edi], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x101a8bb
mov eax, edi
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x101a8b1
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [esi]
call fcn.01019201
add edi, 4
cmp dword [edi], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov eax, edi
jne 0x101a88a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01001b01
leave
ret 8
push 0
push 0x1034e10
push eax
call dword [fcn.010203dc]
push dword [esi]
call dword [0x1020408]
jmp 0x101a883

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, 0x100a6f0
push 0x101bde0
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
test ebx, ebx
je 0x101bdd8
push ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x101bdd8
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
jne 0x1026e31
call fcn.0101d716
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x1026e4a
pop edi
pop esi
pop ebx
leave
ret 0xc
call fcn.01034b65
test eax, eax
jge 0x101bdc8
mov dword [ebp - 8], 1
jmp 0x101bdc8
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101bdd8
push 0x101bde0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101bdd8
Function at 0x101c4ba
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
xor ebx, ebx
push ebx
push 0x101c524
mov edi, 0x100bbe8
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
cmp eax, 2
jb 0x10236bf
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret
sub eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
je 0x10236d1
dec eax
je 0x1023749
jmp 0x102375a
push 0x10237ec
push 0x1017090
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
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 0x10237d8
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1023749
cmp word [ebp - 0x414], ax
je 0x1023749
push 4
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 4
push 0x1029c40
push edi
push esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
call ebx
xor eax, eax
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
sete al
push eax
call fcn.0103dc85
push 0
push 1
push 0x10237b8
push 0x102379c
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x101c517
push 4
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 4
push 0x101c524
push edi
push esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 2
call ebx
jmp 0x101c517
Function at 0x101cc32
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
xor esi, esi
push esi
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - 4], eax
mov eax, 0x1f4
push ecx
push eax
push 0x29
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x101cc98
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x1024a11
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x2bc
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01001b01
leave
ret 4
shr ax, 0xa
cmp ax, 1
je 0x1024a25
cmp ax, 2
jne 0x101cc7f
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x190
jmp 0x101cc89

Function at 0x101d125
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push esi
push 0x200
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
test byte [ebp - 0x28], 0x40
jne 0x1022db8
push esi
call fcn.0101d15a
mov eax, esi
pop esi
leave
ret
call fcn.0101d0b9
cmp eax, 2
jb 0x101d150
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x101d1b0
push dword [0x1047390]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x493e0
sbb esi, esi
neg esi
jne 0x101d150
push 1
jmp 0x101d14b

Function at 0x101d2ab
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
mov dword [ebp - 4], eax
push 0x10
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call esi
push ebx
push 0xb
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call esi
push ebx
push 7
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call esi
push ebx
push 8
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call esi
push ebx
push 6
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret
Function at 0x101d43c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
mov ebx, 0x101d488
push ebx
mov edi, 0x100bbe8
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x1023092
cmp eax, 3
je 0x1023092
pop edi
pop esi
pop ebx
leave
ret
push 0x1d
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102313d
push 0x220
push 0
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x10230df
push 0x225
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x10230df
push 0x227
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x10230df
push 0x22c
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x102313d
push 0x102314c
push 0x1014c44
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x102310a
push 0x1023144
push 1
call eax
push 3
push 1
push 0
push 0x100b
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x101d481
and dword [ebp - 4], 0
jmp 0x1023127

Function at 0x101d842
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x101d674
push 0x100a6f0
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x101d8d1
push edi
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
test eax, eax
jl 0x101d8ca
cmp dword [ebp - 0x18], 0x14
jne 0x101d8ca
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0101d699
test eax, eax
je 0x101d8ca
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x101d8ca
cmp dword [ebp - 0xc], ebx
jbe 0x101d8ca
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x101d8ca
push esi
call dword [fcn.0101d8e4]
mov dword [edi + 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x1c], ebx
pop esi
setne al
pop ebx
leave
ret 4