joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061b1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.01016e70
mov eax, dword [0x10191f4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
push eax
push 0x1001700
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100625b
mov eax, 0x400
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1010], eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1014]
push eax
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffafe
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100624f
cmp dword [ebp - 0x1014], 1
jne 0x100624f
cmp dword [ebp - 0x100c], eax
jbe 0x100624f
lea eax, [ebp - 0x804]
push eax
call fcn.0100599b
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
call fcn.01016b82
leave
ret 8
Function at 0x1008508
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10191f4]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 3
push 0x110a
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], edi
call dword [fcn.01001300]
test eax, eax
jne 0x1008542
inc eax
jmp 0x1008618
push esi
xor esi, esi
push esi
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call fcn.01008402
lea ecx, [ebp - 0x208]
push ecx
push 8
push esi
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100857c
xor eax, eax
jmp 0x1008617
lea eax, [ebp - 0x204]
push eax
call dword [fcn.01001228]
mov edi, 0xff
sub edi, eax
push edi
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x20c], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x10085e8
inc dword [ebp - 0x20c]
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.01008191
push eax
lea eax, [ebp - 0x204]
push eax
push 0xffff0001
push dword [ebp - 0x210]
push ebx
call fcn.01008139
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x10085a7
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x210]
push 0
push 0x1113
push ebx
call dword [fcn.01001300]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.01016b82
leave
ret 8

Function at 0x1008ca7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10191f4]
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push 0x200
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
push dword [0x1019060]
call fcn.01008402
lea eax, [ebp - 0x404]
push eax
call dword [fcn.01001228]
push edi
lea esi, [eax + eax + 2]
call dword [fcn.01001298]
test eax, eax
je 0x1008d47
push ebx
push esi
push 0x2002
call dword [fcn.01001230]
mov ebx, eax
test ebx, ebx
je 0x1008d40
push ebx
call dword [fcn.01001234]
mov ecx, esi
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [fcn.01001238]
call dword [fcn.01001294]
push ebx
push 0xd
call dword [fcn.01001290]
call dword [fcn.0100128c]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01016b82
leave
ret 8
Function at 0x1009fc8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1009ffd
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100a0b8
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x100a043
cmp eax, 0xea
je 0x100a043
cmp eax, 0x7a
je 0x100a043
mov esi, eax
jmp 0x100a05c
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [fcn.01001210]
mov esi, eax
test esi, esi
jne 0x100a069
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100a0b7
push edi
xor edi, edi
mov eax, dword [ebp - 8]
inc eax
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100a08d
push esi
push dword [ebp - 4]
call fcn.01009fc8
test eax, eax
je 0x100a08e
inc edi
cmp eax, 0x103
je 0x100a09a
cmp edi, dword [ebp - 0x10]
jb 0x100a06c
push esi
call dword [fcn.01001220]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
leave
ret 8

