joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d5a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10191f4]
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 [0x1059dd8], eax
jne 0x1003e37
push 0x128
mov esi, 0x1059de0
push esi
push 0x502
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [0x1059de0], 0
jne 0x1003db8
mov dword [0x1059dd8], 1
jmp 0x1003e37
push 0
push 9
push 0x110a
push dword [0x1019060]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
lea ecx, [ebp - 0x208]
push ecx
push eax
call fcn.010050e4
push eax
call fcn.0100a9b2
test eax, eax
je 0x1003e2b
cmp dword [ebp + 0xc], 0
je 0x1003df6
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 [0x1019510]
call fcn.01009ee7
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1003e39
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.01016b82
leave
ret 8
Function at 0x10045db
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x10191f4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x80c]
push eax
push 0x1001688
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test eax, eax
jne 0x100472a
lea eax, [ebp - 0x84c]
push eax
push edi
mov dword [ebp - 0x84c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [0x1019070]
push ebx
push ebx
mov dword [ebp - 0x820], eax
mov eax, dword [0x1019064]
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 [0x1019080], ebx
push 0x40
setne al
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x84c]
push eax
push 3
push ebx
push 0x1001788
push dword [ebp - 0x80c]
call edi
push 4
push 0x10190c0
push 4
push ebx
push 0x1001794
push dword [ebp - 0x80c]
call edi
mov eax, dword [0x1019060]
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.01008402
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 0x10017a8
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 [0x1019060]
call esi
mov eax, dword [0x1019078]
cmp eax, ebx
je 0x100474a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1019074]
cmp eax, ebx
je 0x100475a
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.01016b82
leave
ret 4
Function at 0x1004a77
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.01016e70
mov eax, dword [0x10191f4]
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 0x1004cc7
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
mov dword [ebp - 0x100c], eax
je 0x1004cc7
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 0x1004b0a
lea eax, [ebp - 0x1010]
push eax
push 0x1001700
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1004cb8
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 0x1004c8c
cmp dword [ebp - 0x1008], 0
jne 0x1004bf0
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 0x1004b6c
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.01016b82
leave
ret 8
Function at 0x1005054
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 [0x10599a4], eax
call esi
push 8
mov dword [0x10599a8], eax
call esi
push 5
mov dword [0x10599ac], eax
call esi
push eax
push dword [0x1019074]
mov dword [0x10599b0], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push dword [0x10599b0]
push 0
push 0x1001
push dword [0x1019064]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret

Function at 0x1005214
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x10191f4]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 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
mov edi, 0x110a
push edi
push dword [0x1019060]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x440], eax
call esi
push eax
push 3
push edi
push dword [0x1019060]
mov dword [ebp - 0x434], eax
call esi
push dword [ebp - 0x434]
mov dword [ebp - 0x43c], eax
call fcn.010050e4
mov ebx, eax
push 0x101
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x434]
call fcn.010082cb
xor eax, eax
cmp ebx, dword [0x10190b8]
setne al
test eax, eax
mov dword [ebp - 0x444], eax
je 0x10052cc
push 0x10
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.010082cb
jmp 0x10052e7
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 0x10052f9
xor esi, esi
mov dword [ebp - 0x440], esi
jmp 0x1005337
push dword [ebp - 0x43c]
push 3
push edi
push dword [0x1019060]
call esi
cmp eax, ebx
jne 0x1005312
xor esi, esi
jmp 0x1005337
push 0
push 0x101
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x43c]
push dword [0x1019060]
call fcn.01008402
lea esi, [ebp - 0x430]
push dword [ebp - 0x434]
call fcn.01005113
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.0101050d
test eax, eax
pop edi
pop esi
pop ebx
jne 0x1005395
push dword [ebp - 0x44c]
push dword [ebp - 0x438]
call dword [sym.imp.ACLUI.dll_EditSecurity]
push dword [0x1019060]
call fcn.01008d5a
jmp 0x10053b7
push 0
push 0x10
push 0x1b58
push 0x1b8c
push dword [ebp - 0x438]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x18
mov ecx, dword [ebp - 4]
call fcn.01016b82
leave
ret 4
Function at 0x100545c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.01016e70
mov eax, dword [0x10191f4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x1008]
push eax
push 0x1001700
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10055a6
push ebx
push esi
push edi
push 3
mov esi, 0x400
push esi
lea eax, [ebp - 0x1004]
push eax
xor ebx, ebx
push ebx
push 9
push 0x110a
push dword [0x1019060]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [0x1019060]
call fcn.01008402
lea edi, [ebp - 0x1004]
push 0x5c
push edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x10054ea
inc eax
inc eax
mov edi, eax
jne 0x10054d5
push edi
push esi
lea eax, [ebp - 0x804]
push eax
call fcn.010051cb
lea eax, [ebp - 0x804]
push eax
push 0x1004775
push dword [ebp - 0x100c]
push 0x70
push dword [0x1019510]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x1005597
cmp word [ebp - 0x804], bx
je 0x10054ea
push ebx
push ebx
lea eax, [ebp - 0x1010]
push eax
push ebx
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x1008]
call fcn.0100a0c1
test eax, eax
jne 0x1005568
push 0x10
push 0xac
push 0xab
push dword [ebp - 0x100c]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x14
jmp 0x10054ea
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 ebx
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 edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.01016b82
leave
ret 4
Function at 0x1008508
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10191f4]
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 0x1008542
inc eax
jmp 0x1008618
push esi
xor esi, esi
push esi
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call fcn.01008402
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 0x100857c
xor eax, eax
jmp 0x1008617
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 0x10085e8
inc dword [ebp - 0x20c]
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.01008191
push eax
lea eax, [ebp - 0x204]
push eax
push 0xffff0001
push dword [ebp - 0x210]
push ebx
call fcn.01008139
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x10085a7
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.01016b82
leave
ret 8

