joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102cf30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push edi
mov edi, ecx
call fcn.0102ce82
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], eax
setne al
cmp dword [ebp + 8], 0xffffffff
je 0x102d0b8
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp al, cl
je 0x102d0b8
cmp al, bl
je 0x102d0c1
lea eax, [ebp + 8]
push eax
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x102d0b8
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x1039ed0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x102d0b8
push esi
lea eax, [ebp - 8]
push eax
push 0x1039f24
push 3
push ebx
mov esi, 0x103ab60
push esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x102d0ae
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x101d3cc
push eax
call dword [ecx]
test eax, eax
jl 0x102d0a5
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x102d09c
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_IUnknown_Exec]
mov word [ebp - 0x20], 3
mov dword [ebp - 0x18], 0x1a
call esi
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x2f
push 0x1039f34
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x101b420
push eax
call dword [ecx]
test eax, eax
jl 0x102d09c
mov eax, dword [edi + 0x40]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x102d093
mov ecx, dword [edi + 0x40]
mov edx, dword [ecx]
push 2
movsx eax, ax
push 2
push eax
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop esi
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
mov ecx, edi
call fcn.0102ce82
cmp eax, 0xffffffff
je 0x102d0b8
mov ecx, dword [edi + 0x40]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
jmp 0x102d0c1
Function at 0x102d0fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push 0x208
lea eax, [ebp - 0x44c]
push eax
push dword [ebp + 8]
push dword [0x103f654]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x102d170
and dword [ebp - 0x3c], 0
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x3e
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
pop edi
je 0x102d14c
and word [eax], 0
inc eax
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x44c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret 4
Function at 0x102dd42
Capabilities:
Enumerate gui resources
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
push 0xcd
mov edi, ecx
call fcn.010341f4
mov ecx, eax
xor eax, eax
cmp ecx, eax
mov dword [ebp - 4], ecx
je 0x102df65
cmp dword [ebp + 8], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
je 0x102ddaa
cmp dword [edi + 0x320], eax
je 0x102dd8c
push 0x400
push 1
push ecx
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x102ddbf
cmp dword [edi + 0x2e8], eax
jne 0x102dd9c
cmp dword [edi + 0x2ec], eax
jne 0x102dd9f
push 3
pop eax
push eax
push 0x1a5
push ecx
call ebx
jmp 0x102ddbf
push 2
pop esi
push 0x400
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
dec esi
jns 0x102ddad
mov eax, dword [edi + 0x4fc]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
push eax
mov esi, 0x1a8
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.01014941
test eax, eax
jne 0x102de01
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
je 0x102de01
xor eax, eax
jmp 0x102de04
push 3
pop eax
push eax
push esi
push dword [ebp - 4]
call ebx
cmp dword [edi + 0x428], 0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
je 0x102de85
cmp dword [edi + 0x47c], 0
je 0x102de85
push 0x1e
lea eax, [ebp - 0x98]
push eax
push 0x216
push dword [0x103f654]
call esi
push 0x1e
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi + 0x47c]
push dword [eax]
push dword [0x103f654]
call esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov eax, 0x1a0
push eax
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ModifyMenuW]
jmp 0x102de95
push 0
push 0x1a0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
cmp dword [0x103f06c], 0
je 0x102decd
push 0x40
lea eax, [ebp - 0x118]
push eax
push 0x352
push dword [0x103f654]
call esi
lea eax, [ebp - 0x118]
push eax
mov eax, 0x197
push eax
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push edi
push 0x102cc1c
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x102df01
push 3
push 0x193
push dword [ebp - 4]
call ebx
push 3
push 0x194
push dword [ebp - 4]
call ebx
push 3
push 0x195
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1039f78
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102df60
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1039f54
push dword [ebp - 8]
mov dword [ebp + 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
je 0x102df60
push 3
push 0x1a4
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x102e5d3
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
push 0x103a024
push dword [ebp + 8]
mov edi, ecx
call esi
test eax, eax
jne 0x102e609
cmp dword [0x103f06c], eax
push 1
sete al
mov ecx, edi
push eax
call fcn.01002b53
jmp 0x102e688
push 0x103a018
push dword [ebp + 8]
call esi
test eax, eax
jne 0x102e688
and dword [ebp - 0x3c], eax
push 0xe
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x102e688
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x102e688
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x103a008
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 4

Function at 0x102e830
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
xor ebp, ebp
cmp dword [0x1040cc4], ebp
push edi
mov edi, ecx
jne 0x102e902
push ebx
push esi
push 2
pop ebx
push ebx
push dword [esp + 0x18]
call fcn.0101f080
test eax, eax
jne 0x102e900
push 0xffffffffffffffff
push ebp
push 3
push 0x28
push 0x101b0a4
call fcn.01017ba9
push ebp
push ebp
push ebp
push 0x103a06c
push 0x101b3a8
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x102e893
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x102e89a
mov ecx, edi
call fcn.0102e697
mov ecx, edi
call fcn.0102d638
push dword [esp + 0x14]
lea esi, [edi + 0x400]
mov dword [esi], ebx
call dword [sym.imp.SHELL32.dll_Ordinal_60]
mov dword [esi], ebp
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jge 0x102e900
push 0x11
call esi
test ax, ax
jge 0x102e900
push 0x12
call esi
test ax, ax
jge 0x102e900
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
inc ebx
push ebx
push ebp
push 0x12
push dword [0x103f068]
mov dword [0x1040aa8], ebx
call esi
push ebp
push ebp
push 0x12
push dword [edi + 4]
call esi
mov dword [0x1040cc4], ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x102f062
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ebx, ebx
mov edi, ecx
cmp dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x102f0c6
cmp dword [ebp + 8], ebx
push esi
push 5
pop eax
lea esi, [edi + 8]
je 0x102f084
mov dword [esi], eax
jmp 0x102f086
inc dword [esi]
cmp dword [esi], eax
ja 0x102f0c5
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push 0x101d638
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102f0c5
push 4
push esi
push 4
push ebx
push 0x101d620
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov dword [edi + 0xc], ebx
pop edi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, 0x80000001
je 0x102f173
push 1
push 0x101d6b4
push 0x101d638
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
test eax, eax
mov dword [ebp - 4], eax
je 0x102f173
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
pop edi
push dword [esi + 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10001
call dword [0x103b8cc]
test eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jbe 0x102f163
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x102f163
push dword [ebp - 4]
push dword [esi + 0x1c]
call dword [0x103b8c8]
test eax, eax
je 0x102f163
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 0x102f1a5
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x101d638
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102f1a5
push 0x101d6b4
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 0x102f206
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x18], eax
je 0x102f264
mov dword [ecx + 0x18], eax
xor ecx, ecx
test eax, eax
lea eax, [ebp + 8]
push eax
push 0xf003f
setne cl
push 0
push 0x101d408
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102f25f
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x101d6d4
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 0x102f266
xor eax, eax
leave
ret 4
Function at 0x103040f
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x5de
push esi
mov esi, ecx
jne 0x1030432
cmp dword [ebp + 0xc], 6
je 0x10304fe
call fcn.010300e3
jmp 0x10304fe
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x10304fc
push dword [esi + 0x14]
lea ecx, [esi + 0x23c]
push edi
push dword [ebp + 8]
call fcn.010067a6
mov ebx, eax
cmp ebx, edi
je 0x10304fc
cmp dword [esi + 0x26c], edi
je 0x103047d
push edi
push dword [ebp + 8]
push 0x419
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ecx, esi
call fcn.0102f575
push dword [ebx]
call fcn.010343f4
cmp dword [ebx + 0x10], 3
jb 0x10304ba
xor eax, eax
cmp dword [esi + 0x26c], edi
mov ecx, esi
setne al
add eax, 0x400
push eax
push ebx
call fcn.01017f48
cmp dword [esi + 0x26c], edi
je 0x10304fc
cmp dword [esi + 0x270], edi
je 0x10304fc
push 0x401
jmp 0x10304f4
cmp dword [esi + 0x26c], edi
je 0x10304fc
push 0x201
push ebx
mov ecx, esi
call fcn.01017f48
mov edi, 0x202
push edi
push ebx
mov ecx, esi
call fcn.01017f48
cmp dword [esi + 0x270], 0
je 0x10304fc
push 0x203
push ebx
mov ecx, esi
call fcn.01017f48
push edi
mov ecx, esi
push ebx
call fcn.01017f48
pop edi
pop ebx
pop esi
pop ebp
ret 8

Function at 0x1030d45
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030e3b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], esi
call ebx
test eax, eax
jne 0x1030e0c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.01035aee
test eax, eax
jl 0x1030df5
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x1030df5
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x143
push dword [ebp + 8]
call esi
test eax, eax
push dword [ebp - 0xc]
jl 0x1030def
push eax
push 0x151
push dword [ebp + 8]
call esi
jmp 0x1030df5
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 8]
push edi
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x1030d99
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push 0x80000001
push dword [ebp + 8]
call fcn.01030cb7
test eax, eax
pop edi
pop ebx
jne 0x1030e3b
push dword [ebp + 0xc]
push 0x80000002
push dword [ebp + 8]
call fcn.01030cb7
pop esi
leave
ret 8

