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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10b0090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push 0xcd
mov dword [ebp - 0x104], ebx
call fcn.010483cf
mov esi, eax
mov dword [ebp - 0x100], esi
test esi, esi
je 0x10485c9
cmp dword [ebp + 8], 0
push edi
je 0x1054768
cmp dword [ebx + 0x3c8], 0
jne 0x1054755
cmp dword [ebx + 0xc7c], 0
jne 0x1054781
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.01031645
test eax, eax
jne 0x10485d9
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
je 0x10485d9
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 0x10547a8
push 0
push 0x1a0
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_DeleteMenu]
cmp dword [0x10b00f4], 0
jne 0x105482d
mov ecx, dword [ebp - 0x104]
call fcn.01048332
test eax, eax
je 0x1054860
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x10
push 0x10482b4
push 0x10485e8
push 0x80000001
mov dword [ebp - 0x10c], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x1054892
mov eax, dword [ebp - 0x100]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 4
push 3
pop eax
jmp 0x104852d
push 0x400
push 1
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x10484cc
push 2
pop edi
push 0x400
push edi
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
dec edi
js 0x10484cc
jmp 0x105476b
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x1a8
push esi
call edi
cmp dword [ebp + 8], 0
jne 0x104853d
push 1
push 0x19d
push esi
jmp 0x104853b
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0xcd4], 0
je 0x1048556
cmp dword [0x10b00f4], 0
jne 0x1048556
push 0x1e
lea eax, [ebp - 0x7c]
push eax
push 0x216
push dword [0x10b00b4]
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 [0x10b00b4]
call esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xfc]
push 0x40
push eax
call fcn.0100ecf0
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 0x1048569
push 0x40
lea eax, [ebp - 0xfc]
push eax
push 0x352
push dword [0x10b00b4]
call esi
lea eax, [ebp - 0xfc]
push eax
mov eax, 0x197
push eax
push 0
push eax
push dword [ebp - 0x100]
call ebx
jmp 0x1048576
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 0x1048589
cmp dword [ebp - 0x108], eax
je 0x10485c2
push 3
push 0x1a4
push dword [ebp - 0x100]
call edi
jmp 0x10485c2
Function at 0x104a339
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 0x1059e47
push 0x11
call esi
test ax, ax
jl 0x1059e52
pop edi
pop esi
pop ebp
ret 4
or dword [edi], 0x10000000
jmp 0x104a356
or dword [edi], 0x40000000
jmp 0x104a363
Function at 0x104e313
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.0104ed6d
push dword [0x10b00e8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x104e34f
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.0106f3dd
jmp 0x104e34f
push 0
push 0x1f7
call fcn.010357eb
jmp 0x104e34f
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.01038e55
jmp 0x104e34f
push 0x102c8a4
push dword [esi + 4]
call fcn.010344ed
test eax, eax
jne 0x104e34f
push 0x1065adc
push 0x10291b0
push dword [esi + 4]
call fcn.0106d952
jmp 0x104e34f
push 0x80
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x104e34f
mov ecx, esi
call fcn.0106df9c
jmp 0x104e34f
push 0x80
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x104e34f
push eax
push 0xa086
mov ecx, esi
jmp 0x104e103
push ebx
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
je 0x104e1c9
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 0x104e34f
push 5
xor edi, edi
push edi
push 0x104e300
push 0x104e2e8
push edi
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x104e34f
push 1
push 0
push 0x10b2700
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x104e34f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 1
mov ecx, esi
call fcn.0106f8b9
jmp 0x104e34f
xor edi, edi
cmp dword [0x10b00f4], edi
jne 0x104e34f
push 2
push dword [esi + 4]
push edi
push 1
call dword [sym.imp.dwmapi.dll_Ordinal_113]
jmp 0x104e34f
call fcn.0106dff5
jmp 0x104e34f
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 0x104e356
lea eax, [edi - 0x1f4]
mov dword [esi + 0xe04], edi
cmp eax, 0x41
ja case.0x104e343.514
movzx eax, byte [eax + 0x104e2a3]
jmp dword [eax*4 + 0x104e267]
call fcn.0104e679
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 [0x10b00f4], edi
push 1
sete al
mov ecx, esi
push eax
call fcn.010078f4
push 1
call fcn.0104f152
jmp 0x104e34f
push dword [ebp + 0xc]
push edi
call fcn.0106f6fe
jmp 0x104e34f
Function at 0x104e515
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x10b0090]
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 0x10532d3
mov dword [ebp - 0x610], ebx
cmp esi, ebx
je 0x1053304
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1053304
cmp word [ebp - 0x20c], bx
je 0x104e5a9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x104e5a9
push eax
call dword [sym.imp.SHELL32.dll_DriveType]
cmp eax, 2
je 0x10532ef
cmp eax, 5
je 0x10532ef
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1053304
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x100
cmp dword [ebp + 0x14], ebx
je 0x104e5e7
push edi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 0x14]
push dword [0x10b00b4]
call esi
lea ebx, [ebp - 0x40c]
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x105331a
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.0100204d
leave
ret 0x18
movzx eax, word [ebp + 0xc]
push eax
push dword [0x10b00b4]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x610], eax
jmp 0x104e557
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x104e5a9
push ebx
push 0x10
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x104e5be
push edi
lea eax, [ebp - 0x60c]
push eax
push dword [ebp + 0x18]
push dword [0x10b00b4]
call esi
lea eax, [ebp - 0x60c]
jmp 0x104e5f2

