joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c4b4
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 0x100c548
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 0x100c53d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10
push 0x100275c
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100c534
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 0x100c4eb
and dword [ebp - 0x70], 7
push 4
lea eax, [ebp - 0x70]
push eax
push 4
push ebx
push 0x100275c
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1a8]
call fcn.0100c43e
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x1a0
leave
ret 4

Function at 0x100c595
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 0x100c5c8
xor eax, eax
jmp 0x100c637
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.0100b8f1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, ebx
je 0x100c62c
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push ebx
push 0x10
push 0x100275c
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.01012097
leave
ret 8
Function at 0x100c677
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 0x10017a0
lea eax, [ebp + 0x3cc]
xor edi, edi
push eax
mov dword [ebp - 0x54], edi
call fcn.010125ee
cmp dword [ebp + 0x608], edi
je 0x100c6c6
lea eax, [ebp + 0x3cc]
push eax
push dword [ebp + 0x5fc]
call fcn.0100b9af
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.0100b67a
mov ebx, eax
cmp ebx, edi
je 0x100c6f7
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x50], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100c797
lea eax, [ebp + 0x608]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
push 0x10000002
push 0x1001d60
push edi
push dword [ebp - 0x50]
mov dword [ebp + 0x608], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100c74e
test byte [ebp + 0x600], 2
mov dword [ebp - 0x54], 1
jne 0x100c792
push dword [ebp - 0x50]
call esi
mov dword [ebp - 0x50], edi
jmp 0x100c792
push 0x105
lea eax, [ebp + 0x1c0]
push eax
call fcn.010126d1
test eax, eax
je 0x100c792
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100c792
push dword [ebp - 0x50]
call esi
lea eax, [ebp + 0x3cc]
push eax
push dword [ebp + 0x5fc]
mov dword [ebp - 0x50], edi
call fcn.0100b9af
cmp dword [ebp - 0x50], edi
jne 0x100c7d3
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.0100b67a
mov ebx, eax
cmp ebx, edi
je 0x100c7c8
mov dword [ebp - 0x50], edi
jmp 0x100c7d3
xor eax, eax
inc eax
cmp dword [ebp - 0x58], eax
jne 0x100c831
mov dword [ebp - 0x54], eax
cmp ebx, edi
jne 0x100c831
cmp dword [ebp - 0x58], 1
jne 0x100c831
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 0x100c831
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0100b4cd
test eax, eax
je 0x100c82c
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.01012175
pop ecx
push dword [ebp - 0x5c]
call esi
cmp dword [ebp - 0x50], edi
pop esi
pop ebx
je 0x100c885
cmp dword [ebp - 0x54], edi
je 0x100c885
test byte [ebp + 0x600], 2
je 0x100c885
push 0x105
lea eax, [ebp + 0x1c0]
push eax
call fcn.010126d1
test eax, eax
je 0x100c885
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 0x1001d60
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.01012097
add ebp, 0x5f4
leave
ret 0x10
Function at 0x100c8d7
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 0x100c9cc
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.0100c89e
cmp eax, edi
mov dword [ebp - 0x114], eax
je 0x100c9c8
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 0x100c9af
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 0x1001f1c
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x100c9a2
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
push edi
push 0x10
push 0x1001f0c
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x100c9a2
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 0x100c9c8
xor eax, eax
inc eax
jmp 0x100c9ca
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01012097
leave
ret 0xc

Function at 0x100c9d8
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 0x100cac4
push esi
push 0x10013e0
push ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01003038
push 1
mov esi, 0x2001f
push esi
push 5
call fcn.0100c89e
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x100cab0
lea ecx, [ebp - 0x70]
push ecx
push esi
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.0100b6c7
test eax, eax
jne 0x100caa7
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp + 0xb0]
push eax
push 4
push ebx
push 0x1001f1c
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
je 0x100ca81
mov dword [ebp - 0x6c], ebx
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push ebx
push 0x1001f0c
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x100ca9e
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.01003061
lea ecx, [ebp - 0x80]
call fcn.01003013
mov eax, dword [ebp - 0x6c]
pop esi
mov ecx, dword [ebp + 0x9c]
pop ebx
call fcn.01012097
add ebp, 0xa0
leave
ret 0xc
Function at 0x100cc25
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 0x100ccdb
cmp eax, 2
jbe 0x100cc51
cmp eax, 4
jne 0x100ccdb
push 3
jmp 0x100cc53
push 2
pop eax
push esi
push edi
mov esi, 0x20019
push esi
push eax
call fcn.0100c89e
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100ccd5
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 0x100cccf
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 0x100ccca
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10
push 0x1001f30
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100ccc5
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 0x100ccdd
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100cce2
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.0100c89e
mov edi, eax
test edi, edi
je 0x100cdcc
push ebx
push 0x10013e0
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01003038
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp + 0xa8]
push edi
call fcn.0100b6c7
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100cd81
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.0100b6c7
test eax, eax
je 0x100cd88
push dword [ebp - 0x70]
call ebx
push edi
call ebx
xor esi, esi
jmp 0x100cdb9
push 4
lea eax, [ebp + 0xbc]
push eax
push 4
push 0
push 0x1001f30
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.01003061
lea ecx, [ebp - 0x80]
call fcn.01003013
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
call fcn.01012097
add ebp, 0x9c
leave
ret 0x1c
Function at 0x100cde3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x10013e0
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x20]
call fcn.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.01003038
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.0100c89e
cmp eax, esi
mov dword [ebp + 8], eax
je 0x100cede
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 0x100cec0
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push esi
push 0x10
push 0x1001f00
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100ceb7
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x1001ef0
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100ceb7
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x1001f4c
push esi
push dword [ebp - 8]
call edi
test eax, eax
je 0x100cecb
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100cede
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.01003061
lea ecx, [ebp - 0x20]
call fcn.01003013
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x100cef7
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 0x100cf56
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x1001f00
push esi
push dword [ebp + 0x1a8]
call ebx
test eax, eax
je 0x100d03a
push 0x104
lea eax, [ebp - 0x6c]
push eax
push esi
jmp 0x100cfed
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 0x100cfde
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x1001f00
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x100cfac
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 0x1001ef0
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x100cfd5
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 0x100cf65
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
lea eax, [ebp - 0x7c]
push eax
push edi
push esi
push 0x1001f00
push dword [ebp + 0x1a8]
call ebx
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push esi
push 0x1001ef0
push dword [ebp + 0x1a8]
call ebx
push dword [ebp + 0x1a8]
call fcn.0100c43e
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x1a0
leave
ret 8
Function at 0x100d052
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 0x10013e0
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.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01003038
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
jmp 0x100d130
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 0x100d140
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x10
push 0x1001f00
push esi
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100d0f1
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 0x1001ef0
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x70], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100d11c
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 0x100d0a8
xor ecx, ecx
xor ebx, ebx
cmp eax, esi
je 0x100d176
cmp eax, 0x103
je 0x100d176
mov eax, dword [ebp + 0x1bc]
cmp eax, 0xffffffff
je 0x100d162
cmp eax, esi
je 0x100d162
inc ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c0]
cmp eax, 0xffffffff
je 0x100d17c
cmp eax, esi
je 0x100d17c
mov dword [ebp - 0x60], eax
jmp 0x100d179
xor ecx, ecx
inc ecx
xor ebx, ebx
inc ebx
cmp ecx, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100d19c
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push esi
push 0x1001f00
push dword [ebp + 0x1b8]
call edi
cmp ebx, esi
je 0x100d1b6
push 4
lea eax, [ebp - 0x60]
push eax
push 4
push esi
push 0x1001ef0
push dword [ebp + 0x1b8]
call edi
push dword [ebp + 0x1b8]
call fcn.0100c43e
lea ecx, [ebp - 0x80]
call fcn.01003061
lea ecx, [ebp - 0x80]
call fcn.01003013
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x1b0
leave
ret 0xc
Function at 0x100d1e9
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10171b0]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1a8], edi
mov dword [ebp + 0x198], eax
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov esi, 0x1001ed8
jne 0x100d247
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a8]
push eax
push edi
push 0x10
push esi
push edi
push dword [ebp + 0x1a4]
call ebx
test eax, eax
je 0x100d2e3
push 0x104
lea eax, [ebp - 0x70]
push eax
push edi
jmp 0x100d2b2
lea eax, [ebp - 0x80]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1a4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d2a3
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a8]
push eax
push edi
push 0x10
push esi
push edi
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], 4
call ebx
test eax, eax
jne 0x100d29a
mov eax, dword [ebp + 0x1a8]
or dword [ebp - 0x74], eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x78]
push 0x104
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
push dword [ebp + 0x1a4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100d253
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push edi
push esi
push dword [ebp + 0x1a4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1a4]
call fcn.0100c43e
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x19c
leave
ret 8
Function at 0x100d2fb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
xor ebx, ebx
push 0x10013e0
push ebx
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x1a8], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01003038
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x60]
push eax
push ebx
jmp 0x100d3a8
lea eax, [ebp - 0x6c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x1b4]
mov dword [ebp - 0x70], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100d3b4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x10
push 0x1001ed8
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100d394
mov eax, dword [ebp - 0x74]
or dword [ebp - 0x64], eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x68]
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
push dword [ebp + 0x1b4]
call esi
cmp eax, ebx
je 0x100d34b
cmp eax, 0x103
je 0x100d3cd
mov eax, dword [ebp + 0x1b8]
cmp eax, 0xffffffff
je 0x100d3e7
cmp eax, ebx
je 0x100d3e7
mov dword [ebp - 0x64], eax
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push ebx
push 0x1001ed8
push dword [ebp + 0x1b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1b4]
call fcn.0100c43e
lea ecx, [ebp - 0x80]
call fcn.01003061
lea ecx, [ebp - 0x80]
call fcn.01003013
mov ecx, dword [ebp + 0x1a8]
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x1ac
leave
ret 8

Function at 0x100d41a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, 0x20019
push esi
push 4
call fcn.0100c89e
mov edi, eax
cmp edi, ebx
je 0x100d47c
lea eax, [ebp + 8]
push eax
push esi
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d47c
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push 0x10000002
push 0x1001f68
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100d473
inc ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x100d535
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop ecx
xor edi, edi
lea eax, [esi + 0x204]
push edi
mov dword [ebp - 0x14], eax
mov dword [eax], edi
lea eax, [esi + 0x214]
push 0x20019
lea ebx, [esi + 0x230]
push ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov dword [ebx], edi
mov dword [esi + 0x234], edi
call fcn.0100c89e
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100d653
lea ecx, [ebp + 8]
push ecx
push 0x20019
push edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d64a
lea eax, [ebp - 4]
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
push 0x10
push 0x10017a4
push edi
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x100d641
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x234]
push eax
push edi
push 0x10
push 0x1001fcc
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 4
call ebx
test eax, eax
jne 0x100d641
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d641
push 4
pop esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001fa4
push edi
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x100d638
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001f84
push edi
push dword [ebp - 8]
call ebx
test eax, eax
je 0x100d657
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100d66f
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 8]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8