Function at 0x100a0c1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0x1c], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jne 0x100a138
cmp edi, eax
je 0x100a138
mov edi, dword [edi]
cmp edi, 1
je 0x100a103
cmp edi, 2
je 0x100a103
cmp edi, 7
jne 0x100a138
cmp ebx, eax
je 0x100a138
cmp esi, eax
je 0x100a138
mov edx, dword [ebx]
mov ecx, edx
shr ecx, 1
cmp ecx, eax
jle 0x100a123
lea ecx, [esi + ecx*2]
cmp word [ecx - 2], ax
je 0x100a138
mov word [ecx], ax
jmp 0x100a138
jne 0x100a138
cmp edx, 1
jne 0x100a135
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
jmp 0x100a138
mov word [esi], ax
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x100a147
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, 0x20
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
mov esi, 0x10599c0
push esi
push ebx
push dword [ebp + 8]
mov edi, 0x100
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100a226
inc dword [ebp - 4]
cmp dword [ebp - 8], 1
je 0x100a1a5
cmp dword [ebp - 8], 2
je 0x100a1a5
cmp dword [ebp - 8], 7
je 0x100a1a5
xor eax, eax
jmp 0x100a1a8
push 2
pop eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001210]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x100a1f8
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [ebp + 8]
call fcn.0100a0c1
test eax, eax
jne 0x100a1ea
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 8]
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100a1ed
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call dword [fcn.01001220]
jmp 0x100a1fb
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100a18c
cmp dword [ebp - 0x10], ebx
je 0x100a28c
push edi
mov esi, 0x1059bc0
push esi
mov dword [ebp - 4], ebx
push ebx
jmp 0x100a27f
inc dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
push 9
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a27a
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100a271
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0100a147
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100a233
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100b1ee
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10191f4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1001ba0
push eax
call fcn.0100a8aa
lea ecx, [ebp - 0x210]
push ecx
push 2
xor ebx, ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100b23d
mov dword [0x1019978], 0x83
jmp 0x100b42c
lea eax, [ebp - 0x208]
push eax
call fcn.0100ab53
test eax, eax
je 0x100b414
push esi
push edi
dec dword [0x1059984]
push 0x5c
call fcn.0100ac54
test eax, eax
je 0x100b26b
mov esi, 0x1001a38
jmp 0x100b279
cmp word [0x1001ba0], bx
mov esi, 0x1001ba0
je 0x100b293
xor eax, eax
mov ax, word [esi]
push eax
call fcn.0100ac54
inc esi
inc esi
test eax, eax
je 0x100b3f9
cmp word [esi], bx
jne 0x100b279
push 0x5c
call fcn.0100ac54
mov edi, eax
cmp edi, ebx
je 0x100b3f9
xor esi, esi
jmp 0x100b2cf
mov ecx, dword [ebp - 0x208]
cmp cx, 0x20
je 0x100b2e3
push ecx
call fcn.0100acac
test eax, eax
jne 0x100b2e3
cmp esi, 0xff
jae 0x100b2e1
mov word [ebp + esi*2 - 0x204], cx
inc esi
lea eax, [ebp - 0x208]
push eax
call fcn.0100ab53
test eax, eax
jne 0x100b2a8
jmp 0x100b2e3
xor edi, edi
cmp edi, ebx
je 0x100b3f9
mov word [ebp + esi*2 - 0x204], bx
call fcn.0100b11f
push 0x3d
call fcn.0100ac54
test eax, eax
je 0x100b30a
push 0x20
call fcn.0100ac54
push 0x100
push 0x40
xor edi, edi
call dword [fcn.01001210]
mov esi, eax
xor eax, eax
cmp esi, ebx
setne al
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x208]
push eax
call fcn.0100ab53
test eax, eax
je 0x100b3a4
mov ebx, 0x200
cmp dword [ebp - 0x20c], 0
je 0x100b3da
push dword [ebp - 0x208]
call fcn.0100acac
test eax, eax
jne 0x100b3a2
lea eax, [ebx - 0x101]
cmp edi, eax
jb 0x100b386
push 2
push ebx
push esi
call dword [0x100122c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
mov dword [ebp - 0x20c], ecx
je 0x100b3da
mov esi, eax
add ebx, 0x100
mov ax, word [ebp - 0x208]
mov word [esi + edi*2], ax
lea eax, [ebp - 0x208]
push eax
inc edi
call fcn.0100ab53
test eax, eax
jne 0x100b33d
xor ebx, ebx
cmp dword [ebp - 0x20c], ebx
je 0x100b3dc
lea eax, [edi + edi]
push eax
push esi
mov word [eax + esi], bx
push 1
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
je 0x100b3e6
mov dword [0x1019978], 0x84
jmp 0x100b3e6
xor ebx, ebx
mov dword [0x1019978], 0x132
cmp esi, ebx
je 0x100b3f1
push esi
call dword [fcn.01001220]
cmp dword [ebp - 0x20c], ebx
jne 0x100b3fe
call fcn.0100b14f
lea eax, [ebp - 0x208]
push eax
call fcn.0100ab53
test eax, eax
jne 0x100b253
pop edi
pop esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01016b82
leave
ret 4
Function at 0x100ba13
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x20
push 0x1001bf0
call fcn.01016ec0
push 0x5b
call fcn.0100b19a
push dword [ebp + 0xc]
call fcn.0100b4ba
push 0x1001be8
call fcn.0100b4ba
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, 0x10599c0
mov dword [ebp - 0x2c], 0x100
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
inc dword [ebp - 0x1c]
cmp edi, esi
je 0x100bb7b
push 0xa
call fcn.0100b19a
cmp edi, 0x103
je 0x100ba8a
mov dword [0x1019978], 0x8c
push dword [ebp + 0xc]
call dword [fcn.01001228]
mov ebx, eax
lea edi, [ebx + 0x100]
mov dword [ebp - 4], esi
lea eax, [edi + edi]
add eax, 3
and eax, 0xfffffffc
call fcn.01016e70
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x30], esi
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0xc]
push edi
push esi
call fcn.0100fcc7
lea esi, [esi + ebx*2]
mov word [esi], 0x5c
inc esi
inc esi
xor eax, eax
mov word [esi], ax
mov dword [ebp - 0x1c], eax
mov ebx, 0xff
push ebx
push esi
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100bb32
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
push 9
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100bb23
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0100ba13
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1019978], 0x8d
je 0x100bc4e
jmp 0x100bb2d
mov dword [0x1019978], 0x8b
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call edi
test eax, eax
je 0x100bae4
cmp eax, 0x103
je 0x100bc4e
mov dword [0x1019978], 0x8c
jmp 0x100bc4e
cmp dword [ebp - 0x20], 1
je 0x100bb91
cmp dword [ebp - 0x20], 2
je 0x100bb91
cmp dword [ebp - 0x20], 7
je 0x100bb91
xor eax, eax
jmp 0x100bb94
push 2
pop eax
mov ecx, dword [ebp - 0x24]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001210]
mov edi, eax
cmp edi, esi
je 0x100bc34
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push dword [ebp + 8]
call fcn.0100a0c1
test eax, eax
je 0x100bbcf
mov dword [0x1019978], 0x8d
jmp 0x100bc2b
cmp dword [ebp - 0x2c], esi
je 0x100bbdc
push ebx
call fcn.0100b4e1
jmp 0x100bbe3
push 0x40
call fcn.0100b19a
push 0x3d
call fcn.0100b19a
mov eax, dword [ebp - 0x20]
dec eax
je 0x100bc1e
sub eax, 3
jne 0x100bc10
cmp dword [ebp - 0x24], 4
jne 0x100bc10
push 0x1001abc
call fcn.0100b4ba
push 1
push dword [edi]
call fcn.0100b55c
jmp 0x100bc24
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push edi
call fcn.0100b640
jmp 0x100bc24
push edi
call fcn.0100b4e1
push 0xa
call fcn.0100b19a
push edi
call dword [fcn.01001220]
jmp 0x100bc3e
mov dword [0x1019978], 0x8d
cmp dword [0x1019978], 0x8d
jne 0x100ba42
lea esp, [ebp - 0x3c]
call fcn.01016efb
ret 8
Function at 0x100cf7f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10191f4]
push ebx
xor ebx, ebx
cmp dword [0x10198e0], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], ebx
je 0x100d0fe
push esi
mov esi, 0x10599c0
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x20c]
mov edi, 0x100
push dword [ebp - 0x214]
mov dword [ebp - 0x218], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x20c]
test eax, eax
jne 0x100d0fc
push 0x1fa8
call fcn.0100c5d2
mov eax, dword [ebp - 0x20c]
dec eax
push eax
push 0x1001db8
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01003135
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call fcn.0100c58f
call fcn.0100c5c1
push 0x1fa9
call fcn.0100c5d2
cmp dword [ebp - 0x218], ebx
je 0x100d04c
push esi
call fcn.0100c58f
jmp 0x100d056
push 0x1fad
call fcn.0100c5d2
call fcn.0100c5c1
push dword [ebp - 0x208]
call fcn.0100c5fe
cmp dword [ebp - 0x208], 1
je 0x100d085
cmp dword [ebp - 0x208], 2
je 0x100d085
cmp dword [ebp - 0x208], 7
je 0x100d085
xor eax, eax
jmp 0x100d088
push 2
pop eax
mov ecx, dword [ebp - 0x210]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001210]
mov edi, eax
cmp edi, ebx
je 0x100d0f2
lea eax, [ebp - 0x210]
push eax
push edi
lea eax, [ebp - 0x208]
push eax
push ebx
push esi
push dword [ebp - 0x214]
call fcn.0100a0c1
test eax, eax
jne 0x100d0d3
push dword [ebp - 0x208]
push dword [ebp - 0x210]
push edi
call fcn.0100cd6b
jmp 0x100d0dd
mov dword [0x10198e4], 0x92
push edi
call dword [fcn.01001220]
cmp dword [0x10198e0], ebx
jne 0x100cfb7
jmp 0x100d0fc
mov dword [0x10198e4], 0x90
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01016b82
leave
ret 4

