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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xb03d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xb03b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00025330
mov eax, dword [ebp - 0x18]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xb03e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xb0393
cmp dword [ebp - 8], 4
jne 0xb0393
cmp dword [ebp - 0x10], 0
je 0xb038d
cmp dword [ebp - 0x10], 1
je 0xb038d
cmp dword [ebp - 0x10], 2
jne 0xb0393
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb03bc
cmp dword [ebp - 0xc], 0
je 0xb03af
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
ret

Function at 0xb0408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xb04e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0xb04cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00025330
mov eax, dword [ebp - 0x18]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xb04f8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xb04a9
cmp dword [ebp - 0x10], 4
jne 0xb04a9
cmp dword [ebp - 8], 1
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb04d2
cmp dword [ebp - 0x14], 0
je 0xb04c5
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
ret
Function at 0xb0694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xb0789
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 2], 0xd3d
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xb076c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00025330
mov eax, dword [ebp - 0x18]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x10], 0xd3d
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xb0798
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xb074a
cmp dword [ebp - 0x10], 0x3e8
jb 0xb0744
cmp dword [ebp - 0x10], 0xffff
jae 0xb0744
cmp dword [ebp - 0xc], 4
jne 0xb0744
mov ax, word [ebp - 0x10]
mov word [ebp - 2], ax
jmp 0xb074a
mov word [ebp - 2], 0xd3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0773
cmp dword [ebp - 8], 0
je 0xb0766
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret

Function at 0xb07b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov word [ebp - 2], 0xd3d
xor eax, eax
push ebp
push 0xb0895
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0xb0884
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0xb08ac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xb0862
mov dword [ebp - 0x10], 0xd3d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xb08f4
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xb0862
cmp dword [ebp - 0x10], 0
jbe 0xb0843
cmp dword [ebp - 0x10], 0x3e8
jb 0xb0852
cmp dword [ebp - 0x10], 0xffff
jae 0xb0852
cmp dword [ebp - 0xc], 4
je 0xb085a
mov word [ebp - 2], 0xd3d
jmp 0xb0862
mov ax, word [ebp - 0x10]
mov word [ebp - 2], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb088b
cmp dword [ebp - 0x14], 0
je 0xb087e
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
ret
Function at 0xb188c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0xb1895
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb1e40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xff
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x90]
call fcn.0002b2e0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0002b220
push dword [ebp - 0x8c]
push 0xb1e58
push 0xb1e7c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00013f8c
lea eax, [ebp - 0x18]
call fcn.0002b42c
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x18]
call fcn.0002b220
lea eax, [ebp - 0x94]
mov edx, 0xb1e7c
call fcn.00013ed4
mov eax, dword [ebp - 0x94]
call fcn.000317fc
test al, al
je 0xb1982
lea edx, [ebp - 0x9c]
mov eax, 0xb1e8c
call fcn.00031d88
push dword [ebp - 0x9c]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x18]
call fcn.0002b220
push dword [ebp - 0xa0]
push 0xb1e7c
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00013f8c
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 4]
call fcn.00019f80
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x44
call fcn.00012b94
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00012b94
mov dword [ebp - 0x88], 0x44
mov word [ebp - 0x58], 0
mov dword [ebp - 0x5c], 1
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0xb1df6
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00030064
xor eax, eax
push ebp
push 0xb1a2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00014090
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 0
call sub.kernel32.dll_CreateProcessA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xe], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb1a34
call fcn.000300cc
ret
Function at 0xc3250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xc3325
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xc3308
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
lea eax, [ebp - 0xc]
call fcn.00025330
mov eax, dword [ebp - 0xc]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0xc32de
mov eax, ebx
call fcn.00013ecc
inc eax
push eax
mov eax, ebx
call fcn.00014090
push eax
push 1
push 0
push 0xc3334
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
jmp 0xc32e6
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc330f
cmp dword [ebp - 8], 0
je 0xc3302
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret

Function at 0xc3e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0xc3e79
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xc3fb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xc3f8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00025330
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xc3f69
lea edx, [ebp - 0x18]
movzx eax, bx
call fcn.0002c224
push dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
movzx eax, si
call fcn.0002c174
push dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
movzx eax, di
call fcn.0002c174
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
movzx eax, word [ebp + 0xc]
call fcn.0002c174
push dword [ebp - 0x24]
lea edx, [ebp - 0x28]
movzx eax, word [ebp + 8]
call fcn.0002c174
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00013f8c
mov eax, dword [ebp - 0xc]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00014090
push eax
push 1
push 0
push 0xc3fc8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc3f92
cmp dword [ebp - 8], 0
je 0xc3f85
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret
Function at 0xc413c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xc4214
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xc41f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00025330
mov eax, dword [ebp - 0x10]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xc41d5
mov eax, ebx
call fcn.00013ecc
mov esi, eax
inc esi
push esi
mov eax, ebx
call fcn.00014090
push eax
push 1
push 0
push 0xc4224
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc41fe
cmp dword [ebp - 8], 0
je 0xc41f1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret

Function at 0xc6060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], 0x1388
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xc611b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0xc612c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [ebp - 0xc], 0
je 0xc60f9
mov dword [ebp - 0x14], 0x1388
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xc6174
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xc60f9
cmp dword [ebp - 0x14], 0x3e8
jb 0xc60f9
cmp dword [ebp - 0x14], 0x7530
ja 0xc60f9
cmp dword [ebp - 0x10], 4
jne 0xc60f9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc6122
cmp dword [ebp - 0xc], 0
je 0xc6115
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
ret

Function at 0xc905c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x1c
call fcn.00012b94
lea eax, [edi + 0x14]
push eax
push 0
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
push 0
lea eax, [edi + 4]
push eax
push edi
push 0
push 0
push 0
mov eax, dword [esi + 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete bl
push 0x2a
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0xc90b5
mov eax, dword [edi + 4]
add dword [edi + 4], eax
mov eax, dword [edi + 0xc]
add dword [edi + 0xc], eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0xc90bc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc917f
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0xc9161
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.000c905c
test al, al
je 0xc9161
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00013d24
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0xc9161
inc ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00014090
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 8]
call fcn.00014090
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00013e04
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 4]
dec ebx
jne 0xc9116
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc9186
lea eax, [ebp - 0x2c]
call fcn.00013c3c
lea eax, [ebp - 8]
call fcn.00013c3c
ret
Function at 0xcc350
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0xcc37e
mov eax, ebx
call fcn.000ccdf4
cmp dword [ebx + 0x3c], 0
je 0xcc377
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0xcc3ef
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0xcc3e1
cmp dword [ebx + 8], 0
je 0xcc3a0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0xcc3b2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xcc3e1
cmp dword [ebx + 8], 0
je 0xcc393
cmp eax, 3
je 0xcc3c5
dec eax
jne 0xcc393
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xcc393
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0xcc393
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0xcc40d
cmp dword [ebx + 0x10], 0xcc
je 0xcc40d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.000cc418
pop ebx
ret
Function at 0xe00d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xe01ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0xe01d0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.00025330
mov eax, dword [ebp - 0x1c]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe01ae
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xe0200
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe01ae
cmp dword [ebp - 0x18], 4
jne 0xe01ae
mov ax, word [ebp - 0xc]
call fcn.00018010
and eax, 0xff
mov word [esi], ax
mov eax, dword [ebp - 0xc]
call fcn.0001800c
mov word [ebx], ax
xor eax, eax
mov al, byte [ebp - 0xc]
mov word [edi], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe01d7
cmp dword [ebp - 0x10], 0
je 0xe01ca
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret

Function at 0xe0214
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xe02f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0xe02dc
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00025330
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe02ba
movzx eax, bx
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 0x10
movzx eax, si
shl eax, 8
movzx edx, di
or eax, edx
or dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xe030c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe02e3
cmp dword [ebp - 8], 0
je 0xe02d6
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret
Function at 0xe06f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xe07ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xe07ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00025394
mov eax, dword [ebp - 0x18]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0xe078b
mov dword [ebp - 0x14], 4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xe07d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xe078b
mov al, byte [ebp - 8]
and al, 0xf
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe07b4
cmp dword [ebp - 0xc], 0
je 0xe07a7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
ret

Function at 0xe07f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
xor eax, eax
push ebp
push 0xe0882
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
push 0xe0890
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe0860
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0xe08cc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe0889
cmp dword [ebp - 8], 0
je 0xe087c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret
Function at 0xe08dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
push ebp
push 0xe098d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0
push 0
push 0xe099c
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0xe096b
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xe09d8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xe096b
cmp dword [ebp - 0x14], 4
jne 0xe096b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe0994
cmp dword [ebp - 0x10], 0
je 0xe0987
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret

Function at 0xe09e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov dword [ebx], 0xffffffff
mov dword [esi], 0xffffffff
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0xe0af4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
push 0xe0b04
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe0ad2
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe0b40
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe0a8f
cmp dword [ebp - 8], 4
jne 0xe0a8f
mov eax, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe0b50
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe0ad2
cmp dword [ebp - 8], 4
jne 0xe0ad2
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe0afb
cmp dword [ebp - 0x10], 0
je 0xe0aee
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret