joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066ca
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.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.01004d58
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.01006185
cmp eax, esi
mov dword [ebp + 8], eax
je 0x10067c5
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 0x10067a7
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push esi
push 0x10
push 0x10018dc
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100679e
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x10018cc
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100679e
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push esi
push 0x10
push 0x100192c
push esi
push dword [ebp - 8]
call edi
test eax, eax
je 0x10067b2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10067c5
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.01004d81
lea ecx, [ebp - 0x20]
call fcn.01004d33
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x10067de
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 0x100683d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1ac]
push eax
push esi
push 0x10
push 0x10018dc
push esi
push dword [ebp + 0x1a8]
call ebx
test eax, eax
je 0x1006921
push 0x104
lea eax, [ebp - 0x6c]
push eax
push esi
jmp 0x10068d4
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 0x10068c5
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 0x1006893
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 0x10018cc
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x70], edi
call ebx
test eax, eax
jne 0x10068bc
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 0x100684c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
lea eax, [ebp - 0x7c]
push eax
push edi
push esi
push 0x10018dc
push dword [ebp + 0x1a8]
call ebx
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push esi
push 0x10018cc
push dword [ebp + 0x1a8]
call ebx
push dword [ebp + 0x1a8]
call fcn.01005d25
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x1a0
leave
ret 8
Function at 0x1006939
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.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01004d58
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
jmp 0x1006a17
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 0x1006a27
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x10
push 0x10018dc
push esi
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x10069d8
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 0x10018cc
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x70], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006a03
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 0x100698f
xor ecx, ecx
xor ebx, ebx
cmp eax, esi
je 0x1006a5d
cmp eax, 0x103
je 0x1006a5d
mov eax, dword [ebp + 0x1bc]
cmp eax, 0xffffffff
je 0x1006a49
cmp eax, esi
je 0x1006a49
inc ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c0]
cmp eax, 0xffffffff
je 0x1006a63
cmp eax, esi
je 0x1006a63
mov dword [ebp - 0x60], eax
jmp 0x1006a60
xor ecx, ecx
inc ecx
xor ebx, ebx
inc ebx
cmp ecx, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x1006a83
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push esi
push 0x10018dc
push dword [ebp + 0x1b8]
call edi
cmp ebx, esi
je 0x1006a9d
push 4
lea eax, [ebp - 0x60]
push eax
push 4
push esi
push 0x10018cc
push dword [ebp + 0x1b8]
call edi
push dword [ebp + 0x1b8]
call fcn.01005d25
lea ecx, [ebp - 0x80]
call fcn.01004d81
lea ecx, [ebp - 0x80]
call fcn.01004d33
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x1b0
leave
ret 0xc
Function at 0x1006ad0
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, 0x10018b4
jne 0x1006b2e
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 0x1006bca
push 0x104
lea eax, [ebp - 0x70]
push eax
push edi
jmp 0x1006b99
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 0x1006b8a
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 0x1006b81
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 0x1006b3a
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.01005d25
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x19c
leave
ret 8
Function at 0x1006be2
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.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01004d58
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x60]
push eax
push ebx
jmp 0x1006c8f
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 0x1006c9b
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x10
push 0x10018b4
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006c7b
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 0x1006c32
cmp eax, 0x103
je 0x1006cb4
mov eax, dword [ebp + 0x1b8]
cmp eax, 0xffffffff
je 0x1006cce
cmp eax, ebx
je 0x1006cce
mov dword [ebp - 0x64], eax
push 4
lea eax, [ebp - 0x64]
push eax
push 4
push ebx
push 0x10018b4
push dword [ebp + 0x1b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x1b4]
call fcn.01005d25
lea ecx, [ebp - 0x80]
call fcn.01004d81
lea ecx, [ebp - 0x80]
call fcn.01004d33
mov ecx, dword [ebp + 0x1a8]
pop edi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x1ac
leave
ret 8

Function at 0x1006d01
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.01006185
mov edi, eax
cmp edi, ebx
je 0x1006d63
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 0x1006d63
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 0x1001948
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006d5a
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 0x1006e1c
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.01006185
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1006f3a
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 0x1006f31
lea eax, [ebp - 4]
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
push 0x10
push 0x10019d0
push edi
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x1006f28
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x234]
push eax
push edi
push 0x10
push 0x10019ac
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 4
call ebx
test eax, eax
jne 0x1006f28
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 0x1006f28
push 4
pop esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001984
push edi
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1006f1f
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
push edi
push 0x10
push 0x1001964
push edi
push dword [ebp - 8]
call ebx
test eax, eax
je 0x1006f3e
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 0x1006f56
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 0x1006f5d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push 0x10013e0
push esi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.01004d58
push 1
mov ebx, 0x2001f
push ebx
push 4
call fcn.01006185
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x100705b
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
push eax
call fcn.01004fae
test eax, eax
jne 0x1007052
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 0x10019d0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1007048
push 4
lea eax, [edi + 0x234]
push eax
push 4
push 0
push 0x10019ac
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1007048
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call fcn.01004fae
test eax, eax
jne 0x1007048
push 4
pop ebx
push ebx
lea eax, [edi + 0x214]
push eax
push ebx
push 0
push 0x1001984
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100703f
push ebx
add edi, 0x204
push edi
push ebx
push eax
push 0x1001964
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100703f
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.01004d81
lea ecx, [ebp - 0x1c]
call fcn.01004d33
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 8

