joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100301b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x1059d80]
push ebx
mov ebx, dword [0x1059d84]
push edi
xor edi, edi
sub ebx, eax
je 0x10030a4
mov ecx, dword [0x1059d44]
push esi
push dword [ebp + 8]
lea esi, [ecx + eax]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10030a3
lea eax, [ebx + 7]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x100309d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
push dword [0x1059d30]
call dword [sym.imp.USER32.dll_SetClipboardData]
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x10030b1
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
test byte [0x1059d40], 8
mov dword [ebp - 4], edi
je 0x10030d4
and dword [0x1059d40], 0xfffffff7
inc dword [0x1059d7c]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10031c9
push dword [0x1059d30]
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x10031c3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, edi
je 0x10031b9
mov ecx, dword [esi]
mov eax, dword [0x1059d48]
add ecx, eax
cmp ecx, dword [0x1059d4c]
mov dword [ebp - 4], 1
jle 0x1003151
push 2
push ecx
push dword [0x1059d44]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, edi
je 0x10031d1
mov dword [0x1059d44], eax
mov ecx, dword [esi]
mov eax, dword [0x1059d48]
add ecx, eax
mov dword [0x1059d4c], ecx
mov ecx, dword [0x1059d80]
cmp ecx, dword [0x1059d84]
je 0x100316e
push 8
push dword [ebp + 8]
call fcn.01002f32
mov eax, dword [0x1059d48]
mov ecx, dword [0x1059d7c]
mov edx, dword [0x1059d44]
push ebx
mov ebx, dword [esi]
sub eax, ecx
push eax
lea edi, [edx + ecx]
lea eax, [ebx + edi]
push edi
push eax
call dword [sym.imp.msvcrt.dll_memmove]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
add esi, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 0xc
push dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [0x1059d48], ebx
add dword [0x1059d7c], ebx
call fcn.01002808
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
pop edi
leave
ret 4
push edi
push 0x10
push 0x70
push 0x76
push dword [ebp + 8]
push dword [0x1019530]
call fcn.01009e27
add esp, 0x18
mov dword [ebp - 4], edi
jmp 0x10031b9
Function at 0x10037f7
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]
xor ecx, ecx
test ax, ax
setl cl
cmp edi, 0x26
mov dword [ebp - 4], ecx
mov ecx, dword [0x1059d7c]
ja 0x100390b
je 0x10038f3
cmp edi, 0x21
jb 0x10039ac
cmp edi, 0x22
jbe 0x10038c0
cmp edi, 0x23
je 0x100388c
cmp edi, 0x24
je 0x1003867
cmp edi, 0x25
jne 0x10039ac
and dword [0x1059d40], 0xffffffef
dec ecx
jmp 0x10038fe
test ebx, ebx
je 0x100386f
xor ecx, ecx
jmp 0x1003880
test byte [0x1059d40], 0x10
je 0x100387d
sub ecx, 8
jmp 0x1003880
and ecx, 0xfffffff8
and dword [0x1059d40], 0xffffffef
jmp 0x10039a0
test ebx, ebx
jne 0x100397e
test byte [0x1059d40], 0x10
jne 0x10039ac
mov eax, dword [0x1059d48]
and ecx, 0xfffffff8
add ecx, 8
cmp ecx, eax
jg 0x100399e
or dword [0x1059d40], 0x10
jmp 0x10039a0
mov eax, dword [0x1059d6c]
neg eax
lea esi, [ecx + eax*8]
xor eax, eax
cmp edi, 0x21
setne al
push 0
inc eax
inc eax
push eax
push 0
push dword [ebp + 8]
call fcn.010032cb
cmp edi, 0x21
mov eax, dword [0x1059d6c]
lea ecx, [esi + eax*8]
je 0x10038fe
jmp 0x1003995
test ebx, ebx
jne 0x10039ac
sub ecx, 8
test ecx, ecx
jl 0x10039ac
jmp 0x10039a0
sub edi, 0x27
je 0x100398d
dec edi
je 0x100395e
sub edi, 5
je 0x100393d
dec edi
jne 0x10039ac
test ebx, ebx
jne 0x10039ac
cmp dword [ebp - 4], ebx
je 0x1003931
push ebx
push 0x18
jmp 0x100394b
push 0x2e
push dword [ebp + 8]
call fcn.01002f32
jmp 0x10039ac
xor eax, eax
cmp dword [ebp - 4], eax
je 0x1003955
cmp ebx, eax
jne 0x10039ac
push eax
push 0x16
push dword [ebp + 8]
call fcn.010034df
jmp 0x10039ac
cmp ebx, eax
je 0x10039ac
push eax
push 3
jmp 0x100394b
test ebx, ebx
jne 0x10039ac
add ecx, 8
mov eax, ecx
push 8
cdq
pop esi
idiv esi
cmp eax, dword [0x1059d68]
jle 0x1003995
test byte [0x1059d40], 0x10
je 0x10039ac
and dword [0x1059d40], 0xffffffef
mov ecx, dword [0x1059d48]
jmp 0x10039a0
and dword [0x1059d40], 0xffffffef
inc ecx
mov eax, dword [0x1059d48]
cmp ecx, eax
jle 0x10039a0
mov ecx, eax
push dword [ebp - 4]
push ecx
push dword [ebp + 8]
call fcn.01002db0
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1003cf5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1019214]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x500
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
mov dword [0x1059ad8], eax
jne 0x1003dd2
push 0x128
mov esi, 0x1059ae0
push esi
push 0x502
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [0x1059ae0], 0
jne 0x1003d53
mov dword [0x1059ad8], 1
jmp 0x1003dd2
push 0
push 9
push 0x110a
push dword [0x1019080]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
lea ecx, [ebp - 0x208]
push ecx
push eax
call fcn.01005586
push eax
call fcn.0100a8f2
test eax, eax
je 0x1003dc6
cmp dword [ebp + 0xc], 0
je 0x1003d91
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 [0x1019530]
call fcn.01009e27
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1003dd4
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01016806
leave
ret 8
Function at 0x100484d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x1019214]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x80c]
push eax
push 0x1001678
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test eax, eax
jne 0x1004997
lea eax, [ebp - 0x84c]
push eax
push edi
mov dword [ebp - 0x84c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [0x1019090]
push ebx
push ebx
mov dword [ebp - 0x820], eax
mov eax, dword [0x1019084]
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 [0x10190a0], ebx
push 0x40
setne al
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x84c]
push eax
push 3
push ebx
push 0x1001778
push dword [ebp - 0x80c]
call edi
push 4
push 0x10190e0
push 4
push ebx
push 0x1001784
push dword [ebp - 0x80c]
call edi
mov eax, dword [0x1019080]
push 3
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.010080e7
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 0x1001798
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 [0x1019080]
call esi
mov eax, dword [0x1019098]
cmp eax, ebx
je 0x10049b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1019094]
cmp eax, ebx
je 0x10049c7
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
pop ebx
call fcn.01016806
leave
ret 4
Function at 0x1004abb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01016af0
mov eax, dword [0x1019214]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
push eax
push 0x10016f0
push 0x80000001
mov dword [ebp - 0x1010], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1004c33
push 3
lea eax, [ebp - 0x1004]
push eax
push 0
push 9
push 0x110a
push dword [0x1019080]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [0x1019080]
call fcn.010080e7
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], eax
push 0x5c
push dword [ebp - 0x100c]
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x1004b4f
inc eax
inc eax
mov dword [ebp - 0x100c], eax
jne 0x1004b31
push ebx
push esi
push dword [ebp - 0x100c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x804]
push eax
call esi
lea eax, [ebp - 0x804]
push eax
mov ebx, 0x10049e2
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x1004be4
xor eax, eax
cmp word [ebp - 0x804], ax
je 0x1004bc7
push eax
push eax
lea ecx, [ebp - 0x1014]
push ecx
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call fcn.0100a001
test eax, eax
jne 0x1004bf5
push 0x10
push 0xac
push 0xab
push dword [ebp - 0x1010]
push dword [0x1019530]
call fcn.01009e27
add esp, 0x14
push dword [ebp - 0x100c]
lea eax, [ebp - 0x804]
push eax
call esi
lea eax, [ebp - 0x804]
push eax
push ebx
push dword [ebp - 0x1010]
push 0x70
push dword [0x1019530]
call edi
cmp eax, 1
je 0x1004b7c
jmp 0x1004c25
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 esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.01016806
leave
ret 4

