joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0e9
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.01012719
test eax, eax
je 0x100a1bc
push esi
push edi
push 0x10013e0
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005016
push 1
mov esi, 0x2001f
push esi
push 4
call fcn.01009170
mov edi, eax
test edi, edi
je 0x100a196
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp + 0x1a4]
push edi
call fcn.01007fcb
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100a193
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 0x1001ea4
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 0x74]
je 0x100a19a
call esi
push edi
call esi
xor esi, esi
jmp 0x100a1a8
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.0100503f
lea ecx, [ebp - 0x80]
call fcn.01004ff1
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x198]
call fcn.010120df
add ebp, 0x19c
leave
ret 4

Function at 0x100a1d1
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.01009170
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x100a214
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 0x100a218
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100a275
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x10000002
mov ebx, 0x1001ea4
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 0x100a262
push dword [ebp + 0x10]
call fcn.0100a0e9
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 0x100a2da
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.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01005016
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.01009170
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x100a43e
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 0x1002714
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 0x10026e8
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 0x10026a0
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 0x10026c4
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 0x1002740
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 0x100a411
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x100a43e
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push 0
push 0x10
push 0x1001da8
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.0100503f
lea ecx, [ebp - 0x18]
call fcn.01004ff1
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x100a53a
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 0x100a626
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 0x100a608
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 0x100a5fd
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
call fcn.01008cf9
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x1b4]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x100a5f4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x100275c
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100a5f4
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 0x100a58d
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.010120df
add ebp, 0x1ac
leave
ret 8