Function at 0x1008ca7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10191f4]
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push 0x200
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
push dword [0x1019060]
call fcn.01008402
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 0x1008d47
push ebx
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1008d40
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.01016b82
leave
ret 8
Function at 0x100996f
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 0x10099af
push eax
call esi
mov cx, word [eax]
test cx, cx
je 0x10099a7
cmp cx, 0x22
jne 0x1009996
cmp word [eax], 0x22
jne 0x10099c9
jmp 0x10099c6
cmp cx, 0x20
jbe 0x10099c9
push eax
call esi
cmp word [eax], 0x20
ja 0x10099b5
jmp 0x10099c9
cmp cx, 0x20
ja 0x10099d1
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x10099c0
push 4
xor ebx, ebx
pop edi
inc ebx
jmp 0x10099dc
push eax
call esi
cmp word [eax], 0x20
je 0x10099d9
mov cx, word [eax]
cmp cx, 0x2f
je 0x1009a5e
cmp cx, 0x2d
je 0x1009a5e
xor edi, edi
cmp dword [ebp + 8], ebx
jne 0x1009a0a
cmp dword [ebp - 4], edi
je 0x1009ad9
cmp cx, di
je 0x1009ad9
cmp dword [ebp - 8], edi
jne 0x1009aa4
cmp word [eax], di
jne 0x1009a7c
xor eax, eax
jmp 0x1009ae1
cmp cx, 0x20
je 0x10099dc
movzx ecx, cx
cmp ecx, 0x61
jg 0x1009a6e
je 0x1009a55
sub ecx, 0x41
je 0x1009a55
sub ecx, edi
je 0x1009a5b
sub ecx, 7
je 0x1009ade
dec ecx
je 0x1009a73
sub ecx, 5
je 0x1009ade
dec ecx
jne 0x1009a5e
mov dword [ebp - 4], ebx
jmp 0x1009a5e
mov dword [0x10190bc], edi
mov dword [ebp - 8], ebx
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1009a1f
jmp 0x10099dc
sub ecx, 0x65
jmp 0x1009a36
and dword [0x10599a0], 0
jmp 0x1009a5e
push eax
call fcn.01009e79
cmp dword [ebp + 8], ebx
jne 0x1009a9c
cmp eax, edi
je 0x1009ad9
push edi
push eax
push dword [ebp - 4]
push edi
call fcn.01006f66
push edi
call fcn.01009e79
cmp eax, edi
jne 0x1009a8b
mov eax, ebx
jmp 0x1009ae1
push eax
call fcn.01009e79
push edi
mov esi, eax
call fcn.01009e79
cmp dword [ebp + 8], ebx
mov edi, eax
jne 0x1009ac1
test esi, esi
je 0x1009ade
test edi, edi
je 0x1009ade
push 0
call fcn.01009e79
test eax, eax
jne 0x1009ade
push edi
push esi
push dword [ebp - 4]
push eax
call fcn.01006bb5
jmp 0x1009ade
call fcn.01009953
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1009b65
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1019510], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xffff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
push 0x1001668
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10599a0], eax
call fcn.01009aed
cmp eax, 2
jne 0x1009bc1
call fcn.01009953
jmp 0x1009ce3
push eax
call fcn.0100996f
dec eax
je 0x1009cc8
dec eax
je 0x1009ce3
mov eax, dword [0x10599a0]
cmp eax, ebx
je 0x1009c2f
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1009bfc
push 9
push dword [0x10599a0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1009ce3
push dword [0x10599a0]
mov esi, dword [sym.imp.USER32.dll_BringWindowToTop]
call esi
push dword [0x10599a0]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov edi, eax
cmp edi, dword [0x10599a0]
je 0x1009c23
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1009ce3
push 0x1c
call fcn.01009cf0
cmp eax, ebx
pop ecx
mov dword [0x105999c], eax
je 0x1009ce3
call fcn.0100699d
test eax, eax
je 0x1009ce3
call fcn.01003c5f
test eax, eax
je 0x1009ce3
push 0x64
push dword [0x1019510]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, eax
cmp edi, ebx
je 0x1009ce3
call fcn.010053c8
cmp eax, ebx
mov dword [0x10599a0], eax
je 0x1009ce3
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1009cb9
cmp dword [0x1019428], ebx
jne 0x1009ca5
lea eax, [ebp - 0x24]
push eax
push edi
push dword [0x10599a0]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1009cb9
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
test eax, eax
jne 0x1009c88
jmp 0x1009ce3
mov eax, dword [0x10599a0]
cmp eax, ebx
je 0x1009ce3
push ebx
push 0x288
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1009fc8
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 0x1009ffd
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100a0b8
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 0x100a043
cmp eax, 0xea
je 0x100a043
cmp eax, 0x7a
je 0x100a043
mov esi, eax
jmp 0x100a05c
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 0x100a069
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100a0b7
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 0x100a08d
push esi
push dword [ebp - 4]
call fcn.01009fc8
test eax, eax
je 0x100a08e
inc edi
cmp eax, 0x103
je 0x100a09a
cmp edi, dword [ebp - 0x10]
jb 0x100a06c
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

Function at 0x100a0c1
Capabilities:
Query or enumerate registry value

Disassembly:
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 0x100a138
cmp edi, eax
je 0x100a138
mov edi, dword [edi]
cmp edi, 1
je 0x100a103
cmp edi, 2
je 0x100a103
cmp edi, 7
jne 0x100a138
cmp ebx, eax
je 0x100a138
cmp esi, eax
je 0x100a138
mov edx, dword [ebx]
mov ecx, edx
shr ecx, 1
cmp ecx, eax
jle 0x100a123
lea ecx, [esi + ecx*2]
cmp word [ecx - 2], ax
je 0x100a138
mov word [ecx], ax
jmp 0x100a138
jne 0x100a138
cmp edx, 1
jne 0x100a135
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
jmp 0x100a138
mov word [esi], ax
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x100a147
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
mov esi, 0x10599c0
push esi
push ebx
push dword [ebp + 8]
mov edi, 0x100
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100a226
inc dword [ebp - 4]
cmp dword [ebp - 8], 1
je 0x100a1a5
cmp dword [ebp - 8], 2
je 0x100a1a5
cmp dword [ebp - 8], 7
je 0x100a1a5
xor eax, eax
jmp 0x100a1a8
push 2
pop eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x100a1f8
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [ebp + 8]
call fcn.0100a0c1
test eax, eax
jne 0x100a1ea
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 8]
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100a1ed
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100a1fb
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100a18c
cmp dword [ebp - 0x10], ebx
je 0x100a28c
push edi
mov esi, 0x1059bc0
push esi
mov dword [ebp - 4], ebx
push ebx
jmp 0x100a27f
inc dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
push 9
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a27a
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100a271
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0100a147
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100a233
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8