joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017d6c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102a0ec]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1017e5d
push esi
lea eax, [ebp - 0x210]
push eax
push 0x2001f
xor esi, esi
push esi
push ebx
push edi
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x1017e5c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call edi
mov ebx, 0x103
jmp 0x1017e3a
cmp eax, esi
jne 0x1017e3e
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.01017d6c
test eax, eax
jne 0x1017e3e
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call edi
cmp eax, ebx
jne 0x1017dfb
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0101672d
leave
ret 8

Function at 0x1017e70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
jne 0x1017e86
push 6
pop eax
jmp 0x1017ecc
cmp dword [ebp + 8], esi
jne 0x1017eb4
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1017eb4
cmp dword [ebp + 0x10], esi
jne 0x1017ead
cmp dword [ebp - 4], 2
jbe 0x1017eb4
mov eax, 0xb7
jmp 0x1017ecc
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
leave
ret 0x1c
Function at 0x1017f6c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x102a0ec]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006200
mov edi, 0x80000002
push edi
mov dword [ebp - 0x214], esi
call ebx
test eax, eax
jne 0x1018103
push esi
lea eax, [ebp - 0x218]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push 0x1006198
push edi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10180f7
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x220], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10180eb
push 4
pop edi
inc dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], esi
call ebx
test eax, eax
jne 0x10180b5
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push 0x1002570
push dword [ebp - 0x21c]
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x230], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10180a9
cmp dword [ebp - 0x228], edi
jne 0x10180a9
push edi
lea eax, [ebp - 0x22c]
push eax
push edi
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x220], 0x20a
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1018017
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret

Function at 0x10183b9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102a0ec]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
test eax, eax
je 0x1018415
push eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.01016ba9
test eax, eax
jl 0x1018415
push 0x5c
lea eax, [ebp - 0x108]
push eax
call fcn.01016d90
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1018413
test al, 0x10
je 0x1018413
inc esi
jmp 0x1018415
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.0101672d
leave
ret 4
Function at 0x1018429
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102a0ec]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
test eax, eax
je 0x1018485
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0100c535
test eax, eax
jl 0x1018485
push 0x5c
lea eax, [ebp - 0x20c]
push eax
call fcn.01016dc6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1018483
test al, 0x10
je 0x1018483
inc esi
jmp 0x1018485
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.0101672d
leave
ret 4

