joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009e29
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 4
pop ebx
xor esi, esi
push 0x1001540
push esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.01005e93
push 1
mov edi, 0x2001f
push edi
push 2
call fcn.010094e3
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x1009f3a
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
mov esi, 0x1001d78
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
mov edx, eax
and ecx, 0x40
neg edx
sbb edx, edx
and edx, 8
or ecx, edx
neg eax
sbb eax, eax
and eax, 2
or ecx, eax
mov eax, dword [ebp - 4]
and eax, 0xffffffb0
push ebx
or ecx, eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push esi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], ecx
call esi
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0x1001c48
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009f2f
cmp dword [ebp + 8], eax
je 0x1009f1a
mov edi, 0x1001ca8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push 0
push 0x1002240
push dword [ebp - 8]
call esi
jmp 0x1009f28
push 0x1002240
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
call ebx
jmp 0x1009f37
push dword [ebp + 8]
call fcn.01013367
xor esi, esi
inc esi
lea ecx, [ebp - 0x20]
call fcn.01005ebc
lea ecx, [ebp - 0x20]
call fcn.01005e6e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1009f53
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10171b0]
mov dword [ebp + 0x190], eax
lea eax, [ebp - 0x7c]
push eax
push 0x2001f
push 0
push 0x1001c48
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009ff6
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10000002
mov edi, 0x1002240
push edi
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1009fec
push 0x1001d90
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1009fec
push esi
mov esi, 0x1001ca8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 2
push 0
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x190]
xor eax, eax
inc eax
call fcn.0101206b
add ebp, 0x194
leave
ret
Function at 0x100a00c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
push 0x1001540
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
mov dword [ebp - 8], 4
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.01005e93
push 1
push 0x2001f
push 2
call fcn.010094e3
mov ebx, eax
cmp ebx, edi
je 0x100a096
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x10
mov esi, 0x1001d78
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 0x10
and ecx, 0x2f
or eax, ecx
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
pop esi
lea ecx, [ebp - 0x14]
call fcn.01005ebc
lea ecx, [ebp - 0x14]
call fcn.01005e6e
mov eax, edi
pop edi
pop ebx
leave
ret 4

Function at 0x100a0ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 4
pop ebx
xor edi, edi
push edi
push 0x20019
push 2
mov dword [ebp - 4], ebx
mov dword [eax], edi
call fcn.010094e3
cmp eax, edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 0xc], eax
je 0x100a138
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push edi
push 0x10
push 0x1001de0
push edi
push eax
call esi
test eax, eax
jne 0x100a103
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp - 8], edi
setne cl
or dword [eax], ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x10
push 0x1001dd0
push edi
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x100a12f
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, 2
or dword [eax], ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x20019
push 3
call fcn.010094e3
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100a17e
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push edi
push 0x10
push 0x1001db8
push edi
push eax
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x100a175
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, ebx
or dword [eax], ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
Function at 0x100a247
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10171b0]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov edi, 0x104
mov dword [ebp + 0x19c], eax
push edi
xor ebx, ebx
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
push ebx
jmp 0x100a2db
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1a8]
mov dword [ebp - 0x80], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a2d0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10
push 0x1002764
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100a2c7
mov eax, dword [ebp - 0x7c]
or dword [ebp - 0x70], eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x74]
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp + 0x1a8]
call esi
test eax, eax
je 0x100a27e
and dword [ebp - 0x70], 7
push 4
lea eax, [ebp - 0x70]
push eax
push 4
push ebx
push 0x1002764
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1a8]
call fcn.0100a1d1
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.0101206b
add ebp, 0x1a0
leave
ret 4