Function at 0x100a9c4
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.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01005016
push 1
mov esi, 0x2001f
push esi
push 2
call fcn.01008054
cmp eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 4], eax
je 0x100aa38
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x10
push 0x1001dd0
push edi
push eax
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100aa2f
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.01009924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push esi
push 3
call fcn.01008054
mov esi, eax
cmp esi, edi
je 0x100aa76
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10
push 0x1001da8
push edi
push esi
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100aa6f
push 0xffffffffffffffff
push esi
call fcn.01009bcd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.0100503f
lea ecx, [ebp - 0x18]
call fcn.01004ff1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100aa8b
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.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005016
mov esi, 0x2001f
push esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov edi, eax
test edi, edi
jne 0x100aadc
lea ecx, [ebp - 0x80]
call fcn.0100503f
jmp 0x100ab2e
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.010081f5
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100ab1c
push eax
call esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
call fcn.01008db8
push 0
call fcn.0100a640
lea ecx, [ebp - 0x80]
call fcn.0100503f
push edi
call esi
lea ecx, [ebp - 0x80]
call fcn.01004ff1
mov ecx, dword [ebp + 0x90]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.010120df
add ebp, 0x94
leave
ret 4
Function at 0x100abd2
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x10171b0]
push esi
push edi
xor edi, edi
push edi
mov esi, 0x20019
push esi
push 4
mov dword [ebp + 0x1ac], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
call fcn.01009170
cmp eax, edi
mov dword [ebp - 0x80], eax
jne 0x100ac14
xor eax, eax
jmp 0x100ad01
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
push dword [ebp + 0x1c0]
push eax
call ebx
test eax, eax
jne 0x100ad3b
lea eax, [ebp - 0x68]
push eax
push esi
push edi
push dword [ebp + 0x1bc]
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x100ad2e
lea eax, [ebp - 0x64]
push eax
push esi
push edi
push dword [ebp + 0x1b8]
push dword [ebp - 0x68]
call ebx
test eax, eax
jne 0x100ad21
push 0x104
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100ace3
lea eax, [ebp - 0x74]
push eax
push esi
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x100ad27
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x1001cec
push 0
push dword [ebp - 0x74]
mov dword [ebp + 0x1c0], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push dword [ebp - 0x74]
call edi
cmp dword [ebp - 0x78], 0
jne 0x100ad18
inc dword [ebp - 0x70]
push 0x104
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100ac7f
push dword [ebp - 0x64]
call edi
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x6c]
call edi
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
call fcn.010120df
add ebp, 0x1b0
leave
ret 0xc
mov dword [ebp - 0x7c], 1
jmp 0x100ace7
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x68]
call edi
jmp 0x100ad34
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call edi
jmp 0x100ad41
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x100acf9
Function at 0x100ad45
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
push 0x10013e0
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], edi
call fcn.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.01005016
call fcn.0100a9c4
push edi
mov esi, 0x2001f
push esi
push 2
call fcn.01008054
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100af4a
push dword [ebp + 0x14]
push edi
push esi
push eax
call fcn.01008f49
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x14], esi
je 0x100af3f
cmp dword [ebp + 0x1c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100aee9
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x1001f78
push esi
call ebx
test eax, eax
jne 0x100af32
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jle 0x100aea2
mov edi, dword [ebp + 8]
add edi, 0x20c
lea eax, [ebp - 4]
push eax
push 0x2001f
lea eax, [edi - 0x20c]
push eax
push dword [ebp + 0x14]
call fcn.01007fcb
test eax, eax
jne 0x100af38
lea eax, [edi - 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100ae3d
test ecx, ecx
je 0x100ae24
mov dword [ebp - 0x14], ecx
push 4
push eax
push 4
push 0
push 0x1001dd0
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100af2b
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100ae64
test eax, eax
je 0x100ae4b
mov dword [ebp - 0x10], eax
push 4
push edi
push 4
push 0
push 0x1001dc0
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100af2b
lea eax, [edi + 4]
cmp dword [eax], 0xffffffff
je 0x100ae85
push 4
push eax
push 4
push 0
push 0x1001e1c
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100af2b
push dword [ebp - 4]
call esi
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
add edi, 0x238
cmp eax, dword [ebp + 0xc]
jl 0x100adf3
xor edi, edi
inc edi
push edi
push dword [ebp + 0x14]
call fcn.010097c9
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.01009924
push dword [ebp + 0x14]
call esi
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x18], 0
je 0x100aed0
push 0
call fcn.0100a640
lea ecx, [ebp - 0x24]
call fcn.0100503f
lea ecx, [ebp - 0x24]
call fcn.01004ff1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
push 0x1001f78
push 0
push esi
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100add6
cmp dword [ebp - 0xc], eax
je 0x100add6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
jmp 0x100aed0
push dword [ebp - 4]
call esi
jmp 0x100af38
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
call esi
jmp 0x100af45
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
xor edi, edi
jmp 0x100aed0
Function at 0x100af4e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6d8]
sub esp, 0x758
mov eax, dword [0x10171b0]
push esi
push edi
mov dword [ebp + 0x6d4], eax
lea eax, [ebp - 0x60]
push eax
push 0x10015f0
push 1
xor esi, esi
push esi
push 0x10015d0
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
je 0x100af8e
mov dword [ebp - 0x60], esi
push esi
push 0x20019
push 4
call fcn.01008054
cmp eax, esi
mov dword [ebp - 0x64], eax
je 0x100b0a7
cmp edi, esi
mov dword [ebp - 0x68], esi
jne 0x100b09e
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
mov ebx, 0x103
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 0x100
push dword [ebp - 0x64]
call edi
inc dword [ebp - 0x68]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x100b09d
lea eax, [ebp - 0x70]
push eax
push 0x20019
push esi
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100b094
mov dword [ebp - 0x6c], esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0x100
push dword [ebp - 0x70]
call edi
inc dword [ebp - 0x6c]
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x100b086
lea eax, [ebp - 0x5c]
push eax
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.010033c9
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x100b060
mov ecx, dword [eax]
lea edx, [ebp + 0x3a4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x100b086
push 0x10016a4
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01003aa5
test eax, eax
jl 0x100b086
lea eax, [ebp + 0x3a4]
push eax
call fcn.01008604
cmp dword [ebp - 0x78], esi
je 0x100b00e
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80], esi
je 0x100afbd
pop ebx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x60]
pop edi
cmp eax, esi
pop esi
je 0x100b0b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1002510
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.010082b3
mov ecx, dword [ebp + 0x6d4]
xor eax, eax
inc eax
call fcn.010120df
add ebp, 0x6d8
leave
ret
Function at 0x100b738
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x98], eax
call fcn.0100a9c4
push 0x10013e0
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x80]
call fcn.01004fcc
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01005016
mov eax, dword [ebp + 0xb0]
mov ebx, 0x2001f
push ebx
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, esi
mov dword [ebp - 0x70], eax
jne 0x100b79a
lea ecx, [ebp - 0x80]
call fcn.0100503f
jmp 0x100b873
push edi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
mov edi, 0x81
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100b7c7
mov eax, dword [ebp + 0xb0]
mov dword [eax], 1
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0xa4]
mov dword [ebp + 0xb0], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor edi, edi
inc edi
push edi
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.010081f5
mov ebx, eax
cmp ebx, esi
je 0x100b850
cmp dword [ebp + 0xa8], esi
mov dword [ebp + 0xb0], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100b827
push dword [ebp + 0xa8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xa8]
push 1
push esi
push esi
push ebx
call edi
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push esi
push 0x100275c
push ebx
call edi
push ebx
call fcn.01008d42
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call fcn.01008db8
call sym.mobsync.dll_RegSetUserDefaults
push esi
call fcn.0100a640
lea ecx, [ebp - 0x80]
call fcn.0100503f
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0xb0]
pop edi
lea ecx, [ebp - 0x80]
call fcn.01004ff1
mov ecx, dword [ebp + 0x98]
mov eax, esi
pop esi
pop ebx
call fcn.010120df
add ebp, 0x9c
leave
ret 0x10
Function at 0x100b894
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x101392f
call fcn.010136c0
sub esp, 0x224
mov eax, dword [0x10171b0]
push esi
push edi
push 0xfa1
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
cmp eax, edi
je 0x100b90b
cmp dword [esi], edi
jne 0x100ba0f
push 0x34
call fcn.010121b9
pop ecx
mov dword [ebp - 0x22c], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x100b8ec
push 3
mov ecx, eax
call fcn.0100dd55
jmp 0x100b8ee
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi], eax
je 0x100b90b
push eax
call fcn.0100dd79
test eax, eax
jge 0x100b912
push dword [esi]
call fcn.0100ee96
mov dword [esi], edi
xor eax, eax
jmp 0x100ba12
push 0x20019
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, edi
mov dword [ebp - 0x22c], eax
je 0x100b9ad
push ebx
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x228]
push ecx
push edi
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push eax
jmp 0x100b998
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x100b97e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call fcn.0100dda7
test eax, eax
jne 0x100b97e
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push dword [esi]
call fcn.0100ea55
inc dword [ebp - 0x230]
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
call edi
test eax, eax
je 0x100b948
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
pop ebx
lea eax, [ebp + 8]
push eax
push 3
push dword [esi]
call fcn.0100ea17
jmp 0x100b9de
push edi
push edi
push 0x100
push edi
push dword [ebp + 8]
push dword [esi]
call fcn.0100eaef
lea eax, [ebp + 8]
push eax
push 3
push dword [ebp + 8]
push dword [esi]
call fcn.0100e066
test eax, eax
je 0x100b9bc
lea eax, [ebp + 8]
push eax
push 5
push dword [esi]
call fcn.0100ea17
jmp 0x100ba0b
push dword [ebp + 8]
push dword [esi]
call fcn.0100eeb8
lea eax, [ebp + 8]
push eax
push 5
push dword [ebp + 8]
push dword [esi]
call fcn.0100e066
test eax, eax
je 0x100b9f1
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.010120df
leave
ret 8
Function at 0x100c874
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10171b0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x1001f98
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100c960
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x100c954
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x100c903
xor edi, edi
jmp 0x100c94b
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x100c8ff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x100c92b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x100c8ff
push dword [ebp - 0x38]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010120df
leave
ret 8