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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push 0xcd
mov dword [ebp - 0x104], ebx
call fcn.0104833f
mov esi, eax
mov dword [ebp - 0x100], esi
test esi, esi
je 0x1048539
cmp dword [ebp + 8], 0
push edi
je 0x1057950
cmp dword [ebx + 0x3c8], 0
jne 0x105793d
cmp dword [ebx + 0xc7c], 0
jne 0x1057969
mov eax, dword [ebx + 0xd28]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
push eax
mov esi, 0x1a8
push esi
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea eax, [ebp - 0x11c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.010355a9
test eax, eax
jne 0x1048549
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
je 0x1048549
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push eax
push esi
push dword [ebp - 0x100]
call edi
cmp dword [ebx + 0xc70], 0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, dword [sym.imp.USER32.dll_ModifyMenuW]
jne 0x1057990
push 0
push 0x1a0
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_DeleteMenu]
cmp dword [0x10b10f8], 0
jne 0x1057a15
mov ecx, dword [ebp - 0x104]
call fcn.010482a2
test eax, eax
je 0x1057a48
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x10
push 0x1048224
push 0x1048558
push SHChangeNotifyRegister
mov dword [ebp - 0x10c], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x1057a7a
mov eax, dword [ebp - 0x100]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 4
push 3
pop eax
jmp 0x104849d
push 0x400
push 1
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x104843c
push 2
pop edi
push 0x400
push edi
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
dec edi
js 0x104843c
jmp 0x1057953
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x1a8
push esi
call edi
cmp dword [ebp + 8], 0
jne 0x10484ad
push 1
push 0x19d
push esi
jmp 0x10484ab
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0xcd4], 0
je 0x10484c6
cmp dword [0x10b10f8], 0
jne 0x10484c6
push 0x1e
lea eax, [ebp - 0x7c]
push eax
push 0x216
push dword [0x10b10b4]
call esi
push 0x1e
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + 0xcd4]
push dword [eax]
push dword [0x10b10b4]
call esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xfc]
push 0x40
push eax
call fcn.0103456a
add esp, 0x10
lea eax, [ebp - 0xfc]
push eax
mov eax, 0x1a0
push eax
push 0
push eax
push dword [ebp - 0x100]
call ebx
jmp 0x10484d9
push 0x40
lea eax, [ebp - 0xfc]
push eax
push 0x352
push dword [0x10b10b4]
call esi
lea eax, [ebp - 0xfc]
push eax
mov eax, 0x197
push eax
push 0
push eax
push dword [ebp - 0x100]
call ebx
jmp 0x10484e6
push 3
push 0x193
push dword [ebp - 0x100]
call edi
push 3
push 0x194
push dword [ebp - 0x100]
call edi
push 3
push 0x195
push dword [ebp - 0x100]
call edi
jmp 0x10484f9
cmp dword [ebp - 0x108], eax
je 0x1048532
push 3
push 0x1a4
push dword [ebp - 0x100]
call edi
jmp 0x1048532
Function at 0x104a365
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
mov edi, dword [ebp + 8]
test ax, ax
jl 0x105cfc9
push 0x11
call esi
test ax, ax
jl 0x105cfd4
pop edi
pop esi
pop ebp
ret 4
or dword [edi], 0x10000000
jmp 0x104a382
or dword [edi], 0x40000000
jmp 0x104a38f
Function at 0x1050e43
Capabilities:
Create process on windows