Function at 0x1030ee9
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push dword [esp + 0x10]
push 0x101b100
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x1030f2a
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
lea eax, [ebp - 8]
push eax
push 0xb
xor esi, esi
push esi
push 0x103a540
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030ff8
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1030fb9
jmp 0x1030fb4
dec dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x104
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1030fb9
cmp dword [ebp - 0x10], 8
jbe 0x1030fb4
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], esi
jge 0x1030f72
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 0x18]
push eax
push 3
push 0x101c7fc
push 0x101c780
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push 0xffffffffffffffff
push 1
push 3
push 0x28
push 0x101b0a4
call fcn.01017ba9
pop esi
leave
ret

Function at 0x103110f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x463
cmp dword [esi + 8], eax
mov ebx, ecx
je 0x103113a
push 0x103a500
push 0xc
push 0
push dword [esi + 0xc]
call dword [sym.imp.SHELL32.dll_Ordinal_127]
jmp 0x1031199
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x70
mov edi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x103115f
push 0
push 9
push 0x110a
jmp 0x1031181
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
pop edi
je 0x1031199
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
push 0xc
push eax
push ecx
call dword [edx + 0x18]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8
Function at 0x1031491
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], 0x103a72c
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
lea eax, [ebp - 0x244]
je 0x10314dc
push 0x103a724
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x23e]
jmp 0x10314ee
push 0x103a710
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x232]
push edi
push 0xb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103f654]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
leave
ret 4

Function at 0x1031527
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 8
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x10315a8
push edi
push dword [ebp - 8]
call fcn.0103434f
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
mov edi, eax
test edi, edi
je 0x103159e
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push 0x60
push dword [ebp + 8]
push edi
call dword [eax + 0x10]
test eax, eax
jl 0x1031598
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x103158f
cmp dword [ebp - 0xc], 1
jne 0x103158f
push dword [ebp - 0x10]
call esi
inc ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call esi
test ebx, ebx
pop edi
jne 0x10315de
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [esi + 0x10409ec]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10315d6
push dword [ebp - 0x10]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
cmp esi, 0x14
jb 0x10315aa
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
pop ebx
leave
ret 8

Function at 0x10315f8
Capabilities:
Delete registry key

Disassembly:
push esi
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
xor edi, edi
lea esi, [edi + 0x10409ec]
push dword [esi]
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [esp + 0xc], 0
je 0x103162c
push dword [esi]
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
add edi, 4
cmp edi, 0x14
jb 0x1031606
pop edi
pop esi
ret 4
Function at 0x103175a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 2
push 0x103a748
push 0x101c58c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x10317f7
lea eax, [ebp - 4]
push eax
push 0x103a754
push 1
push esi
push 0x103a764
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10317f1
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10317e8
push dword [ebp - 0xc]
call fcn.0103168d
push esi
xor eax, eax
push esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push dword [ebp - 0x10]
mov eax, dword [ebx]
push dword [ebp - 0x14]
push ebx
call dword [eax + 0x14]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
push dword [ebp - 0xc]
call dword [0x101b590]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, 0x104
mov dword [ebp - 4], esi
push esi
jmp 0x1031845
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call fcn.010316da
inc dword [ebp - 4]
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call edi
test eax, eax
je 0x1031817
pop edi
pop esi
pop ebx
leave
ret 8