Function at 0x100d145
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x14
push 0x1001dc0
call fcn.01016ec0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100d110
push dword [ebp + 8]
call fcn.0100cf7f
xor ebx, ebx
cmp dword [0x10198e4], ebx
jne 0x100d22e
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0xc]
call dword [fcn.01001228]
mov esi, eax
lea edi, [esi + 0x100]
mov dword [ebp - 4], ebx
lea eax, [edi + edi]
add eax, 3
and eax, 0xfffffffc
call fcn.01016e70
mov dword [ebp - 0x18], esp
mov ebx, esp
mov dword [ebp - 0x24], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0100fcc7
lea esi, [ebx + esi*2]
mov word [esi], 0x5c
inc esi
inc esi
xor edi, edi
mov word [esi], di
call fcn.0100c5c1
jmp 0x100d203
push 0xff
push esi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc dword [ebp - 0x1c]
test eax, eax
jne 0x100d22e
lea eax, [ebp - 0x20]
push eax
push 9
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d203
push ebx
push dword [ebp - 0x20]
call fcn.0100d145
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10198e0], edi
jne 0x100d1c3
jmp 0x100d22e
lea esp, [ebp - 0x30]
call fcn.01016efb
ret 8
Function at 0x100dae7
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x10191f4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
inc ebx
mov dword [0x1019428], edi
cmp dword [esi + 0x20], edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x208], ebx
je 0x100dcb5
lea eax, [ebp - 0x204]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x250]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x248], edi
push 0x1073
push dword [0x1019064]
mov dword [ebp - 0x238], 0x100
call dword [fcn.01001300]
mov eax, dword [esi + 0x20]
cmp word [eax], di
jne 0x100db77
mov dword [ebp - 0x210], 0x4b
mov dword [ebp - 0x208], edi
jmp 0x100dc8e
lea ecx, [ebp - 0x218]
push ecx
push edi
push ecx
push edi
push eax
push dword [0x1019078]
call fcn.0100a0c1
cmp eax, 2
mov dword [ebp - 0x208], edi
je 0x100dba7
mov dword [ebp - 0x210], 0x4a
jmp 0x100dc8e
lea eax, [ebp - 0x214]
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
call fcn.0100a0c1
cmp dword [ebp - 0x20c], ebx
je 0x100dbe7
cmp dword [ebp - 0x20c], 2
je 0x100dbe7
cmp dword [ebp - 0x20c], 7
je 0x100dbe7
xor eax, eax
jmp 0x100dbea
push 2
pop eax
mov ecx, dword [ebp - 0x214]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001210]
mov ebx, eax
cmp ebx, edi
je 0x100dc7c
lea eax, [ebp - 0x214]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
mov dword [ebp - 0x210], 0x49
call fcn.0100a0c1
test eax, eax
jne 0x100dc73
push dword [ebp - 0x214]
push ebx
push dword [ebp - 0x20c]
push edi
push dword [esi + 0x20]
push dword [0x1019078]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100dc73
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x100dc73
mov dword [ebp - 0x208], 1
push ebx
call dword [fcn.01001220]
jmp 0x100dc86
mov dword [ebp - 0x210], 0x76
cmp dword [ebp - 0x208], edi
jne 0x100dcb5
lea eax, [ebp - 0x204]
push eax
movzx eax, word [ebp - 0x210]
push 0x10
push 0x48
push eax
push dword [ebp - 0x21c]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x18
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
pop edi
pop esi
pop ebx
call fcn.01016b82
leave
ret 8
Function at 0x100e3f4
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x10191f4]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [0x1019078], edi
mov dword [ebp - 0x218], eax
je 0x100e5bf
push ebx
mov dword [ebp - 0x20c], 1
push esi
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push dword [0x10190a0]
push 0x100
push eax
call fcn.01003135
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
push edi
push eax
push edi
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
call fcn.0100a0c1
test eax, eax
mov ebx, dword [ebp + 0xc]
push 3
pop esi
jne 0x100e4b6
inc dword [ebp - 0x20c]
cmp dword [ebp - 0x20c], 0x64
jb 0x100e42b
cmp dword [ebp - 0x20c], 0x64
jne 0x100e525
mov eax, 0xaa
push 0x10
movzx eax, ax
push 0xa8
push eax
push dword [ebp - 0x218]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x14
jmp 0x100e5bd
cmp ebx, edi
jbe 0x100e4de
push 2
pop ecx
cmp ebx, ecx
jbe 0x100e4d1
cmp ebx, esi
je 0x100e51d
push 4
pop eax
cmp ebx, eax
je 0x100e50f
cmp ebx, 7
jne 0x100e4de
mov word [ebp - 0x210], di
mov dword [ebp - 0x208], ecx
push dword [ebp - 0x208]
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100e480
mov eax, 0xa9
jmp 0x100e492
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x208], eax
jmp 0x100e4de
mov dword [ebp - 0x208], edi
jmp 0x100e4de
push edi
push edi
push 0x1004
push dword [0x1019064]
mov dword [ebp - 0x24c], esi
mov esi, dword [fcn.01001300]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x238], eax
call esi
cmp ebx, 1
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], edi
je 0x100e571
cmp ebx, 2
je 0x100e571
cmp ebx, 7
mov dword [ebp - 0x230], 5
jne 0x100e57b
mov dword [ebp - 0x230], 4
lea eax, [ebp - 0x24c]
push eax
push edi
push 0x104d
push dword [0x1019064]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x100e5bd
push ebx
push dword [ebp - 0x208]
lea eax, [ebp - 0x210]
push eax
push esi
push dword [0x1019064]
call fcn.0100e176
push esi
push dword [0x1019064]
call fcn.0100dd3c
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.01016b82
leave
ret 8
Function at 0x100e952
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x10191f4]
push ebx
push esi
mov esi, dword [fcn.01001300]
push edi
mov edi, dword [0x1019064]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1032
push edi
mov dword [ebp - 0x20c], eax
call esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x34
push 0x34
movzx eax, ax
push 0x33
push eax
push dword [ebp - 0x20c]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x14
cmp eax, 6
jne 0x100eaa3
push ebx
push ebx
push 0xb
push edi
call esi
or dword [ebp - 0x208], 0xffffffff
push 2
mov dword [ebp - 0x210], ebx
push 0xffffffffffffffff
jmp 0x100ea64
test ebx, ebx
je 0x100ea09
and dword [ebp - 0x23c], 0
lea eax, [ebp - 0x204]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x244]
push eax
push ebx
push 0x1073
push edi
mov dword [ebp - 0x22c], 0x100
call esi
jmp 0x100ea11
and word [ebp - 0x204], 0
lea eax, [ebp - 0x204]
push eax
push dword [0x1019078]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x100ea4c
cmp ebx, eax
je 0x100ea38
push eax
push ebx
push 0x1008
push edi
call esi
jmp 0x100ea5c
push 1
push eax
push eax
push eax
push edi
call fcn.0100e176
and dword [ebp - 0x208], 0
jmp 0x100ea5c
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x208], ebx
push 2
push dword [ebp - 0x208]
push 0x100c
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100e9d6
push 0
push 1
push 0xb
push edi
call esi
cmp dword [ebp - 0x210], 0
je 0x100eaa3
push 0x10
push 0x58
push 0x59
push dword [ebp - 0x20c]
push dword [0x1019510]
call fcn.01009ee7
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01016b82
leave
ret 4
Function at 0x100edd6
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push 0
push 0x1032
push dword [0x1019064]
call dword [fcn.01001300]
test eax, eax
jbe 0x100ee01
cmp eax, 1
je 0x100ee05
push 0
call dword [fcn.010012b8]
pop ebp
ret 8
pop ebp
jmp fcn.0100e5d1