Disassembly:
push 2
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.dwmapi.dll_Ordinal_113]
push edi
mov ecx, esi
call fcn.010512cf
push dword [0x10b10ec]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1050e7f
push 2
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.dwmapi.dll_Ordinal_113]
push edi
mov ecx, esi
call fcn.01071785
jmp 0x1050e7f
push 0
push 0x1f7
call fcn.010371aa
jmp 0x1050e7f
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0x30002
push 0x127
lea edi, [esi + 0xc04]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi]
mov ecx, esi
call fcn.0103a0df
jmp 0x1050e7f
push 0x1032454
push dword [esi + 4]
call fcn.01051c41
test eax, eax
jne 0x1050e7f
push 0x1068c44
push 0x1030ac8
push dword [esi + 4]
call fcn.0106fb3a
jmp 0x1050e7f
push 0x80
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1050e7f
push eax
push 0xa085
mov ecx, esi
jmp 0x1050c37
push 0x80
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1050e7f
push eax
push 0xa086
jmp 0x1050cc2
push ebx
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
je 0x1050cf9
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
cmp edi, 0x1fb
sete al
push 0
lea eax, [eax + eax - 1]
push eax
push 0x43d
push dword [esi + 0xc10]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
jmp 0x1050e7f
push 5
xor edi, edi
push edi
push 0x1050e30
push 0x1050e18
push edi
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1050e7f
push 1
push 0
push 0x10b3ac4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1050e7f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 1
mov ecx, esi
call fcn.01071c61
jmp 0x1050e7f
xor edi, edi
cmp dword [0x10b10f8], edi
jne 0x1050e7f
push 2
push dword [esi + 4]
push edi
push 1
call dword [sym.imp.dwmapi.dll_Ordinal_113]
jmp 0x1050e7f
call fcn.010701c8
jmp 0x1050e7f
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, dword [esi + 0xe04]
je 0x1050e86
lea eax, [edi - 0x1f4]
mov dword [esi + 0xe04], edi
cmp eax, 0x41
ja case.0x1050e73.514
movzx eax, byte [eax + 0x1050dd3]
jmp dword [eax*4 + 0x1050d97]
call fcn.010511a9
or dword [esi + 0xe04], 0xffffffff
pop edi
pop esi
pop ebp
ret 8
push 2
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.dwmapi.dll_Ordinal_113]
xor eax, eax
cmp dword [0x10b10f8], edi
push 1
sete al
mov ecx, esi
push eax
call fcn.01009aab
push 1
call fcn.01051a7f
jmp 0x1050e7f
push dword [ebp + 0xc]
push edi
call fcn.01071aa6
jmp 0x1050e7f
Function at 0x1051045
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp + 0x1c], 4
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x614], edi
mov word [ebp - 0x20c], ax
cmp dword [ebp + 0xc], ebx
jne 0x10564f3
mov dword [ebp - 0x610], ebx
cmp esi, ebx
je 0x1056524
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1056524
cmp word [ebp - 0x20c], bx
je 0x10510d9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x10510d9
push eax
call dword [sym.imp.SHELL32.dll_DriveType]
cmp eax, 2
je 0x105650f
cmp eax, 5
je 0x105650f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1056524
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x100
cmp dword [ebp + 0x14], ebx
je 0x1051117
push edi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 0x14]
push dword [0x10b10b4]
call esi
lea ebx, [ebp - 0x40c]
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x105653a
push dword [ebp + 0x1c]
push eax
push ebx
lea eax, [ebp - 0x20c]
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
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 0x18
movzx eax, word [ebp + 0xc]
push eax
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x610], eax
jmp 0x1051087
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10510d9
push ebx
push 0x10
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x10510ee
push edi
lea eax, [ebp - 0x60c]
push eax
push dword [ebp + 0x18]
push dword [0x10b10b4]
call esi
lea eax, [ebp - 0x60c]
jmp 0x1051122

Function at 0x106d360
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push 0x106d3e0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0103456a
add esp, 0x10
test eax, eax
jl 0x106d3cf
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0
push 0x10002
push 0
lea eax, [ebp - 0x20c]
push eax
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x106d3d1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 0xc
Function at 0x106d9b5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push 0x38
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebp - 0x40], 0x3c
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1030ae8
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x2000100
mov dword [ebp - 0x34], 0x1068c44
call sub.SHELL32.dll_SHGetKnownFolderIDList
test eax, eax
jl 0x106da09
mov eax, dword [ebp - 4]
or dword [ebp - 0x3c], 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret
Function at 0x106ed85
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x1f4
xor edi, edi
lea eax, [ebp - 0x1f8]
push edi
push eax
mov dword [ebp - 0x1fc], 0x1f8
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x1fc]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x106ee21
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x106ee08
shr ax, 0xa
cmp ax, 1
je 0x106edfc
cmp ax, 2
jne 0x106ee08
mov dword [ebp - 0x1d4], 0x190
jmp 0x106ee12
mov dword [ebp - 0x1d4], 0x2bc
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.01001fef
leave
ret

Function at 0x106f652
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov cx, word [ebp + 8]
shr cx, 8
sub esp, 0xc
xor eax, eax
test cl, 4
je 0x106f66a
inc eax
test cl, 2
je 0x106f672
or eax, 2
test cl, 1
je 0x106f67a
or eax, 4
movzx cx, byte [ebp + 8]
and dword [ebp - 4], 0
shl eax, 8
add ax, cx
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x106f5f9
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x106fb3a
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push dword [ebp + 0xc]
call sub.SHELL32.dll_SHGetKnownFolderIDList
test eax, eax
jl 0x106fba0
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], 0x10000c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc
Function at 0x106fba9
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x55c
push ebx
push esi
push edi
mov esi, ecx
je 0x106fbe5
dec eax
jne 0x106fbde
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x106fbde
push ebx
push ebx
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_479]
push dword [0x10b10ec]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x106fbc7
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x10002
push 0x128
push dword [esi + 4]
call edi
push dword [esi + 4]
push 1
push 0x459
push dword [0x10b10ec]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x106fc3c
push ebx
push ebx
push 0x414
push dword [esi + 0xc04]
call edi
push eax
jmp 0x106fc42
push dword [esi + 0xb10]
mov ecx, esi
call fcn.0103a0df
jmp 0x106fbde

Function at 0x10701c8
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x10702b0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x1070204
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1070239
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1070268
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
test eax, eax
je 0x1070239
push 1
push 0
push 0x1070248
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001fef
leave
ret
Function at 0x10707f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x10708f8
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1070860
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x10708c8
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
test eax, eax
jne 0x1070857
cmp dword [ebp - 0x10], edi
setne al
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push edi
push 0x1035410
push SHChangeNotifyRegister
call esi
test eax, eax
jne 0x10708b3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x10708c8
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
test eax, eax
jne 0x10708aa
cmp dword [ebp - 8], edi
jne 0x10708a3
mov dword [ebp - 8], edi
cmp dword [ebp - 0x10], edi
je 0x10708aa
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
pop edi
pop esi
pop ebx
jne 0x10708c2
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
leave
ret

Function at 0x107147a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [0x10b3bb0], ebx
jne 0x1071506
cmp dword [ebp + 0xc], ebx
jne 0x10714a3
push 0x1011924
push dword [ebp + 8]
call fcn.01051c41
test eax, eax
jne 0x1071506
mov ecx, edi
call fcn.0103a0fd
mov ecx, edi
call fcn.01071031
cmp dword [ebp + 0xc], ebx
jne 0x10714cc
push dword [ebp + 0x10]
mov dword [edi + 0xc44], 2
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_Ordinal_60]
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [edi + 0xc44], ebx
call esi
test ax, ax
jge 0x10714f4
push 0x11
call esi
test ax, ax
jge 0x10714f4
push 0x12
call esi
test ax, ax
jl 0x10714f9
cmp dword [ebp + 0xc], ebx
je 0x1071505
call fcn.0106e0d9
mov ecx, edi
call fcn.0107000c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x1071860
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], 2
push esi
mov esi, ecx
jne 0x1071878
cmp dword [esi + 0xd28], eax
jmp 0x107187b
cmp dword [ebp + 8], eax
sete al
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x10355f8
push 0x100f278
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, esi
call fcn.0101f6a5
mov ecx, esi
call fcn.0101f657
mov ecx, esi
call fcn.0101ed16
pop esi
pop ebp
ret 4
Function at 0x1072c74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
inc ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1072ccc
push ebx
push edi
push 0x1072d60
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0103456a
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1072d2f
jmp 0x1072c9c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x1072d3f
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.0100665f
mov ecx, dword [ebp - 0x418]
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x414]
push eax
push ebx
push edi
push 0x1072d50
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0103456a
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1072cfa
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0100665f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 8

Function at 0x1073436
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
inc ecx
shl ecx, 4
push dword [ecx + eax]
lea eax, [ebp - 0x10]
push 0x1068cf8
push 5
push eax
mov dword [ebp - 0x20], 8
call sub.msvcrt.dll_swprintf_s
add esp, 0x14
cmp eax, 0xffffffff
je 0x10734eb
push esi
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push 0x1068c60
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10734de
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10734c0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push dword [ebp - 0x20]
add dword [ebp - 0x1c], 1
lea eax, [ebp - 0x1c]
push eax
adc dword [ebp - 0x18], esi
push 0xb
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
call fcn.010720e7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001fef
leave
ret 8
Function at 0x1073519
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x10735d3
cmp byte [esi + 1], 0
je 0x10735d3
push 0x3c
lea eax, [ebp - 0x248]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
and dword [ebp - 0x240], 0
shl eax, 4
push dword [eax + esi + 0xc]
lea eax, [ebp - 0x20c]
push 0x10735f8
push 0x10735e4
push 0x104
push eax
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0x540
mov dword [ebp - 0x23c], 0x1048f98
mov dword [ebp - 0x22c], 1
call sub.msvcrt.dll_swprintf_s
add esp, 0x20
cmp eax, 0xffffffff
je 0x10735d3
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
mov ecx, esi
mov dword [ebp - 0x238], eax
call fcn.010734fe
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 4

Function at 0x1073619
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x10736ee
cmp byte [esi + 1], 0
je 0x10736ee
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x10736ee
push 0x1073720
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x10736ee
push 0x3c
lea eax, [ebp - 0x450]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x448], 0
add esp, 0xc
push 0x1068d04
lea eax, [ebp - 0x414]
push 4
mov ecx, esi
mov dword [ebp - 0x450], 0x3c
mov dword [ebp - 0x44c], 0x540
mov dword [ebp - 0x444], 0x1048f98
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0x10736fc
call fcn.01073436
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret
Function at 0x1073ff4
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 + 0x10], 0
mov ebx, SHChangeNotifyRegister
je 0x107409a
push 1
push 0x1029df4
push 0x1033210
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x107409a
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 + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0x10001
call dword [0x106caa0]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
test eax, eax
jbe 0x107408a
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x107408a
push dword [ebp - 4]
push dword [esi + 0x10]
call dword [0x10740d4]
test eax, eax
je 0x107408a
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 0x10740cc
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x1033210
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10740cc
push 0x1029df4
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

Function at 0x10740dd
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [ecx + 0xc], eax
je 0x107413d
mov dword [ecx + 0xc], eax
xor ecx, ecx
test eax, eax
lea eax, [ebp + 8]
push eax
push 0x20006
setne cl
push 0
push 0x1015358
push SHChangeNotifyRegister
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1074138
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x102dbe4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x107413f
xor eax, eax
leave
ret 4
Function at 0x1078084
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
lea esi, [edi + 0x10780c0]
push dword [esi]
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0
je 0x10780b2
push dword [esi]
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
add edi, 4
cmp edi, 0x20
jb 0x107808d
pop edi
pop esi
pop ebp
ret 4