joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010bf7
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1046080]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
mov dword [ebp - 0x210], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1010c72
mov dword [ebp - 0x214], edi
push esi
call fcn.0100e6cc
test eax, eax
jne 0x1010c71
cmp word [ebx], di
mov esi, ebx
jne 0x102251a
cmp word [esi], di
jne 0x1010c86
mov dword [ebp - 0x214], 1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1022545
cmp dword [ebp - 0x214], edi
lea ebx, [esi + 2]
je 0x1010c34
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop ebx
call fcn.01001aff
leave
ret 8
mov word [esi], di
jmp 0x1010c57
mov ax, word [esi]
cmp ax, 0x20
je 0x1010c48
cmp ax, 0x2c
je 0x1010c48
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
je 0x1010c48
jmp 0x102251a
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x240], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10225a9
push ebx
push 0x1030
push 0x20c
push 0x203
push eax
push dword [0x10460dc]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x10225b3
mov dword [ebp - 0x210], 1
xor edi, edi
jmp 0x1010c66

Function at 0x10112ed
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 0x100e75b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1011315
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10128b6
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1046080]
and dword [ebp - 0x24c], 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, [ebp - 0x248]
rep stosd dword es:[edi], eax
mov esi, 0x106
push esi
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Ordinal_653]
cmp eax, 0xffffffff
je 0x1022f1a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x1022f35
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - 0x238], esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x248], 0x40
je 0x1012967
mov dword [ebp - 0x248], 0x440
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10129a6
cmp dword [ebp - 0x214], edi
je 0x1012995
cmp dword [ebp + 0x10], edi
jne 0x1022f3e
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.01001aff
leave
ret 0xc
xor eax, eax
jmp 0x1012997
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.010065d7
test eax, eax
jge 0x1012902
jmp 0x10129a6
mov word [esi - 2], di
jmp 0x101291c
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0x214]
push edi
call fcn.01021643
jmp 0x1012989
Function at 0x1013531
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1046080]
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 0x10135b8
push SysReAllocString
call ebx
test eax, eax
jne 0x1013593
push edi
lea eax, [ebp - 0x54]
push eax
push esi
push 0
mov edi, 0x10135a0
push edi
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x1022d31
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.01001aff
leave
ret
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push esi
push 0
mov ebx, 0x1011258
push ebx
push 0
push edi
push dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call edi
test eax, eax
jne 0x1013589
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 0x1021078
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x1022dea
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 0x1022e2c
push dword [ebp - 0x48]
call edi
test eax, eax
jne 0x1022de1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push 8
pop ecx
push 0x20
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x1021064
push dword [ebp - 0x44]
mov esi, 0x1022e0c
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 0x10299f4
push dword [ebp - 0x44]
mov esi, 0x1022df4
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 0x1013583

Function at 0x1013816
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.0101383a
test eax, eax
jne 0x1022ade
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 0x1022b1e
mov word [eax - 2], si
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
jmp 0x1013830
Function at 0x1013b50
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
cmp dword [0x1047468], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
jne 0x1013bc9
push esi
push 7
xor esi, esi
call fcn.0100f819
test eax, eax
je 0x1028126
call fcn.0101933a
cmp ax, bx
mov word [0x10474bc], ax
je 0x1013bb4
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 0x1013bb4
test byte [ebp - 0x21], 8
jne 0x102810b
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x1047468
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
cmp dword [0x1047468], 1
je 0x10281cb
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x1047468], 1
pop edi
sete al
pop ebx
call fcn.01001aff
leave
ret 4
xor eax, eax
mov ax, word [0x10474bc]
push eax
call fcn.0103c939
test eax, eax
jne 0x10281c3
jmp 0x1013bb4
push 5
call fcn.0100f819
test eax, eax
je 0x1013bb4
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1013bb4
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x10281e4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1013bb4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x10281e1
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.0103c83d
test eax, eax
je 0x1013bb4
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x10281bd
cmp eax, 0xd
jne 0x1013bb4
mov word [0x10474bc], ax
xor esi, esi
inc esi
jmp 0x1013bb4
cmp edi, ebx
je 0x1013bd6
mov ax, word [0x10474bc]
mov word [edi], ax
jmp 0x1013bd6

Function at 0x101418e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1046080]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10141e8
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1027dfb
push 1
push 0
push 0x10141f4
push 0x100bdb8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
mov ecx, dword [ebp - 4]
call fcn.01001aff
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, [ebp - 0x20c]
push 0x1027e40
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x10141f4
lea eax, [ebp - 0x20c]
push eax
jmp 0x10141e2
Function at 0x1015073
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 0x101510f
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 0x101510e
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 0x1015105
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 0x10150f6
and word [edi], 0
cmp word [esi], 0
je 0x10150ee
push esi
push dword [ebp + 0x10]
call fcn.01015119
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x10150d3
cmp word [esi], ax
pop ebx
je 0x1015105
push esi
push dword [ebp + 0x10]
call fcn.01015119
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc

Function at 0x1015d47
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 0x1015da7
push 1
push eax
push 0x1015dd4
mov esi, 0x100bdb8
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
mov dword [edi + 0x34], eax
je 0x1015da3
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 0x1015db0
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
pop edi
pop esi
leave
ret
and dword [edi + 0x34], 0
jmp 0x1015da3
Function at 0x10160c6
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x1046080]
push ebx
push esi
push edi
push 0x1016290
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.01016037
mov eax, dword [edi]
cmp eax, ebx
je 0x1016277
push 0x353
push dword [0x10460dc]
push 0x44d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.01016322
mov eax, dword [esi + 0x78]
not eax
test al, 1
mov eax, 0x1015f44
je 0x102449e
push eax
push ebx
push 0x200b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1002180
push dword [edi]
call fcn.0100be50
push 0x14
mov ecx, edi
call fcn.010147d7
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.0100fb22
push 0x3c0
mov ecx, edi
call fcn.010147f7
push ebx
push 6
push 0x2007
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.01015f5d
lea eax, [ebp - 0xb0]
push eax
mov ecx, edi
call fcn.01014817
mov eax, dword [eax]
cmp eax, ebx
je 0x10161ce
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x101627c
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.01015c31
push esi
push 0x10162a9
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 [0x10460dc]
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.01001aff
pop edi
pop esi
pop ebx
leave
ret
or eax, 0xffffffff
jmp 0x101626a
mov eax, 0x1029a68
jmp 0x1016157
Function at 0x101665c
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 0x101671d
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 1
xor edi, edi
push edi
push 0x100bf94
push 0x100bdb8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102824f
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, 0x10167cc
push ebx
mov edi, 0x1008fd0
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1028268
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10167b4
push 0x1016758
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
jne 0x1016733
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.01007aa2
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 0x101003c
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x1016733
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 0x101674b
test byte [ebp - 0xc], 3
jne 0x102828c
pop esi
pop ebx
pop edi
leave
ret 4
mov ecx, dword [0x1012154]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x1012158]
mov dword [eax + 4], ecx
jmp 0x101674d
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 0x10166bb
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 0x101674b
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x101674b
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x101674b
Function at 0x1016949
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
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 0x1028432
push 4
mov ecx, esi
call fcn.01007980
test eax, eax
je 0x10169b6
cmp dword [edi], 0xffffffff
je 0x10169b3
mov eax, edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10169a9
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.01015119
add edi, 4
cmp dword [edi], 0xffffffff
mov eax, edi
jne 0x1016982
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01001aff
leave
ret 8
push 0
push 0x103d2db
push eax
call dword [fcn.01007a14]
push dword [esi]
call dword [0x1007a40]
jmp 0x101697b

Function at 0x10181a3
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, 0x101fe38
push 0x1018210
push edi
mov esi, SysReAllocString
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
test ebx, ebx
je 0x1018208
push ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x1018208
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
jne 0x1026c16
call fcn.01019c76
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x1026c2f
pop edi
pop esi
pop ebx
leave
ret 0xc
call fcn.01034a95
test eax, eax
jge 0x10181f8
mov dword [ebp - 8], 1
jmp 0x10181f8
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 0x1018208
push 0x1018210
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1018208
Function at 0x1018a18
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1046080]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
xor ebx, ebx
push ebx
push 0x1018a84
mov edi, 0x100bdb8
push edi
mov esi, SysReAllocString
push esi
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x424], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x41c]
cmp eax, 2
jb 0x1023473
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret
sub eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
je 0x1023486
dec eax
jne 0x102350f
jmp 0x10234fe
push 0x10235a0
push 0x1013388
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x102358c
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10234fe
cmp word [ebp - 0x414], ax
je 0x10234fe
push 4
lea eax, [ebp - 0x418]
push eax
push 4
push 0x1029a30
push edi
push esi
mov dword [ebp - 0x418], 1
call ebx
xor eax, eax
cmp dword [ebp - 0x41c], eax
sete al
push eax
call fcn.0103dbad
push 0
push 1
push 0x102356c
push 0x1023550
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x1018a75
push 4
lea eax, [ebp - 0x418]
push eax
push 4
push 0x1018a84
push edi
push esi
mov dword [ebp - 0x418], 2
call ebx
jmp 0x1018a75

Function at 0x1019192
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x1046080]
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 4], eax
mov eax, 0x1f4
push ecx
push eax
push 0x29
mov dword [ebp - 0x1f8], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10191f8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x10247b9
mov dword [ebp - 0x1d0], 0x2bc
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01001aff
leave
ret 4
shr ax, 0xa
cmp ax, 1
je 0x10247cd
cmp ax, 2
jne 0x10191df
mov dword [ebp - 0x1d0], 0x190
jmp 0x10191e9

Function at 0x1019685
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 0x1022b50
push esi
call fcn.010196ba
mov eax, esi
pop esi
leave
ret
call fcn.01019619
cmp eax, 2
jb 0x10196b0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1019710
push dword [0x1047380]
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 0x10196b0
push 1
jmp 0x10196ab
Function at 0x101980b
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
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, [ebp - 0x20c]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret

Function at 0x101999c
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, 0x10199e8
push ebx
mov edi, 0x100bdb8
push edi
mov esi, SysReAllocString
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x1022e3e
cmp eax, 3
je 0x1022e3e
pop edi
pop esi
pop ebx
leave
ret
push 0x1d
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1022ee9
push 0x220
push 0
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1022e8b
push 0x225
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1022e8b
push 0x227
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1022e8b
push 0x22c
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x1022ee9
push 0x1022ef8
push 0x1012b0c
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 0x1022eb6
push 0x1022ef0
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 0x10199e1
and dword [ebp - 4], 0
jmp 0x1022ed3