joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10059ee
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 0x1005ae3
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.010059b5
cmp eax, edi
mov dword [ebp - 0x114], eax
je 0x1005adf
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 0x1005ac6
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 0x1001908
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x1005ab9
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
push edi
push 0x10
push 0x10018f8
push edi
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x1005ab9
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 0x1005adf
xor eax, eax
inc eax
jmp 0x1005ae1
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.010120e3
leave
ret 0xc

Function at 0x1005aef
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 0x1005bdb
push esi
push 0x1001540
push ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.010045ba
push 1
mov esi, 0x2001f
push esi
push 5
call fcn.010059b5
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x1005bc7
lea ecx, [ebp - 0x70]
push ecx
push esi
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.01004810
test eax, eax
jne 0x1005bbe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp + 0xb0]
push eax
push 4
push ebx
push 0x1001908
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
je 0x1005b98
mov dword [ebp - 0x6c], ebx
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push ebx
push 0x10018f8
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1005bb5
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.010045e3
lea ecx, [ebp - 0x80]
call fcn.01004595
mov eax, dword [ebp - 0x6c]
pop esi
mov ecx, dword [ebp + 0x9c]
pop ebx
call fcn.010120e3
add ebp, 0xa0
leave
ret 0xc
Function at 0x1005d3c
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 0x1005df2
cmp eax, 2
jbe 0x1005d68
cmp eax, 4
jne 0x1005df2
push 3
jmp 0x1005d6a
push 2
pop eax
push esi
push edi
mov esi, 0x20019
push esi
push eax
call fcn.010059b5
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1005dec
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 0x1005de6
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 0x1005de1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10
push 0x100191c
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1005ddc
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 0x1005df4
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x1005df9
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.010059b5
mov edi, eax
test edi, edi
je 0x1005ee3
push ebx
push 0x1001540
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.010045ba
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp + 0xa8]
push edi
call fcn.01004810
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1005e98
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.01004810
test eax, eax
je 0x1005e9f
push dword [ebp - 0x70]
call ebx
push edi
call ebx
xor esi, esi
jmp 0x1005ed0
push 4
lea eax, [ebp + 0xbc]
push eax
push 4
push 0
push 0x100191c
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.010045e3
lea ecx, [ebp - 0x80]
call fcn.01004595
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
call fcn.010120e3
add ebp, 0x9c
leave
ret 0x1c
Function at 0x1005efa
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.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.010045ba
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.010059b5
cmp eax, esi
mov dword [ebp + 8], eax
je 0x1005ff5
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 0x1005fd7
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push esi
push 0x10
push 0x10018ec
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x1005fce
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x10018dc
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x1005fce
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x1001938
push esi
push dword [ebp - 8]
call edi
test eax, eax
je 0x1005fe2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1005ff5
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.010045e3
lea ecx, [ebp - 0x20]
call fcn.01004595
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x100600e
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 0x100606d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x10018ec
push esi
push dword [ebp + 0x1a8]
call ebx
test eax, eax
je 0x1006151
push 0x104
lea eax, [ebp - 0x6c]
push eax
push esi
jmp 0x1006104
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 0x10060f5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x10018ec
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x10060c3
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 0x10018dc
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x10060ec
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 0x100607c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
lea eax, [ebp - 0x7c]
push eax
push edi
push esi
push 0x10018ec
push dword [ebp + 0x1a8]
call ebx
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push esi
push 0x10018dc
push dword [ebp + 0x1a8]
call ebx
push dword [ebp + 0x1a8]
call fcn.01005587
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.010120e3
add ebp, 0x1a0
leave
ret 8
Function at 0x1006169
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.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.010045ba
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
jmp 0x1006247
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 0x1006257
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x10
push 0x10018ec
push esi
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006208
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 0x10018dc
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x70], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006233
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 0x10061bf
xor ecx, ecx
xor ebx, ebx
cmp eax, esi
je 0x100628d
cmp eax, 0x103
je 0x100628d
mov eax, dword [ebp + 0x1bc]
cmp eax, 0xffffffff
je 0x1006279
cmp eax, esi
je 0x1006279
inc ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c0]
cmp eax, 0xffffffff
je 0x1006293
cmp eax, esi
je 0x1006293
mov dword [ebp - 0x60], eax
jmp 0x1006290
xor ecx, ecx
inc ecx
xor ebx, ebx
inc ebx
cmp ecx, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x10062b3
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push esi
push 0x10018ec
push dword [ebp + 0x1b8]
call edi
cmp ebx, esi
je 0x10062cd
push 4
lea eax, [ebp - 0x60]
push eax
push 4
push esi
push 0x10018dc
push dword [ebp + 0x1b8]
call edi
push dword [ebp + 0x1b8]
call fcn.01005587
lea ecx, [ebp - 0x80]
call fcn.010045e3
lea ecx, [ebp - 0x80]
call fcn.01004595
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
pop ebx
call fcn.010120e3
add ebp, 0x1b0
leave
ret 0xc
Function at 0x1006300
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, 0x10018c4
jne 0x100635e
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 0x10063fa
push 0x104
lea eax, [ebp - 0x70]
push eax
push edi
jmp 0x10063c9
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 0x10063ba
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 0x10063b1
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 0x100636a
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.01005587
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
pop ebx
call fcn.010120e3
add ebp, 0x19c
leave
ret 8
Function at 0x1006412
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 0x1001540
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.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.010045ba
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x60]
push eax
push ebx
jmp 0x10064bf
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 0x10064cb
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x10
push 0x10018c4
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x10064ab
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 0x1006462
cmp eax, 0x103
je 0x10064e4
mov eax, dword [ebp + 0x1b8]
cmp eax, 0xffffffff
je 0x10064fe
cmp eax, ebx
je 0x10064fe
mov dword [ebp - 0x64], eax
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push ebx
push 0x10018c4
push dword [ebp + 0x1b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1b4]
call fcn.01005587
lea ecx, [ebp - 0x80]
call fcn.010045e3
lea ecx, [ebp - 0x80]
call fcn.01004595
mov ecx, dword [ebp + 0x1a8]
pop edi
pop esi
pop ebx
call fcn.010120e3
add ebp, 0x1ac
leave
ret 8

