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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
push 0x10029e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test eax, eax
jne 0x1002f4c
lea eax, [ebp - 0x84c]
push eax
push edi
mov dword [ebp - 0x84c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [0x101d0a0]
push ebx
push ebx
mov dword [ebp - 0x820], eax
mov eax, dword [0x101d094]
mov edi, 0x101d
push edi
push eax
mov dword [ebp - 0x808], eax
call esi
push ebx
push 1
push edi
push dword [ebp - 0x808]
mov dword [ebp - 0x81c], eax
call esi
push ebx
push 2
push edi
push dword [ebp - 0x808]
mov dword [ebp - 0x818], eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x814], eax
xor eax, eax
cmp dword [0x101d0b0], ebx
push 0x40
setne al
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x84c]
push eax
push 3
push ebx
push 0x10029d8
push dword [ebp - 0x80c]
call edi
push 4
push 0x105d120
push 4
push ebx
push 0x1002a60
push dword [ebp - 0x80c]
call edi
mov eax, dword [0x101d090]
push 3
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push ebx
push 9
push 0x110a
push eax
mov dword [ebp - 0x808], eax
call esi
push eax
push dword [ebp - 0x808]
call fcn.01002c60
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x804]
push eax
push 1
push ebx
push 0x1002a74
push dword [ebp - 0x80c]
call edi
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 9
push 0x110b
push dword [0x101d090]
call esi
mov eax, dword [0x101d0a8]
cmp eax, ebx
jne 0x10040dc
mov eax, dword [0x101d0a4]
cmp eax, ebx
je 0x1002f79
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002f69

