joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103ef15
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 0x834], esi
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x82c], edi
call sub.msvcrt.dll_memset
xor eax, eax
push 0x616
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push edi
push eax
call sub.msvcrt.dll_memset
mov al, byte [0x104a13c]
add esp, 0x18
mov dword [ebp - 0x830], edi
test al, al
jne 0x103ef99
mov eax, 0x80070015
jmp 0x103f13c
cmp esi, edi
jne 0x103efa7
mov eax, 0x80070057
jmp 0x103f13c
push esi
call fcn.0103e871
test eax, eax
je 0x103f13c
push esi
call fcn.0103ea8d
mov esi, eax
cmp esi, edi
jl 0x103f13a
cmp ebx, edi
je 0x103f13a
push ebx
push 0x30c
lea eax, [ebp - 0x824]
push eax
call fcn.0100bc84
mov esi, eax
cmp esi, edi
jl 0x103f112
lea eax, [ebp - 0x824]
push 0x2c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
cmp eax, edi
je 0x103f003
xor ecx, ecx
mov word [eax], cx
mov ebx, 0x104a138
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lea eax, [ebp - 0x82c]
push eax
push 0x10492a8
call dword [sym.imp.ole32.dll_StringFromCLSID]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp esi, edi
jl 0x103f112
push 0x1023c9c
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0100bc84
mov esi, eax
cmp esi, edi
jl 0x103f112
push 0x1019828
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01010597
mov esi, eax
cmp esi, edi
jl 0x103f112
push dword [ebp - 0x82c]
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01010597
mov esi, eax
cmp esi, edi
jl 0x103f112
push edi
lea eax, [ebp - 0x828]
push eax
push edi
push 2
push edi
push edi
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x834]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCreateKeyExW]
cmp eax, edi
mov ebx, 0x80070000
jle 0x103f0bd
and eax, 0xffff
or eax, ebx
mov esi, eax
cmp esi, edi
jl 0x103f112
lea eax, [ebp - 0x830]
push eax
push 0x618
lea eax, [ebp - 0x824]
push eax
call fcn.010322f5
mov esi, eax
cmp esi, edi
jl 0x103f112
add dword [ebp - 0x830], 2
push dword [ebp - 0x830]
lea eax, [ebp - 0x824]
push eax
push 1
push edi
push edi
push dword [ebp - 0x828]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp eax, edi
jle 0x103f110
and eax, 0xffff
or eax, ebx
mov esi, eax
cmp dword [ebp - 0x82c], edi
je 0x103f126
push dword [ebp - 0x82c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x828], edi
je 0x103f13a
push dword [ebp - 0x828]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 8
Function at 0x103f152
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc50
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov esi, 0x616
xor edi, edi
push esi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
mov dword [ebp - 0xc4c], ebx
mov dword [ebp - 0xc38], edi
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc38]
push eax
push 3
push edi
xor esi, esi
push 0x100e640
inc esi
push ebx
mov dword [ebp - 0xc48], 0x30c
mov dword [ebp - 0xc50], esi
mov dword [ebp - 0xc40], edi
mov dword [ebp - 0xc3c], edi
mov dword [ebp - 0xc44], edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
cmp eax, edi
jle 0x103f1fa
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x103f33e
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0xc4c]
call fcn.0103ec95
mov ebx, eax
cmp ebx, edi
jl 0x103f237
xor eax, eax
cmp word [ebp - 0x61c], di
setne al
mov dword [ebp - 0xc44], eax
jmp 0x103f245
cmp ebx, 0x80070002
jne 0x103f24b
mov dword [ebp - 0xc44], edi
mov dword [ebp - 0xc3c], esi
cmp ebx, edi
jl 0x103f305
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc50]
push eax
push edi
mov esi, 0x10111c0
push esi
push dword [ebp - 0xc38]
mov dword [ebp - 0xc40], 0x618
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
cmp eax, edi
jle 0x103f293
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x103f305
cmp word [ebp - 0xc34], di
je 0x103f305
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x103f305
lea eax, [ebp - 0x61c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x103f2c5
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov dword [ebp - 0xc40], eax
lea eax, [ebp - 0x61c]
push eax
push 1
push edi
push esi
push dword [ebp - 0xc38]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp eax, edi
jle 0x103f303
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp dword [ebp - 0xc3c], edi
je 0x103f33e
push 4
lea eax, [ebp - 0xc44]
push eax
push 4
push edi
push 0x1023b98
push dword [ebp - 0xc38]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp ebx, edi
jl 0x103f33e
cmp eax, edi
jle 0x103f33c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp dword [ebp - 0xc38], edi
je 0x103f352
push dword [ebp - 0xc38]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 4
Function at 0x103f6da
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x224], eax
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x214], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104a134
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push esi
push 0x80000003
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
cmp eax, esi
mov ebx, 0xffff
jle 0x103f768
and eax, ebx
or eax, 0x80070000
mov edi, eax
cmp edi, esi
jl 0x103f866
mov dword [ebp - 0x218], esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
mov dword [ebp - 0x210], esi
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
cmp eax, esi
jle 0x103f7b7
and eax, ebx
or eax, 0x80070000
mov edi, eax
cmp edi, esi
jl 0x103f84e
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
cmp eax, esi
jle 0x103f7ee
and eax, ebx
or eax, 0x80070000
cmp eax, esi
jl 0x103f838
push dword [ebp - 0x210]
call fcn.0103e69d
test eax, eax
je 0x103f838
mov eax, dword [ebp + 8]
sub eax, esi
je 0x103f822
dec eax
jne 0x103f838
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x210]
call fcn.0103f36a
jmp 0x103f838
push dword [ebp - 0x210]
call fcn.0103f152
push dword [ebp - 0x210]
call fcn.0103ea8d
cmp dword [ebp - 0x210], esi
je 0x103f84c
push dword [ebp - 0x210]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
xor edi, edi
inc dword [ebp - 0x218]
cmp edi, esi
jge 0x103f778
cmp edi, 0x80070103
jne 0x103f866
xor edi, edi
cmp dword [ebp - 0x214], esi
je 0x103f87a
push dword [ebp - 0x214]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
push 0x100e734
push esi
push 0x1a
push ebx
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
push 0x104a134
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 0xc

Function at 0x10413d8
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
inc dword [esi + 8]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 4]
push ecx
push dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
push eax
push dword [esi]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
push eax
call fcn.010035a1
mov dword [esi + 0x10], eax
pop esi
leave
ret
Function at 0x1041443
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [ecx + 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
test eax, eax
jle 0x104146d
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x1041476
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov esi, eax
mov ebx, 0xffff
jmp 0x10414f7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call fcn.01010e20
mov esi, eax
cmp esi, edi
jne 0x10414fb
push edi
push edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, edi
jne 0x10414ee
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.01041476
mov esi, eax
and esi, ebx
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp esi, edi
je 0x10414a5
cmp dword [ebp - 4], edi
je 0x1041509
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp esi, 0x103
jne 0x1041513
xor esi, esi
cmp esi, edi
jne 0x1041529
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteKeyExW]
mov esi, eax
cmp esi, edi
jle 0x1041533
and esi, ebx
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x10417d5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
cmp dword [ebp + 0x10], edx
jbe 0x1041802
push esi
mov esi, dword [ebp + 0xc]
movzx esi, byte [edx + esi]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [ecx + esi*4 + 4]
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x10417e5
pop esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret 0x10

Function at 0x1041812
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
add ecx, 4
push esi
push 8
mov eax, edx
pop esi
test al, 1
je 0x104182a
shr eax, 1
xor eax, 0xedb88320
jmp 0x104182c
shr eax, 1
dec esi
jne 0x104181d
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jl 0x1041818
xor eax, eax
pop esi
ret
Function at 0x104306e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x1013710
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10430d9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10430e0
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x10430d0
cmp dword [ebp - 8], 4
jne 0x10430d0
cmp dword [ebp - 0xc], 1
jne 0x10430d0
inc esi
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x1043d97
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1049fd4], 0xffffffff
jne 0x1043e0d
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1043e18
push 0x80000002
mov dword [ebp - 4], esi
mov dword [0x1049fd4], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1043e0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x1043e68
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1043e03
cmp dword [ebp - 8], esi
setne al
mov dword [0x1049fd4], eax
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
pop esi
mov eax, dword [0x1049fd4]
leave
ret