Function at 0x1004e5e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01016af0
mov eax, dword [0x1019214]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
push eax
push 0x10016f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1004f08
mov eax, 0x400
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1010], eax
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]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1004efc
cmp dword [ebp - 0x1014], 1
jne 0x1004efc
cmp dword [ebp - 0x100c], eax
jbe 0x1004efc
lea eax, [ebp - 0x804]
push eax
call fcn.01004527
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
call fcn.01016806
leave
ret 8
Function at 0x1004f19
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.01016af0
mov eax, dword [0x1019214]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x104c], eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x1005169
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
mov dword [ebp - 0x100c], eax
je 0x1005169
push ebx
push esi
push edi
push 0xc
pop ecx
push 0x30
xor eax, eax
pop esi
lea edi, [ebp - 0x1048]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0x500
push dword [ebp - 0x100c]
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1044], 1
mov dword [ebp - 0x103c], 3
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ebx, 0x400
push ebx
push 2
push dword [ebp - 0x100c]
call dword [sym.imp.USER32.dll_DeleteMenu]
test eax, eax
jne 0x1004fac
lea eax, [ebp - 0x1010]
push eax
push 0x10016f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100515a
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [ebp - 0x1050]
push ecx
push eax
lea ecx, [ebp - 0x1018]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov dword [ebp - 0x1008], eax
push eax
jmp 0x100512e
cmp dword [ebp - 0x1008], 0
jne 0x1005092
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x1048]
rep stosd dword es:[edi], eax
and dword [ebp - 0x103c], eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0x500
push dword [ebp - 0x100c]
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1044], 1
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x1048]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1048]
push eax
push 2
push 0xffffffffffffffff
push dword [ebp - 0x100c]
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1044], 0x10
mov dword [ebp - 0x1040], 0x800
call dword [sym.imp.USER32.dll_InsertMenuItemW]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x1048]
rep stosd dword es:[edi], eax
and dword [ebp - 0x1040], eax
mov edi, dword [ebp - 0x1008]
and dword [ebp - 0x103c], 0
lea eax, [ebp - 0x804]
add edi, 0x502
push eax
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1044], 0x13
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x1024], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1048]
push eax
push 0
push edi
push dword [ebp - 0x100c]
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc dword [ebp - 0x1008]
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1050]
push eax
push 0
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
push dword [ebp - 0x1010]
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100500e
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x104c]
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.01016806
leave
ret 8
Function at 0x10054f6
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 [0x10596a4], eax
call esi
push 8
mov dword [0x10596a8], eax
call esi
push 5
mov dword [0x10596ac], eax
call esi
push eax
push dword [0x1019094]
mov dword [0x10596b0], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push dword [0x10596b0]
push 0
push 0x1001
push dword [0x1019084]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret

Function at 0x100566d
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x1019214]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 8
pop ecx
mov dword [ebp - 0x438], eax
xor eax, eax
push 0
mov word [ebp - 0x28], 0x5c
mov word [ebp - 0x26], 0x5c
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push 9
lea eax, [ebp - 0x22c]
mov edi, 0x110a
push edi
push dword [0x1019080]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x440], eax
call esi
push eax
push 3
push edi
push dword [0x1019080]
mov dword [ebp - 0x434], eax
call esi
push dword [ebp - 0x434]
mov dword [ebp - 0x43c], eax
call fcn.01005586
mov ebx, eax
push 0x101
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x434]
call fcn.01008375
xor eax, eax
cmp ebx, dword [0x10190d8]
setne al
test eax, eax
mov dword [ebp - 0x448], eax
je 0x1005731
push 0x10
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.01008375
jmp 0x100574c
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x44c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [ebp - 0x43c], ebx
jne 0x1005764
and dword [ebp - 0x444], 0
and dword [ebp - 0x440], 0
jmp 0x1005793
push dword [ebp - 0x43c]
push 3
push edi
push dword [0x1019080]
call esi
cmp eax, ebx
je 0x100575b
push 0
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x43c]
push dword [0x1019080]
call fcn.010080e7
push dword [ebp - 0x434]
call fcn.010055b5
lea ecx, [ebp - 0x450]
push ecx
push dword [ebp - 0x438]
push 0
push eax
push dword [ebp - 0x448]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call fcn.01010243
test eax, eax
pop edi
pop esi
pop ebx
jne 0x10057f6
push dword [ebp - 0x450]
push dword [ebp - 0x438]
call dword [sym.imp.ACLUI.dll_EditSecurity]
push dword [0x1019080]
call fcn.010089e4
jmp 0x1005818
push 0
push 0x10
push 0x1b58
push 0x1b8c
push dword [ebp - 0x438]
push dword [0x1019530]
call fcn.01009e27
add esp, 0x18
mov ecx, dword [ebp - 4]
call fcn.01016806
leave
ret 4
Function at 0x100873d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1019214]
push esi
push edi
mov edi, dword [ebp + 8]
push 1
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
push dword [0x1019080]
call fcn.010080e7
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 0x10087d8
push ebx
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10087d1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01016806
leave
ret 8