Function at 0x100a328
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x20019
xor ebx, ebx
push esi
mov dword [eax], ebx
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, ebx
mov dword [ebp - 0x10c], eax
jne 0x100a35b
xor eax, eax
jmp 0x100a3ca
push edi
push 0x81
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call fcn.01009684
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, ebx
je 0x100a3bf
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push ebx
push 0x10
push 0x1002764
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
mov dword [ebp + 0xc], eax
call esi
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
mov ebx, eax
push dword [ebp - 0x10c]
call esi
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101206b
leave
ret 8
Function at 0x100a3d8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5f4]
sub esp, 0x674
mov eax, dword [0x10171b0]
push edi
push 0x111
mov dword [ebp + 0x5f0], eax
push 0x10017c4
lea eax, [ebp + 0x3cc]
xor edi, edi
push eax
mov dword [ebp - 0x54], edi
call fcn.01013315
cmp dword [ebp + 0x608], edi
je 0x100a427
lea eax, [ebp + 0x3cc]
push eax
push dword [ebp + 0x5fc]
call fcn.01009742
push ebx
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x604]
lea eax, [ebp + 0x3cc]
push dword [ebp + 0x600]
push eax
push dword [ebp + 0x5fc]
call fcn.0100940d
mov ebx, eax
cmp ebx, edi
je 0x100a458
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x50], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100a4f8
lea eax, [ebp + 0x608]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
push 0x10000002
push 0x1001c40
push edi
push dword [ebp - 0x50]
mov dword [ebp + 0x608], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100a4af
test byte [ebp + 0x600], 2
mov dword [ebp - 0x54], 1
jne 0x100a4f3
push dword [ebp - 0x50]
call esi
mov dword [ebp - 0x50], edi
jmp 0x100a4f3
push 0x105
lea eax, [ebp + 0x1c0]
push eax
call fcn.010133f8
test eax, eax
je 0x100a4f3
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100a4f3
push dword [ebp - 0x50]
call esi
lea eax, [ebp + 0x3cc]
push eax
push dword [ebp + 0x5fc]
mov dword [ebp - 0x50], edi
call fcn.01009742
cmp dword [ebp - 0x50], edi
jne 0x100a534
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x604]
lea eax, [ebp + 0x3cc]
push dword [ebp + 0x600]
push eax
push dword [ebp + 0x5fc]
call fcn.0100940d
mov ebx, eax
cmp ebx, edi
je 0x100a529
mov dword [ebp - 0x50], edi
jmp 0x100a534
xor eax, eax
inc eax
cmp dword [ebp - 0x58], eax
jne 0x100a592
mov dword [ebp - 0x54], eax
cmp ebx, edi
jne 0x100a592
cmp dword [ebp - 0x58], 1
jne 0x100a592
lea eax, [ebp - 0x5c]
push eax
push 0x40000
push 8
lea eax, [ebp + 0x3cc]
push eax
push dword [ebp + 0x5fc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a592
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.01009260
test eax, eax
je 0x100a58d
lea eax, [ebp - 0x74]
push eax
push 4
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x60]
call fcn.0101214f
pop ecx
push dword [ebp - 0x5c]
call esi
cmp dword [ebp - 0x50], edi
pop esi
pop ebx
je 0x100a5e6
cmp dword [ebp - 0x54], edi
je 0x100a5e6
test byte [ebp + 0x600], 2
je 0x100a5e6
push 0x105
lea eax, [ebp + 0x1c0]
push eax
call fcn.010133f8
test eax, eax
je 0x100a5e6
lea eax, [ebp + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x1c0]
push eax
push 1
push edi
push 0x1001c40
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0x5f0]
mov eax, dword [ebp - 0x50]
pop edi
call fcn.0101206b
add ebp, 0x5f4
leave
ret 0x10
Function at 0x100a638
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10171b0]
mov dword [ebp - 4], eax
push 0x81
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x110], 1
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x100a72d
mov eax, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push edi
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov esi, 0x20019
push esi
push 5
mov dword [eax], edi
call fcn.0100a5ff
cmp eax, edi
mov dword [ebp - 0x114], eax
je 0x100a729
lea ecx, [ebp - 0x10c]
push ecx
push esi
push edi
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a710
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push ebx
push 4
pop ebx
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
push edi
push 0x10
push 0x1001dfc
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x100a703
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
push edi
push 0x10
push 0x1001dec
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x100a703
mov dword [ebp - 0x110], edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x110], edi
jne 0x100a729
xor eax, eax
inc eax
jmp 0x100a72b
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.0101206b
leave
ret 0xc

Function at 0x100a739
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10171b0]
push ebx
mov dword [ebp + 0x9c], eax
push 0x81
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xa8]
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x100a825
push esi
push 0x1001540
push ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005e93
push 1
mov esi, 0x2001f
push esi
push 5
call fcn.0100a5ff
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x100a811
lea ecx, [ebp - 0x70]
push ecx
push esi
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.0100945a
test eax, eax
jne 0x100a808
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp + 0xb0]
push eax
push 4
push ebx
push 0x1001dfc
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
je 0x100a7e2
mov dword [ebp - 0x6c], ebx
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push ebx
push 0x1001dec
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x100a7ff
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
call fcn.01005ebc
lea ecx, [ebp - 0x80]
call fcn.01005e6e
mov eax, dword [ebp - 0x6c]
pop esi
mov ecx, dword [ebp + 0x9c]
pop ebx
call fcn.0101206b
add ebp, 0xa0
leave
ret 0xc
Function at 0x100a986
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
and eax, 0xff
mov dword [ebp - 4], edi
jbe 0x100aa3c
cmp eax, 2
jbe 0x100a9b2
cmp eax, 4
jne 0x100aa3c
push 3
jmp 0x100a9b4
push 2
pop eax
push esi
push edi
mov esi, 0x20019
push esi
push eax
call fcn.0100a5ff
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100aa36
push ebx
lea ecx, [ebp + 0x10]
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call edi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100aa30
lea eax, [ebp + 0xc]
push eax
push esi
xor esi, esi
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
call edi
test eax, eax
jne 0x100aa2b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10
push 0x1001e10
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100aa26
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call ebx
push dword [ebp + 0x10]
call ebx
push dword [ebp - 0xc]
call ebx
pop ebx
mov eax, dword [ebp - 4]
pop esi
jmp 0x100aa3e
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100aa43
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10171b0]
push esi
push edi
push 1
mov esi, 0x2001f
push esi
push dword [ebp + 0xa4]
mov dword [ebp + 0x98], eax
call fcn.0100a5ff
mov edi, eax
test edi, edi
je 0x100ab2d
push ebx
push 0x1001540
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005e93
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp + 0xa8]
push edi
call fcn.0100945a
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100aae2
push 0x81
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xac]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.0100945a
test eax, eax
je 0x100aae9
push dword [ebp - 0x70]
call ebx
push edi
call ebx
xor esi, esi
jmp 0x100ab1a
push 4
lea eax, [ebp + 0xbc]
push eax
push 4
push 0
push 0x1001e10
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call esi
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x74]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x80]
call fcn.01005ebc
lea ecx, [ebp - 0x80]
call fcn.01005e6e
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
call fcn.0101206b
add ebp, 0x9c
leave
ret 0x1c
Function at 0x100ab44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x1001540
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x20]
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.01005e93
mov edi, dword [ebp + 8]
lea eax, [edi + 0x208]
mov dword [ebp - 0xc], eax
mov dword [eax], esi
lea eax, [edi + 0x20c]
push esi
mov ebx, 0x20019
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea eax, [edi + 0x210]
push ebx
push 2
mov dword [ebp - 0x14], eax
mov dword [eax], esi
call fcn.0100a5ff
cmp eax, esi
mov dword [ebp + 8], eax
je 0x100ac3f
lea ecx, [ebp - 8]
push ecx
push ebx
push esi
push edi
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ac21
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push esi
push 0x10
push 0x1001de0
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100ac18
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x1001dd0
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100ac18
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x1001e2c
push esi
push dword [ebp - 8]
call edi
test eax, eax
je 0x100ac2c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100ac3f
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 8]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x20]
call fcn.01005ebc
lea ecx, [ebp - 0x20]
call fcn.01005e6e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x100ac58
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10171b0]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push esi
push edi
xor esi, esi
cmp dword [ebp + 0x1ac], esi
push 4
pop edi
mov dword [ebp + 0x19c], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
jne 0x100acb7
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x1001de0
push esi
push dword [ebp + 0x1a8]
call ebx
test eax, eax
je 0x100ad9b
push 0x104
lea eax, [ebp - 0x6c]
push eax
push esi
jmp 0x100ad4e
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ad3f
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x1001de0
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x100ad0d
mov eax, dword [ebp + 0x1ac]
or dword [ebp - 0x7c], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x1001dd0
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x100ad36
mov eax, dword [ebp + 0x1ac]
or dword [ebp - 0x78], eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x74]
push 0x104
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100acc6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
lea eax, [ebp - 0x7c]
push eax
push edi
push esi
push 0x1001de0
push dword [ebp + 0x1a8]
call ebx
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push esi
push 0x1001dd0
push dword [ebp + 0x1a8]
call ebx
push dword [ebp + 0x1a8]
call fcn.0100a1d1
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.0101206b
add ebp, 0x1a0
leave
ret 8
Function at 0x100adb3
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
xor esi, esi
push 0x1001540
push esi
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x1ac], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
call fcn.01005e49
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005e93
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
jmp 0x100ae91
lea eax, [ebp - 0x74]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 0x1b8]
mov dword [ebp - 0x70], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100aea1
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x10
push 0x1001de0
push esi
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100ae52
mov eax, dword [ebp - 0x68]
or dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x10
push 0x1001dd0
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x70], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100ae7d
mov eax, dword [ebp - 0x68]
or dword [ebp - 0x60], eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push ebx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x6c]
push dword [ebp + 0x1b8]
call edi
cmp eax, esi
je 0x100ae09
xor ecx, ecx
xor ebx, ebx
cmp eax, esi
je 0x100aed7
cmp eax, 0x103
je 0x100aed7
mov eax, dword [ebp + 0x1bc]
cmp eax, 0xffffffff
je 0x100aec3
cmp eax, esi
je 0x100aec3
inc ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c0]
cmp eax, 0xffffffff
je 0x100aedd
cmp eax, esi
je 0x100aedd
mov dword [ebp - 0x60], eax
jmp 0x100aeda
xor ecx, ecx
inc ecx
xor ebx, ebx
inc ebx
cmp ecx, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100aefd
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push esi
push 0x1001de0
push dword [ebp + 0x1b8]
call edi
cmp ebx, esi
je 0x100af17
push 4
lea eax, [ebp - 0x60]
push eax
push 4
push esi
push 0x1001dd0
push dword [ebp + 0x1b8]
call edi
push dword [ebp + 0x1b8]
call fcn.0100a1d1
lea ecx, [ebp - 0x80]
call fcn.01005ebc
lea ecx, [ebp - 0x80]
call fcn.01005e6e
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
pop ebx
call fcn.0101206b
add ebp, 0x1b0
leave
ret 0xc