Function at 0x1018499
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcslen]
mov ebx, eax
add ebx, 0x14
lea eax, [ebx + ebx]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x10185ad
push dword [ebp + 8]
push ebx
push edi
call fcn.0100d4af
push 0x10062c0
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x10185a6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 4
and dword [ebp - 4], 0
jmp 0x10184f9
mov eax, dword [ebp - 0xc]
push 0x1005a78
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x101859c
and word [eax], 0
add eax, 2
push edi
mov dword [ebp - 0xc], eax
call fcn.01018429
test eax, eax
jne 0x1018570
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call esi
test eax, eax
jne 0x1018536
push 0x57
pop eax
test eax, eax
jg 0x1018543
call esi
test eax, eax
jne 0x1018556
push 0x57
pop eax
jmp 0x1018556
call esi
test eax, eax
jne 0x101854c
push 0x57
pop eax
and eax, 0xffff
or eax, 0x80070000
push edi
mov dword [ebp - 8], eax
call fcn.01018429
test eax, eax
je 0x1018589
push 0
push edi
push 5
push 8
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp + 8]
push ebx
push edi
call fcn.0100d4af
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x10184f6
jmp 0x101859c
push dword [ebp - 8]
push edi
push 0x1006284
push 2
call fcn.01028201
add esp, 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp + 8]
call fcn.01018429
pop edi
pop ebx
leave
ret 4
Function at 0x10188e7
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x10189ce
cmp dword [ebp + 0xc], ebx
je 0x10189ce
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 3
push ebx
mov edi, 0x1006438
push edi
push 0x80000002
call esi
cmp eax, ebx
je 0x101893a
lea eax, [ebp - 4]
push eax
push 3
push ebx
push edi
push 0x80000001
call esi
mov esi, eax
cmp esi, ebx
jne 0x101898d
push dword [ebp + 0xc]
push 0x100642c
push dword [ebp - 4]
call fcn.01017b2a
mov edi, eax
cmp edi, ebx
je 0x101897b
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push 1
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x1018980
mov esi, 0x80004005
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10189b0
jle 0x101899b
and esi, 0xffff
or esi, 0x80070000
push esi
push dword [ebp + 8]
push 0x10063e8
push 2
call fcn.01028201
add esp, 0x10
jmp 0x10189c8
push 0x10063c8
push 5
call fcn.010281c7
or dword [0x102be38], 1
mov esi, 0xd2af9
pop edi
mov eax, esi
pop esi
jmp 0x10189d3
mov eax, 0x80004003
pop ebx
leave
ret 8
Function at 0x1018dae
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x102a0ec]
push ebx
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x320]
push eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x320], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1018f23
test byte [ebp - 0x310], 2
je 0x1018f21
mov eax, dword [ebp - 0x31c]
cmp eax, dword [ebp + 8]
jne 0x1018e09
mov eax, dword [ebp - 0x318]
cmp eax, dword [ebp + 0xc]
je 0x1018e17
jbe 0x1018f21
xor esi, esi
inc esi
jmp 0x1018f21
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
inc esi
cmp edi, ebx
jbe 0x1018f20
lea eax, [ebp - 0x32c]
push eax
push esi
push ebx
push 0x1006108
push 0x80000002
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1018ebd
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x324]
push eax
push ebx
push 0x10060dc
push dword [ebp - 0x32c]
mov dword [ebp - 0x324], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1018ea5
cmp dword [ebp - 0x324], esi
jne 0x1018ea5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
cmp eax, edi
sbb esi, esi
pop ecx
mov dword [ebp - 0x328], eax
inc esi
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x328], edi
ja 0x1018f20
cmp esi, ebx
je 0x1018f20
cmp dword [ebp + 0x14], ebx
je 0x1018f20
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1018f20
push 0x10066fc
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100d4ff
test eax, eax
jl 0x1018f20
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x324], ebx
call fcn.01017285
test eax, eax
jl 0x1018f20
movzx eax, word [ebp - 0x324]
cmp eax, dword [ebp + 0x14]
sbb esi, esi
inc esi
pop edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101672d
leave
ret 0x10
Function at 0x1018fa8
Capabilities:
Get common file path
Get file size
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x102a0ec]
push esi
push edi
xor esi, esi
push esi
push 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], esi
call fcn.01017179
test eax, eax
je 0x101904b
mov edi, 0x104
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1019096
push 0x1006788
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01018165
test eax, eax
jl 0x1019096
push esi
push 0x8000080
push 3
push esi
push esi
push 0x80000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1019096
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x10c], eax
jne 0x1019042
mov dword [ebp - 0x10c], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1019096
lea eax, [ebp - 0x110]
push eax
push 1
push esi
push 0x1006754
push 0x80000002
mov dword [ebp - 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1019096
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push esi
push 0x1006738
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
pop edi
pop esi
call fcn.0101672d
leave
ret
Function at 0x10196ef
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push 5
mov dword [ebp - 4], edi
call fcn.01018dae
test eax, eax
je 0x1019766
push esi
lea eax, [ebp - 4]
push eax
push 2
push edi
push 0x10068e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x1019755
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x10068b0
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x1019765
push esi
push 0x1006868
push 2
call fcn.01028201
add esp, 0xc
pop esi
pop edi
leave
ret
Function at 0x1019dd2
Capabilities:
Create directory
Delete registry value
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x102a0ec]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push eax
xor ebx, ebx
push 0x20007
push ebx
push 0x1002928
push 0x80000002
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
inc esi
test eax, eax
mov edi, 0x104
jne 0x1019eb1
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push 0x1006ca8
push dword [ebp - 0x110]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x118], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1019ea5
cmp dword [ebp - 0x118], 2
je 0x1019e77
cmp dword [ebp - 0x118], esi
jne 0x1019ea5
lea eax, [ebp - 0x108]
mov byte [ebp - 5], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1019e83
sub eax, edx
mov dword [ebp - 0x124], eax
jne 0x1019ea5
push 0x1002900
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x114]
push eax
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1019f11
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x114]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x1019ee2
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1019f09
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
je 0x1019f09
push dword [ebp - 0x114]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x11c], ebx
jne 0x1019f35
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1019f80
push 0x1006c8c
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01018165
lea esi, [ebp - 0x108]
mov eax, esi
push eax
call fcn.010183b9
test eax, eax
jne 0x1019f80
cmp byte [ebp - 0x108], bl
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x1019f76
cmp byte [esi], 0x5c
jne 0x1019f69
push ebx
lea eax, [ebp - 0x108]
push eax
mov byte [esi], bl
call edi
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], bl
jne 0x1019f55
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
je 0x1019f90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret
Function at 0x101a673
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x102a0ec]
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 4], eax
je 0x101a745
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101a734
push edi
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100c535
push 0x1006e8c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x414]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x101a734
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x20c]
push eax
call fcn.01016f8a
test eax, eax
je 0x101a734
xor esi, esi
inc esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.010186bd
test eax, eax
jne 0x101a734
push eax
push eax
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.01019fa2
push edi
push 0x1006e68
push 5
call fcn.01028201
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.0101672d
leave
ret 4
Function at 0x101b3ae
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push 0x1001f70
push 0x80000002
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101b427
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x1001f54
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101b41e
cmp dword [ebp - 4], 4
je 0x101b413
cmp dword [ebp - 4], 3
jne 0x101b41e
xor eax, eax
cmp dword [ebp - 0xc], 1
setne al
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x101b6d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102a0ec]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
je 0x101b74f
cmp ecx, esi
je 0x101b74f
lea edx, [ebp - 0x210]
push edx
push 0x20019
push esi
push ecx
push eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101b74f
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x100732c
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101b743
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.0101672d
leave
ret 8
Function at 0x101dd06
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x102a0ec]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push 0x63
lea eax, [ebp - 0x610]
push eax
xor esi, esi
call fcn.0100c535
lea eax, [ebp - 0x610]
push eax
call fcn.0101d1e2
test eax, eax
je 0x101ddd1
and dword [ebp - 0x614], esi
lea eax, [ebp - 0x610]
push eax
call fcn.01027b75
lea eax, [ebp - 0x610]
push eax
push dword [0x102a0f4]
lea eax, [ebp - 0x20c]
push 0x10072e0
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x614]
push eax
push 2
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101ddce
mov esi, 0x1001780
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x10077f0
push dword [ebp - 0x614]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x614]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.0101672d
leave
ret 8
Function at 0x102507d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x102a0ec]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], eax
call fcn.0101bdc5
push edx
lea eax, [ebp - 0x250]
push eax
xor edi, edi
call fcn.010182f8
test eax, eax
jl 0x102515c
lea eax, [ebp - 0x250]
push eax
call fcn.010242bb
test eax, eax
je 0x102515c
lea eax, [ebp - 0x250]
push eax
push esi
mov dword [ebp - 0x210], edi
call fcn.0101ff1e
push dword [ebp - 0x250]
lea eax, [ebp - 0x20c]
push dword [0x102a0f4]
push 0x1007378
push 0x103
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
push 2
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1025159
mov esi, 0x1001780
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push 0x10077f0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
inc edi
lea ecx, [ebp - 0x250]
call fcn.0101bdfe
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.0101672d
leave
ret 8

Function at 0x102517c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x102a0ec]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push dword [0x102a0f4]
mov dword [ebp - 4], eax
push 0x10072c0
lea eax, [ebp - 0x66c]
xor ebx, ebx
push 0x103
push eax
mov dword [ebp - 0x674], ebx
mov dword [ebp - 0x670], ebx
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
push 0x2001b
push ebx
lea eax, [ebp - 0x66c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1025280
lea eax, [ebp - 0x678]
push eax
push 0x208
lea eax, [ebp - 0x464]
push eax
mov eax, 0x12c
push eax
lea ecx, [ebp - 0x25c]
push ecx
push eax
lea eax, [ebp - 0x130]
push eax
push edi
mov dword [ebp - 0x678], ebx
call fcn.0101d620
test eax, eax
je 0x1025274
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [esi + 0x1c]
mov dword [ebp - 0x674], 1
push edi
call fcn.0101e9b6
mov esi, 0x1001780
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push 0x10077f0
push dword [ebp - 0x670]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x670]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x674]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 8
Function at 0x102529a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x102a0ec]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push dword [0x102a0f4]
mov dword [ebp - 4], eax
push 0x10072a4
lea eax, [ebp - 0x61c]
xor ebx, ebx
push 0x103
push eax
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x620], ebx
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x620]
push eax
push 0x2001b
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1025390
lea eax, [ebp - 0x628]
push eax
mov eax, 0x208
push eax
lea ecx, [ebp - 0x414]
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
mov dword [ebp - 0x628], ebx
call fcn.0101d9d9
test eax, eax
je 0x1025384
push dword [esi + 4]
lea eax, [ebp - 0x414]
push dword [esi]
mov dword [ebp - 0x624], 1
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x1c]
push edi
call fcn.0101eed4
mov esi, 0x1001780
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push 0x10077f0
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x624]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 8