Function at 0x10087eb
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1019214]
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 - 4], eax
mov dword [ebp - 0x210], edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1008825
inc eax
jmp 0x10088f6
push esi
xor esi, esi
push esi
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call fcn.010080e7
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 0x100885a
xor eax, eax
jmp 0x10088f5
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 0x10088c6
inc dword [ebp - 0x20c]
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.0100823b
push eax
lea eax, [ebp - 0x204]
push eax
push 0xffff0001
push dword [ebp - 0x210]
push ebx
call fcn.010081e3
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x1008885
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
pop ebx
call fcn.01016806
leave
ret 8
Function at 0x10098ab
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov cx, word [eax]
cmp cx, 0x22
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jne 0x10098eb
push eax
call esi
mov cx, word [eax]
test cx, cx
je 0x10098e3
cmp cx, 0x22
jne 0x10098d2
cmp word [eax], 0x22
jne 0x1009905
jmp 0x1009902
cmp cx, 0x20
jbe 0x1009905
push eax
call esi
cmp word [eax], 0x20
ja 0x10098f1
jmp 0x1009905
cmp cx, 0x20
ja 0x100990d
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x10098fc
push 4
xor ebx, ebx
pop edi
inc ebx
jmp 0x1009918
push eax
call esi
cmp word [eax], 0x20
je 0x1009915
mov cx, word [eax]
cmp cx, 0x2f
je 0x100999a
cmp cx, 0x2d
je 0x100999a
xor edi, edi
cmp dword [ebp + 8], ebx
jne 0x1009946
cmp dword [ebp - 4], edi
je 0x1009a15
cmp cx, di
je 0x1009a15
cmp dword [ebp - 8], edi
jne 0x10099e0
cmp word [eax], di
jne 0x10099b8
xor eax, eax
jmp 0x1009a1d
cmp cx, 0x20
je 0x1009918
movzx ecx, cx
cmp ecx, 0x61
jg 0x10099aa
je 0x1009991
sub ecx, 0x41
je 0x1009991
sub ecx, edi
je 0x1009997
sub ecx, 7
je 0x1009a1a
dec ecx
je 0x10099af
sub ecx, 5
je 0x1009a1a
dec ecx
jne 0x100999a
mov dword [ebp - 4], ebx
jmp 0x100999a
mov dword [0x10190dc], edi
mov dword [ebp - 8], ebx
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x100995b
jmp 0x1009918
sub ecx, 0x65
jmp 0x1009972
and dword [0x10596a0], 0
jmp 0x100999a
push eax
call fcn.01009db9
cmp dword [ebp + 8], ebx
jne 0x10099d8
cmp eax, edi
je 0x1009a15
push edi
push eax
push dword [ebp - 4]
push edi
call fcn.01006e9f
push edi
call fcn.01009db9
cmp eax, edi
jne 0x10099c7
mov eax, ebx
jmp 0x1009a1d
push eax
call fcn.01009db9
push edi
mov esi, eax
call fcn.01009db9
cmp dword [ebp + 8], ebx
mov edi, eax
jne 0x10099fd
test esi, esi
je 0x1009a15
test edi, edi
je 0x1009a15
push 0
call fcn.01009db9
test eax, eax
jne 0x1009a1a
push edi
push esi
push dword [ebp - 4]
push eax
call fcn.01006aee
jmp 0x1009a1a
call fcn.0100988f
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 4