Function at 0x1043eaf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1023d70
push 0x80000002
mov esi, ecx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1043f1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1043f60
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1043f0a
cmp dword [ebp - 0xc], eax
jne 0x1043f0a
and dword [esi + 0x34], eax
jmp 0x1043f11
mov dword [esi + 0x34], 1
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x1043f23
mov dword [esi + 0x34], 1
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x1043f58
test byte [eax + 0x1c], 2
je 0x1043f58
cmp dword [esi + 0x34], 1
mov ecx, 0x1043fc8
je 0x1043f45
mov ecx, 0x1043fa8
push ecx
push 0x1023d60
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01032e56
pop esi
leave
ret
Function at 0x1043ff1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1023d70
push 0x80000002
mov esi, ecx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1044060
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10440a0
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1044051
cmp dword [ebp - 0xc], 1
jne 0x1044051
mov dword [esi + 0x38], 1
jmp 0x1044055
and dword [esi + 0x38], 0
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x1044064
and dword [esi + 0x38], 0
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x1044099
test byte [eax + 0x1c], 2
je 0x1044099
cmp dword [esi + 0x38], 1
mov ecx, 0x1044110
je 0x1044086
mov ecx, 0x10440e8
push ecx
push 0x1023d60
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01032e56
pop esi
leave
ret
Function at 0x1044c7b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x2c]
test ebx, ebx
jl 0x1044dd6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0xc], eax
call edi
inc dword [esi + 0x40]
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x3c]
jae 0x1044d80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x38]
jae 0x1044d80
cmp dword [esi + 0x34], 0
jne 0x1044daf
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x1044cfa
test byte [eax + 0x1c], 2
je 0x1044cfa
push 0x1023dd0
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01023f56
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x1044e04
push 4
push 0
push 0x1044e14
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 4], 0
mov ebx, eax
test ebx, ebx
jl 0x1044d3d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jl 0x1044d3d
push dword [ebp - 4]
call fcn.01045f0d
mov ebx, eax
push dword [ebp - 0xc]
call edi
xor edi, edi
cmp ebx, edi
jl 0x1044d6e
lea ecx, [esi + 0x34]
cmp dword [ecx], edi
jne 0x1044d6e
xor eax, eax
cmp dword [ebp - 4], edi
je 0x1044d5c
mov eax, dword [ebp - 4]
mov dword [ebp - 4], edi
push eax
call fcn.01044b8b
mov dword [esi + 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x44], eax
lea ecx, [ebp - 4]
call fcn.0101232b
lea ecx, [ebp - 8]
call fcn.0101232b
jmp 0x1044daf
mov ebx, 0x800106ba
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x1044daf
test byte [eax + 0x1c], 2
je 0x1044daf
push dword [esi + 0x38]
push dword [esi + 0x40]
push 0x1023dd0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01034df7
mov ecx, dword [ebp + 8]
pop edi
test ecx, ecx
je 0x1044dc9
test ebx, ebx
jl 0x1044dc9
mov eax, dword [esi + 0x34]
mov dword [ecx], eax
mov esi, dword [esi + 0x34]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jge 0x1044dfb
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x1044dfb
test byte [eax + 0x1c], 1
je 0x1044dfb
push ebx
push 0x1023dd0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01034754
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x1045f8e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x1023e10
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x104601e
push edi
mov edi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1046048
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1045ff4
cmp dword [ebp - 0xc], 1
setne al
mov esi, eax
cmp esi, ebx
je 0x104601d
mov eax, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x104605c
push dword [ebp - 4]
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
pop edi
cmp dword [ebp - 4], ebx
je 0x104602c
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
setne al
push eax
push 0x1016
push ebx
call sub.ntdll.dll_WinSqmSetDWORD
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x104638d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.01046088
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push 0x1023e38
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x10463ea
xor eax, eax
cmp dword [ebp + 8], esi
push 4
setne al
lea ecx, [ebp + 8]
push ecx
push 4
push esi
push 0x1023ea4
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
lea ecx, [ebp - 4]
call fcn.01046088
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x10463ff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
jne 0x1046414
push 0x57
pop eax
jmp 0x104641a
mov dword [esi], 1
and dword [ebp + 8], 0
mov dword [ebp - 4], 4
test eax, eax
jne 0x104644a
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x10
push 0x1023ea4
push 0x1023e38
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
cmp eax, 2
jne 0x104645b
and dword [esi], 0
push 0
call fcn.0104638d
jmp 0x104646a
test eax, eax
jne 0x104646a
xor ecx, ecx
cmp dword [ebp + 8], 1
sete cl
mov dword [esi], ecx
pop esi
leave
ret 4
Function at 0x10464b2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x424], eax
cmp eax, edi
je 0x10464e0
cmp word [eax], di
jne 0x10464e3
push 0x57
pop esi
cmp esi, edi
jne 0x10464f8
push 0x2c
push eax
call sub.msvcrt.dll_wcschr
mov edi, eax
neg edi
pop ecx
sbb edi, edi
pop ecx
inc edi
lea ecx, [ebp - 0x41c]
call fcn.0100bb83
mov ebx, 0x80000001
test edi, edi
je 0x1046584
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x428], 0x410
test esi, esi
jne 0x10465a1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push 2
push dword [ebp - 0x424]
push 0x1046668
push ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x10465a1
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x41c]
push 0x100e5b0
push eax
call fcn.01014ac9
add esp, 0x10
jmp 0x1046599
test esi, esi
jne 0x10465a1
push dword [ebp - 0x424]
lea ecx, [ebp - 0x41c]
call fcn.0100ccd4
mov esi, eax
and esi, 0xffff
and dword [ebp - 0x420], 0
lea ecx, [ebp - 0x420]
call fcn.01046088
xor edi, edi
mov dword [ebp - 0x420], edi
cmp esi, edi
jne 0x104663e
lea eax, [ebp - 0x420]
push eax
push 2
push edi
push 0x1023e38
push ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x104663e
mov esi, dword [ebp - 0x418]
mov ebx, dword [ebp - 0x420]
lea ecx, [ebp - 0x41c]
call fcn.0102f23f
add eax, eax
push eax
push esi
push 1
push edi
push 0x10466e8
push ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
jne 0x104663e
push 0x10466d8
push edi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
test eax, eax
jne 0x104662a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jne 0x104663e
push dword [ebp + 0xc]
push dword [ebp - 0x424]
call fcn.01046474
mov esi, eax
lea ecx, [ebp - 0x420]
call fcn.01046088
lea ecx, [ebp - 0x41c]
call fcn.0100bba4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 8