Function at 0x1007074
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 [0x1017260]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov esi, 0x20019
push esi
push 4
call fcn.01006185
mov ebx, eax
cmp ebx, edi
je 0x10070c7
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 0x10070cb
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10070f7
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 0x10070e7
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 0x10070fe
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.01012653
test eax, eax
je 0x10071d1
push esi
push edi
push 0x10013e0
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01004d58
push 1
mov esi, 0x2001f
push esi
push 4
call fcn.01006185
mov edi, eax
test edi, edi
je 0x10071ab
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp + 0x1a4]
push edi
call fcn.01004fae
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10071a8
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 0x10019f0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 0x74]
je 0x10071af
call esi
push edi
call esi
xor esi, esi
jmp 0x10071bd
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.01004d81
lea ecx, [ebp - 0x80]
call fcn.01004d33
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x198]
call fcn.0101206f
add ebp, 0x19c
leave
ret 4

Function at 0x10071e6
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.01006185
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1007229
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 0x100722d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100728a
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x10000002
mov ebx, 0x10019f0
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 0x1007277
push dword [ebp + 0x10]
call fcn.010070fe
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
Function at 0x10072ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x10013e0
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01004d58
mov edi, dword [ebp + 8]
push ebx
lea eax, [edi + 0x218]
push 0x20019
lea esi, [edi + 0x21c]
push 3
mov dword [ebp - 0xc], eax
mov dword [eax], ebx
mov dword [esi], 0xf
mov dword [edi + 0x220], 0x3c
mov dword [edi + 0x224], 0x7d0
mov dword [edi + 0x228], 1
mov dword [edi + 0x22c], ebx
call fcn.01006185
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x1007453
push 4
pop ebx
lea ecx, [ebp - 4]
push ecx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push 0
push 0x10
push 0x100270c
push 0
push eax
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x228]
push eax
push 0
push 0x10
push 0x10026e0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x220]
push eax
push 0
push 0x10
push 0x1002698
push 0
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x224]
push eax
push 0
push 0x10
push 0x10026bc
push 0
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x22c]
push eax
push 0
push 0x10
push 0x1002738
push 0
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1007426
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x1007453
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push 0
push 0x10
push 0x10018b4
push 0
push dword [ebp - 8]
call esi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 8]
call esi
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x18]
call fcn.01004d81
lea ecx, [ebp - 0x18]
call fcn.01004d33
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x100754f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1b8]
xor esi, esi
push 0x20019
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov ebx, eax
cmp ebx, esi
je 0x100763b
push edi
mov edi, 0x105
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100761d
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007612
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
call fcn.01005cdc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x1b4]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1007609
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x1002754
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1007609
mov eax, dword [ebp - 0x78]
or dword [ebp - 0x6c], eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x68]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push ebx
call esi
test eax, eax
je 0x10075a2
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x1b8]
push ebx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x1a8]
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0101206f
add ebp, 0x1ac
leave
ret 8

Function at 0x10079d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x10013e0
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01004d58
push 1
mov esi, 0x2001f
push esi
push 2
call fcn.01005037
cmp eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 4], eax
je 0x1007a4d
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x10
push 0x10018dc
push edi
push eax
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x1007a44
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.01006939
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push esi
push 3
call fcn.01005037
mov esi, eax
cmp esi, edi
je 0x1007a8b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10
push 0x10018b4
push edi
push esi
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x1007a84
push 0xffffffffffffffff
push esi
call fcn.01006be2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.01004d81
lea ecx, [ebp - 0x18]
call fcn.01004d33
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007aa0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10171b0]
push esi
push edi
push 0x10013e0
push 0
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x90], eax
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01004d58
mov esi, 0x2001f
push esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov edi, eax
test edi, edi
jne 0x1007af1
lea ecx, [ebp - 0x80]
call fcn.01004d81
jmp 0x1007b43
push 0x81
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x9c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0
push esi
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.010051d8
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1007b31
push eax
call esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
call fcn.01005d9b
push 0
call fcn.01007655
lea ecx, [ebp - 0x80]
call fcn.01004d81
push edi
call esi
lea ecx, [ebp - 0x80]
call fcn.01004d33
mov ecx, dword [ebp + 0x90]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.0101206f
add ebp, 0x94
leave
ret 4