Function at 0x106a1f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10b0090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push 0x106a274
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0100ecf0
add esp, 0x10
test eax, eax
jl 0x106a263
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 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x106a265
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret 0xc
Function at 0x106a8b9
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 0x10291d0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x2000100
mov dword [ebp - 0x34], 0x1065adc
call sub.SHELL32.dll_SHGetKnownFolderIDList
test eax, eax
jl 0x106a90d
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 0x106ca95
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x10b0090]
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 0x106cb31
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x106cb18
shr ax, 0xa
cmp ax, 1
je 0x106cb0c
cmp ax, 2
jne 0x106cb18
mov dword [ebp - 0x1d4], 0x190
jmp 0x106cb22
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.0100204d
leave
ret

Function at 0x106d46a
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 0x106d482
inc eax
test cl, 2
je 0x106d48a
or eax, 2
test cl, 1
je 0x106d492
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 0x106d411
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x106d952
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 0x106d9b8
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 0x106d9c1
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 0x106d9fd
dec eax
jne 0x106d9f6
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x106d9f6
push ebx
push ebx
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_479]
push dword [0x10b00e8]
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 0x106d9df
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 [0x10b00e8]
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 0x106da54
push ebx
push ebx
push 0x414
push dword [esi + 0xc04]
call edi
push eax
jmp 0x106da5a
push dword [esi + 0xb10]
mov ecx, esi
call fcn.01038e55
jmp 0x106d9f6

Function at 0x106df9c
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x3c], 0x3c
call sub.msvcrt.dll_memset
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], 0x106dfe0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
leave
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10b0090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x106e0d8
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x106e031
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x106e066
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x106e090
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
test eax, eax
je 0x106e066
push 1
push 0
push 0x106e074
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.0100204d
leave
ret
Function at 0x106e621
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 0x106e720
push 0x80000002
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106e688
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x106e6f0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
test eax, eax
jne 0x106e67f
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 0x1031518
push 0x80000001
call esi
test eax, eax
jne 0x106e6db
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x106e6f0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
test eax, eax
jne 0x106e6d2
cmp dword [ebp - 8], edi
jne 0x106e6cb
mov dword [ebp - 8], edi
cmp dword [ebp - 0x10], edi
je 0x106e6d2
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 0x106e6ea
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
leave
ret

Function at 0x106f0d8
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 [0x10b27f0], ebx
jne 0x106f164
cmp dword [ebp + 0xc], ebx
jne 0x106f101
push 0x10130dc
push dword [ebp + 8]
call fcn.010344ed
test eax, eax
jne 0x106f164
mov ecx, edi
call fcn.01038e73
mov ecx, edi
call fcn.0106ec8f
cmp dword [ebp + 0xc], ebx
jne 0x106f12a
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 0x106f152
push 0x11
call esi
test ax, ax
jge 0x106f152
push 0x12
call esi
test ax, ax
jl 0x106f157
cmp dword [ebp + 0xc], ebx
je 0x106f163
call fcn.0106bcd5
mov ecx, edi
call fcn.0106de24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x106f4b8
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 0x106f4d0
cmp dword [esi + 0xd28], eax
jmp 0x106f4d3
cmp dword [ebp + 8], eax
sete al
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x1031694
push 0x100f4a0
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, esi
call fcn.0102f72e
mov ecx, esi
call fcn.0102f6e0
mov ecx, esi
call fcn.01020699
pop esi
pop ebp
ret 4
Function at 0x10708b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10b0090]
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 0x107090c
push ebx
push edi
push 0x10709a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0100ecf0
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x107096f
jmp 0x10708dc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x107097f
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.010065a0
mov ecx, dword [ebp - 0x418]
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x414]
push eax
push ebx
push edi
push 0x1070990
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0100ecf0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x107093a
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push edi
call fcn.010065a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 8

Function at 0x107196f
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, 0x80000001
je 0x1071a15
push 1
push 0x1029144
push 0x1029050
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x1071a15
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 [0x1069930]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
test eax, eax
jbe 0x1071a05
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x1071a05
push dword [ebp - 4]
push dword [esi + 0x10]
call dword [0x1071a50]
test eax, eax
je 0x1071a05
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 0x1071a47
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x1029050
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1071a47
push 0x1029144
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 0x1071a59
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 0x1071ab9
mov dword [ecx + 0xc], eax
xor ecx, ecx
test eax, eax
lea eax, [ebp + 8]
push eax
push 0x20006
setne cl
push 0
push 0x1017800
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1071ab4
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x102e158
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 0x1071abb
xor eax, eax
leave
ret 4

Function at 0x1072ca7
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x338]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1072cfb
cmp dword [ebp + 8], 0
jne 0x1072cea
mov edx, dword [eax + 0x29c]
mov ecx, edx
and ecx, 0xf
test dl, 0x20
je 0x1072ce3
add ecx, 3
add eax, 0x18
push eax
push ecx
jmp 0x1072cf1
add eax, 0x18
push eax
push dword [ebp + 8]
push 0x421
push dword [esi + 0x20]
call edi
mov eax, dword [esi + 0x338]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x1072d31
test byte [eax + 0x29c], 0x10
jne 0x1072d31
call ebx
sub eax, dword [ebp + 0xc]
cmp eax, 0x1388
jb 0x1072d31
call ebx
push 2
push 0x1072e60
mov dword [ebp - 4], eax
call fcn.010352f9
mov ecx, esi
call fcn.010409f4
mov ecx, 0x10b0180
call fcn.0100ed89
push 0x2c
lea eax, [ebp - 0x30]
push 0
push eax
mov dword [ebp - 0x34], 0x30
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 0x338]
add esp, 0xc
test ecx, ecx
je 0x1072d85
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x439
push dword [esi + 0x20]
add ecx, 0x98
mov dword [ebp - 0x10], ecx
call edi
cmp dword [esi + 0x338], 0
mov dword [esi + 0x340], 1
je 0x1072e42
and dword [esi + 0x390], 0
push 0x21b
push 0x1072e50
call fcn.01012644
push 0
lea eax, [ebp + 8]
push eax
push 0
push 0x2016
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1072de3
mov eax, dword [ebp + 8]
imul eax, eax, 0x3e8
mov dword [ebp + 8], eax
cmp eax, 0x2328
jb 0x1072de3
add eax, 0xffffe890
jmp 0x1072de8
mov eax, 0xbb8
add eax, 0x3e8
push eax
push 7
mov ecx, esi
call fcn.01033c17
test eax, eax
je 0x1072e42
and dword [esi + 0x90], 0
call ebx
push 0x3e8
push 4
mov ebx, 0x403
push ebx
push dword [esi + 0x20]
mov dword [esi + 0x8c], eax
call edi
push 0x1388
push 5
push ebx
push dword [esi + 0x20]
call edi
push 0
push 0
add ebx, 0xe
push ebx
push dword [esi + 0x20]
call edi
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1076028
Capabilities:
Delete registry key

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