Function at 0x100309b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call esi
push 0xd
mov dword [0x101d07c], eax
call esi
push 8
mov dword [0x101d070], eax
call esi
push 5
mov dword [0x101d078], eax
call esi
push eax
push dword [0x101d0a4]
mov dword [0x101d06c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push dword [0x101d06c]
push 0
push 0x1001
push dword [0x101d094]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
Function at 0x1003313
Capabilities:
Query or enumerate registry value

Disassembly:
cmp ebx, eax
je 0x1003355
cmp esi, eax
je 0x1003355
mov edx, dword [ebx]
mov ecx, edx
shr ecx, 1
cmp ecx, eax
jle 0x1003306
lea ecx, [esi + ecx*2]
cmp word [ecx - 2], ax
je 0x1003355
jmp 0x1004994
je 0x100499e
jmp 0x1003355
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0x1c], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jne 0x1003355
cmp edi, eax
je 0x1003355
mov edi, dword [edi]
cmp edi, 1
je 0x10032e6
cmp edi, 2
je 0x10032e6
cmp edi, 7
je 0x10032e6
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
xor eax, eax
mov word [ecx], ax
jmp 0x1003355
cmp edx, 1
jne 0x10049b1
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
jmp 0x1003355
xor eax, eax
mov word [esi], ax
jmp 0x1003355
Function at 0x10060da
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x105e2e0]
push esi
mov esi, dword [0x105e2e4]
push edi
xor edi, edi
sub esi, eax
je 0x1006160
mov ecx, dword [0x105e2a4]
push dword [ebp + 8]
add ecx, eax
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006160
push ebx
lea eax, [esi + 7]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1006159
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp - 4]
mov edi, eax
lea eax, [edi + 4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push dword [0x101d080]
call dword [sym.imp.USER32.dll_SetClipboardData]
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x100616d
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
test byte [0x105e2a0], 8
je 0x100618f
and dword [0x105e2a0], 0xfffffff7
inc dword [0x105e2dc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006297
push dword [0x101d080]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1006291
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x1006287
mov ecx, dword [ebx]
mov eax, dword [0x105e2a8]
push esi
push edi
xor edi, edi
inc edi
lea edx, [ecx + eax]
cmp edx, dword [0x105e2ac]
mov dword [ebp - 4], edi
jle 0x1006227
and dword [ebp - 4], 0
lea edx, [ebp - 8]
push edx
push ecx
push eax
call fcn.0100e39f
test eax, eax
jl 0x100629e
mov esi, dword [ebp - 8]
push 2
push esi
push dword [0x105e2a4]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x100629e
mov dword [0x105e2a4], eax
mov eax, dword [0x105e2a8]
mov dword [0x105e2ac], esi
mov dword [ebp - 4], edi
mov ecx, dword [0x105e2e0]
cmp ecx, dword [0x105e2e4]
je 0x1006244
push 8
push dword [ebp + 8]
call fcn.01005fef
mov eax, dword [0x105e2a8]
mov ecx, dword [0x105e2dc]
mov edx, dword [0x105e2a4]
mov esi, dword [ebx]
sub eax, ecx
push eax
lea edi, [edx + ecx]
lea eax, [esi + edi]
push edi
push eax
call dword [sym.imp.msvcrt.dll_memmove]
push esi
add ebx, 4
push ebx
push edi
call sub.msvcrt.dll_memcpy
add dword [0x105e2a8], esi
add dword [0x105e2dc], esi
add esp, 0x18
push dword [ebp + 8]
call fcn.01005d53
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret 4
push 0
push 0x10
push 0x70
push 0x76
push dword [ebp + 8]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x18
jmp 0x1006285
Function at 0x1006dc6
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
xor ebx, ebx
test ax, ax
push 0x10
setl bl
call esi
mov edi, dword [ebp + 0xc]
mov esi, dword [0x105e2dc]
xor ecx, ecx
test ax, ax
setl cl
mov dword [ebp - 4], ecx
cmp edi, 0x26
ja 0x1006edb
je 0x1006ec3
cmp edi, 0x21
jb 0x1006f7d
cmp edi, 0x22
jbe 0x1006e8f
cmp edi, 0x23
je 0x1006e5b
cmp edi, 0x24
je 0x1006e36
cmp edi, 0x25
jne 0x1006f7d
and dword [0x105e2a0], 0xffffffef
dec esi
jmp 0x1006ece
test ebx, ebx
je 0x1006e3e
xor esi, esi
jmp 0x1006e4f
test byte [0x105e2a0], 0x10
je 0x1006e4c
sub esi, 8
jmp 0x1006e4f
and esi, 0xfffffff8
and dword [0x105e2a0], 0xffffffef
jmp 0x1006f71
test ebx, ebx
jne 0x1006f4f
test byte [0x105e2a0], 0x10
jne 0x1006f7d
mov eax, dword [0x105e2a8]
and esi, 0xfffffff8
add esi, 8
cmp esi, eax
jg 0x1006f6f
or dword [0x105e2a0], 0x10
jmp 0x1006f71
mov eax, dword [0x105e2cc]
imul eax, eax, 0xfffffff8
add esi, eax
xor eax, eax
cmp edi, 0x21
setne al
push 0
inc eax
inc eax
push eax
push 0
push dword [ebp + 8]
call fcn.010063bd
mov eax, dword [0x105e2cc]
lea esi, [esi + eax*8]
cmp edi, 0x21
jne 0x1006f66
jmp 0x1006ece
test ebx, ebx
jne 0x1006f7d
sub esi, 8
test esi, esi
jge 0x1006f71
jmp 0x1006f7d
sub edi, 0x27
je 0x1006f5e
dec edi
je 0x1006f2c
sub edi, 5
je 0x1006f0c
dec edi
jne 0x1006f7d
test ebx, ebx
jne 0x1006f7d
test ecx, ecx
je 0x1006f00
push ebx
push 0x18
jmp 0x1006f22
push 0x2e
push dword [ebp + 8]
call fcn.01005fef
jmp 0x1006f7d
xor eax, eax
cmp ecx, eax
je 0x1006f1b
cmp ebx, eax
jne 0x1006f7d
push eax
push 0x16
jmp 0x1006f22
cmp ebx, eax
je 0x1006f7d
push eax
push 3
push dword [ebp + 8]
call fcn.010067d8
jmp 0x1006f7d
test ebx, ebx
jne 0x1006f7d
add esi, 8
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, dword [0x105e2c8]
jle 0x1006f66
test byte [0x105e2a0], 0x10
je 0x1006f7d
and dword [0x105e2a0], 0xffffffef
mov esi, dword [0x105e2a8]
jmp 0x1006f71
and dword [0x105e2a0], 0xffffffef
inc esi
mov eax, dword [0x105e2a8]
cmp esi, eax
jle 0x1006f71
mov esi, eax
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call fcn.010069e2
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100724f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x500
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [0x105e038], eax
test eax, eax
jne 0x100732e
push 0x128
mov esi, 0x105e040
push esi
push 0x502
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [0x105e040], 0
jne 0x10072af
mov dword [0x105e038], 1
jmp 0x100732e
push 0
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
lea ecx, [ebp - 0x208]
push ecx
push eax
call fcn.010086ed
push eax
call fcn.01002732
test eax, eax
je 0x1007322
cmp dword [ebp + 0xc], 0
je 0x10072ed
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x10
lea eax, [ebp - 0x204]
push eax
push 0x94
push edi
push dword [0x101d054]
call fcn.0100ca02
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1007330
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100160d
leave
ret 8
Function at 0x10087f9
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x5c
mov dword [ebp - 0x438], eax
pop eax
push 8
pop ecx
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], ax
xor eax, eax
push 0
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push 9
mov edi, 0x110a
push edi
push dword [0x101d090]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x440], eax
call esi
push eax
push 3
push edi
push dword [0x101d090]
mov dword [ebp - 0x434], eax
call esi
push dword [ebp - 0x434]
mov dword [ebp - 0x43c], eax
call fcn.010086ed
mov ebx, eax
push 0x101
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x434]
call fcn.0100b314
xor eax, eax
cmp ebx, dword [0x101d0e8]
setne al
mov dword [ebp - 0x444], eax
test eax, eax
je 0x10088b2
push 0x10
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.0100b314
jmp 0x10088cd
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x448], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [ebp - 0x43c], ebx
jne 0x10088df
xor esi, esi
mov dword [ebp - 0x440], esi
jmp 0x100891d
push dword [ebp - 0x43c]
push 3
push edi
push dword [0x101d090]
call esi
cmp eax, ebx
jne 0x10088f8
xor esi, esi
jmp 0x100891d
push 0
push 0x101
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x43c]
push dword [0x101d090]
call fcn.01002c60
lea esi, [ebp - 0x430]
push dword [ebp - 0x434]
call fcn.0100871c
lea ecx, [ebp - 0x44c]
push ecx
push dword [ebp - 0x438]
push 0
push eax
push dword [ebp - 0x444]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebp - 0x440]
call fcn.01012f91
pop edi
pop esi
pop ebx
test eax, eax
jne 0x100897b
push dword [ebp - 0x44c]
push dword [ebp - 0x438]
call dword [sym.imp.ACLUI.dll_EditSecurity]
push dword [0x101d090]
call fcn.01003ad2
jmp 0x100899d
push 0
push 0x10
push 0x1b58
push 0x1b8c
push dword [ebp - 0x438]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100160d
leave
ret 4
Function at 0x100979a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01001c0d
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1008]
push eax
push 0x1005438
push 0x80000001
mov dword [ebp - 0x1010], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100991c
push esi
push 3
mov esi, 0x400
push esi
lea eax, [ebp - 0x1004]
push eax
push 0
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [0x101d090]
call fcn.01002c60
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], eax
push 0x5c
push dword [ebp - 0x100c]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x1009837
inc eax
inc eax
mov dword [ebp - 0x100c], eax
jne 0x1009819
push ebx
push dword [ebp - 0x100c]
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.01002d3f
lea eax, [ebp - 0x804]
push eax
mov ebx, 0x100800f
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x10098cd
xor eax, eax
cmp word [ebp - 0x804], ax
je 0x10098ac
push eax
push eax
lea ecx, [ebp - 0x1014]
push ecx
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call fcn.01003313
test eax, eax
jne 0x10098de
push 0x10
push 0xac
push 0xab
push dword [ebp - 0x1010]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x14
push dword [ebp - 0x100c]
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.01002d3f
lea eax, [ebp - 0x804]
push eax
push ebx
push dword [ebp - 0x1010]
push 0x70
push dword [0x101d054]
call edi
cmp eax, 1
jne 0x100990e
jmp 0x1009861
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x1004]
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100160d
leave
ret 4
Function at 0x1009930
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.01001c0d
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor edi, edi
cmp ax, word [0x105d668]
jne 0x1009999
push 0x104
mov esi, 0x105d668
push esi
push 0x22
push dword [0x101d054]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1009980
mov word [0x105d668], ax
jmp 0x1009b37
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [0x105d870], eax
cmp word [0x105d668], di
je 0x1009b37
lea eax, [ebp - 0x180c]
push eax
push 0x1005438
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1009b37
lea eax, [ebp - 0x1808]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1818]
push eax
push edi
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x1804]
push eax
push edi
push dword [ebp - 0x180c]
mov esi, 0x400
mov dword [ebp - 0x1810], esi
mov dword [ebp - 0x1808], 0x800
mov dword [ebp - 0x1814], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1009b2b
push ebx
cmp dword [ebp - 0x1818], 1
jne 0x1009b2a
cmp dword [ebp - 0x1808], edi
jbe 0x1009b2a
push 0x5c
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
mov ebx, eax
push 0x105d668
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
je 0x1009ad5
lea ecx, [ebp - 0x1004]
cmp eax, ecx
jne 0x1009ad5
cmp ebx, edi
je 0x1009ad5
mov ecx, dword [0x105d870]
lea eax, [eax + ecx*2]
cmp eax, ebx
jne 0x1009ad5
push esi
lea eax, [ebp - 0x804]
push eax
push 0x13
push dword [0x101d054]
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
push edi
push esi
lea eax, [ebp - 0x804]
push eax
call fcn.01008d83
add ebx, 2
push ebx
push esi
lea eax, [ebp - 0x804]
push eax
call fcn.0101278a
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x804]
push eax
push 1
push edi
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x180c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1814]
inc dword [ebp - 0x1814]
lea ecx, [ebp - 0x1808]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [ebp - 0x1818]
push ecx
push edi
lea ecx, [ebp - 0x1810]
push ecx
lea ecx, [ebp - 0x1804]
push ecx
push eax
push dword [ebp - 0x180c]
mov dword [ebp - 0x1810], esi
mov dword [ebp - 0x1808], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1009a11
pop ebx
push dword [ebp - 0x180c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100160d
leave
ret
Function at 0x1009b4a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01001c0d
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.01009930
lea eax, [ebp - 0x1008]
push eax
push 0x1005438
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1009c00
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1014]
push eax
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffafe
push eax
push dword [ebp - 0x1008]
mov dword [ebp - 0x1010], 0x400
mov dword [ebp - 0x100c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1009bf4
cmp dword [ebp - 0x1014], 1
jne 0x1009bf4
cmp dword [ebp - 0x100c], eax
jbe 0x1009bf4
push 1
lea eax, [ebp - 0x804]
push eax
call fcn.010030f5
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100160d
leave
ret 8
Function at 0x100b3db
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x200
lea eax, [ebp - 0x404]
push eax
xor edi, edi
push 0
inc edi
call fcn.0100b35d
test eax, eax
je 0x100b445
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100b445
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x404]
push eax
push esi
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0100160d
leave
ret 4

Function at 0x100b4cd
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 3
push 0x110a
push ebx
mov dword [ebp - 0x210], edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x100b509
inc eax
jmp 0x100b5df
push esi
xor esi, esi
push esi
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call fcn.01002c60
lea ecx, [ebp - 0x208]
push ecx
push 8
push esi
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100b543
xor eax, eax
jmp 0x100b5de
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0xff
sub edi, eax
push edi
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x20c], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100b5af
inc dword [ebp - 0x20c]
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.0100b1da
push eax
lea eax, [ebp - 0x204]
push eax
push 0xffff0001
push dword [ebp - 0x210]
push ebx
call fcn.0100b182
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x100b56e
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x210]
push 0
push 0x1113
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 8
Function at 0x100bd6d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push eax
push dword [0x101d090]
call fcn.01002c60
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
lea esi, [eax + eax + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100be06
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100be00
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
lea ecx, [ebp - 0x404]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100160d
leave
ret 8
Function at 0x100cb08
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100cb3d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100cbf8
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100cb8e
cmp eax, 0xea
je 0x100cb8e
cmp eax, 0x7a
je 0x100cb8e
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100cbf7
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x100cba9
push 8
pop esi
jmp 0x100cb81
push edi
xor edi, edi
mov eax, dword [ebp - 8]
inc eax
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100cbcd
push esi
push dword [ebp - 4]
call fcn.0100cb08
test eax, eax
je 0x100cbce
inc edi
cmp eax, 0x103
je 0x100cbda
cmp edi, dword [ebp - 0x10]
jb 0x100cbac
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
leave
ret 8