Function at 0x1006531
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.010059b5
mov edi, eax
cmp edi, ebx
je 0x1006593
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 0x1006593
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 0x1001714
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100658a
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 0x100664c
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.010059b5
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100676a
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 0x1006761
lea eax, [ebp - 4]
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
push 0x10
push 0x10019c0
push edi
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x1006758
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x234]
push eax
push edi
push 0x10
push 0x100199c
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 4
call ebx
test eax, eax
jne 0x1006758
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 0x1006758
push 4
pop esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001974
push edi
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x100674f
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001954
push edi
push dword [ebp - 8]
call ebx
test eax, eax
je 0x100676e
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 0x1006786
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
Function at 0x100678d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push 0x1001540
push esi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
call fcn.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.010045ba
push 1
mov ebx, 0x2001f
push ebx
push 4
call fcn.010059b5
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x100688b
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
push eax
call fcn.01004810
test eax, eax
jne 0x1006882
push edi
mov edi, dword [ebp + 8]
push 4
lea eax, [edi + 0x230]
push eax
push 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x10019c0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1006878
push 4
lea eax, [edi + 0x234]
push eax
push 4
push 0
push 0x100199c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1006878
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call fcn.01004810
test eax, eax
jne 0x1006878
push 4
pop ebx
push ebx
lea eax, [edi + 0x214]
push eax
push ebx
push 0
push 0x1001974
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100686f
push ebx
add edi, 0x204
push edi
push ebx
push eax
push 0x1001954
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100686f
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.010045e3
lea ecx, [ebp - 0x1c]
call fcn.01004595
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 8

Function at 0x10068a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push eax
push dword [ebp + 0xc]
xor edi, edi
push 0xbd1
push dword [0x101728c]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov esi, 0x20019
push esi
push 4
call fcn.010059b5
mov ebx, eax
cmp ebx, edi
je 0x10068f7
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10068fb
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1006927
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1006917
xor edi, edi
inc edi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100692e
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10171b0]
mov dword [ebp + 0x198], eax
push 0x104
lea eax, [ebp - 0x70]
push eax
call fcn.0101271d
test eax, eax
je 0x1006a01
push esi
push edi
push 0x1001540
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01004570
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.010045ba
push 1
mov esi, 0x2001f
push esi
push 4
call fcn.010059b5
mov edi, eax
test edi, edi
je 0x10069db
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp + 0x1a4]
push edi
call fcn.01004810
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10069d8
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0x10019e0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 0x74]
je 0x10069df
call esi
push edi
call esi
xor esi, esi
jmp 0x10069ed
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push edi
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x80]
call fcn.010045e3
lea ecx, [ebp - 0x80]
call fcn.01004595
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x198]
call fcn.010120e3
add ebp, 0x19c
leave
ret 4

Function at 0x1006a16
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
mov esi, 0x20019
push esi
push 4
mov word [ebx], di
call fcn.010059b5
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1006a59
lea ecx, [ebp - 8]
push ecx
push esi
push edi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1006a5d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1006aba
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x10000002
mov ebx, 0x10019e0
push ebx
push edi
push dword [ebp - 8]
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
add esi, esi
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x1006aa7
push dword [ebp + 0x10]
call fcn.0100692e
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0
push 0x10000002
push ebx
push 0
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc