joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e54d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0x50]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10059af0
mov dword [edi + 0x30], 0x1005a0a8
mov dword [edi + 0x38], 0x1005a318
mov dword [edi + 0x4c], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [ebp - 0x34], edi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002a1ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1002a1e6
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1002a1ee
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x2f
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterRegexp
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000cf60
push ebx
mov ecx, esi
push ecx
push 6
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1002b790
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002a242
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [edi + 0x38]
mov dword [edi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [edi + 4]
mov dword [edi], vtable.CRegexpConfig.0
mov dword [edi + 0x2c], vtable.CRegexpConfig.1.0
mov dword [edi + 0x34], vtable.CRegexpConfig.2.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 4], vtable.CRegexpConfig.3.0
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov esi, edi
call fcn.1002baf0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002b940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c178
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10067068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov dword [esi], vtable.CConfig.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CConfig.0
mov dword [ebp - 4], 0
cmp dword [esi + 0x20], 8
jb 0x1002b994
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
xor eax, eax
mov word [esi + 0xc], ax
mov dword [esi], vtable.IConfigReload.0
mov dword [esi + 0x2c], vtable.CConfigLock.0
add esi, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1002baf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [esi + 0x1c], 0
je 0x1002bb71
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x1002bb07
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0xc]
push ecx
push 0x40000000
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
lea edi, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
call fcn.1002bb80
pop edi
test al, al
je 0x1002bb48
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jne 0x1002bb48
inc dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x10059af8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov dword [esi + 0x28], eax
mov esp, ebp
pop ebp
ret

Function at 0x1002bb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x8c], 0x80
jb 0x1002bbab
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x88]
push ecx
push SysReAllocString
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0x10059af8
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x1002bc08
cmp dword [ebp - 0x90], 4
jne 0x1002bc08
mov eax, dword [ebp - 0x84]
mov dword [edi], eax
jmp 0x1002bc0e
mov dword [edi], 0
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
sete al
xor ecx, ebp
pop esi
call fcn.10048188
mov esp, ebp
pop ebp
ret 4
Function at 0x1002bfc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d970
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0xf8]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10059d98
mov dword [edi + 0x30], 0x10059da0
mov dword [edi + 0x38], 0x10059da8
mov dword [edi + 0xf4], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [ebp - 0x34], edi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002c054
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1002c04c
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1002c054
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x28
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilter
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000cf60
push ebx
mov ecx, esi
push ecx
push ebx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1002b790
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002c0a7
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], vtable.CConfigWriter.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x30], vtable.CConfigWriter.1.0
mov edx, dword [edi + 0x38]
mov dword [edi + 0x34], vtable.CConfigReader.0
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x38], vtable.CConfigReader.1.0
mov ecx, dword [edi + 4]
mov dword [edi], vtable.CCommonConfig.0
mov dword [edi + 0x2c], vtable.CCommonConfig.1.0
mov dword [edi + 0x34], vtable.CCommonConfig.2.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 4], vtable.CCommonConfig.3.0
mov eax, 7
xor ecx, ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], ebx
mov word [edi + 0x3c], cx
xor edx, edx
mov dword [edi + 0x6c], eax
mov dword [edi + 0x68], ebx
mov word [edi + 0x58], dx
mov dword [edi + 0x88], eax
mov dword [edi + 0x84], ebx
mov word [edi + 0x74], cx
mov dword [edi + 0xa4], eax
mov dword [edi + 0xa0], ebx
mov word [edi + 0x90], dx
mov dword [edi + 0xc0], eax
mov dword [edi + 0xbc], ebx
mov word [edi + 0xac], cx
mov dword [edi + 0xdc], eax
mov dword [edi + 0xd8], ebx
mov word [edi + 0xc8], dx
mov byte [ebp - 4], 0xb
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov esi, edi
call fcn.1002baf0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002d110
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x288]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
xor bl, bl
mov dword [ebp - 0x294], 0x80
call esi
test eax, eax
js 0x1002d19b
lea ecx, [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push str.DoNotTrack
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x1002d18e
cmp dword [ebp - 0x28c], 4
jne 0x1002d18e
cmp dword [ebp - 0x84], 1
sete bl
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x288]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSafetyPrivacIE
push SysReAllocString
call esi
test bl, bl
jne 0x1002d203
test eax, eax
js 0x1002d203
lea ecx, [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push str.FilteringMode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x1002d1f6
cmp dword [ebp - 0x28c], 4
jne 0x1002d1f6
cmp dword [ebp - 0x84], 0
seta bl
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x288]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSafetyPrivacIELists
push SysReAllocString
call esi
test bl, bl
jne 0x1002d2e7
test eax, eax
js 0x1002d2e7
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
nop
mov eax, dword [ebp - 0x288]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x284]
push edx
push esi
push eax
mov dword [ebp - 0x290], 0x100
call edi
test eax, eax
jne 0x1002d2d9
lea ecx, [ebp - 0x298]
push ecx
push SysReAllocString
push eax
mov eax, dword [ebp - 0x288]
lea edx, [ebp - 0x284]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002d2d0
lea ecx, [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x298]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push str.Enabled
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x1002d2c3
cmp dword [ebp - 0x28c], 4
jne 0x1002d2c3
cmp dword [ebp - 0x84], 1
sete bl
mov edx, dword [ebp - 0x298]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
test bl, bl
je 0x1002d230
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002d300
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
lea eax, [ebp - 0x208]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov bl, cl
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
js 0x1002d36c
mov eax, dword [ebp - 0x208]
push 4
lea edx, [ebp - 0x20c]
push edx
push 4
push 0
movzx ecx, bl
push str.DoNotTrack
push eax
mov dword [ebp - 0x20c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x208]
push ecx
call edi
test bl, bl
jne 0x1002d4a5
lea edx, [ebp - 0x208]
push edx
push str.SoftwareMicrosoftInternet_ExplorerSafetyPrivacIE
push SysReAllocString
call esi
test eax, eax
js 0x1002d3bd
mov ecx, dword [ebp - 0x208]
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push str.FilteringMode
push ecx
mov dword [ebp - 0x20c], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x208]
push edx
call edi
lea eax, [ebp - 0x208]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSafetyPrivacIELists
push SysReAllocString
call esi
test eax, eax
js 0x1002d4a5
mov eax, dword [ebp - 0x208]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
jne 0x1002d49c
jmp 0x1002d420
mov eax, dword [ebp - 0x208]
lea ecx, [ebp - 0x20c]
push ecx
push 0x40000000
push 0
lea edx, [ebp - 0x204]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002d46d
mov edx, dword [ebp - 0x20c]
push 4
lea ecx, [ebp - 0x214]
push ecx
push 4
push eax
push str.Enabled
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x20c]
push eax
call edi
mov eax, dword [ebp - 0x208]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
je 0x1002d420
mov ecx, dword [ebp - 0x208]
push ecx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002d4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e4d7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10067068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0xfc]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [esi + 4], 0x10059de8
mov dword [esi + 0x30], 0x10059df0
mov dword [esi + 0x38], 0x10059df8
mov dword [esi + 0xf8], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push edi
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002d55f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1002d557
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x1002d55f
push eax
call fcn.10001000
mov dword [ebp - 4], edi
mov edi, esi
mov dword [ebp - 0x10], 1
call fcn.1002c200
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
mov dword [esi], vtable.CFirstRunConfig.0
mov dword [esi + 0x2c], vtable.CFirstRunConfig.1.0
mov dword [esi + 0x34], vtable.CFirstRunConfig.2.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CFirstRunConfig.3.0
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
call fcn.1002baf0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1002d720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea esi, [ebp - 0x20]
mov edx, edi
call fcn.1002bc40
cmp dword [eax + 0x14], 8
jb 0x1002d746
mov eax, dword [eax]
push ebx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xc0000000
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
sete bl
cmp dword [ebp - 0xc], 8
jb 0x1002d780
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
pop ebx
je 0x1002d7ae
test esi, esi
jne 0x1002d7a4
mov eax, dword [ebp - 0x24]
push 4
add edi, 0xf4
push edi
push 4
push esi
push str.firstRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002d850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d827
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [edi + 4], 0x100599fc
mov dword [edi + 0x30], 0x10059ff8
mov dword [edi + 0x38], 0x1005a000
lea eax, [edi + 0x40]
xor ecx, ecx
mov dword [edi + 0x3c], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ecx
mov dword [eax + 0x10], ecx
push eax
mov dword [ebp - 0x34], edi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002d8df
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1002d8d7
and eax, 0xffff
or eax, 0x80070000
test eax, eax
jns 0x1002d8df
push eax
call fcn.10001000
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push eax
mov eax, 0x10057990
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.1000cf60
push 0
mov ecx, esi
push ecx
push 3
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1002b790
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002d93b
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], vtable.CConfigWriter.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x30], vtable.CConfigWriter.1.0
mov edx, dword [edi + 0x38]
mov dword [edi + 0x34], vtable.CConfigReader.0
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x38], vtable.CConfigReader.1.0
mov ecx, dword [edi + 4]
mov dword [edi], vtable.CCookieConfig.0
mov dword [edi + 0x2c], vtable.CCookieConfig.1.0
mov dword [edi + 0x34], vtable.CCookieConfig.2.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 4], vtable.CCookieConfig.3.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002e120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d73d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0x50]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10059af0
mov dword [edi + 0x30], 0x1005a0a8
mov dword [edi + 0x38], 0x1005a318
mov dword [edi + 0x4c], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [ebp - 0x34], edi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002e1ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1002e1a6
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1002e1ae
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x33
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFiltercategories
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000cf60
push ebx
mov ecx, esi
push ecx
push 2
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1002b790
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002e202
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [edi + 0x38]
mov dword [edi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [edi + 4]
mov dword [edi], vtable.CCategoryConfig.0
mov dword [edi + 0x2c], vtable.CCategoryConfig.1.0
mov dword [edi + 0x34], vtable.CCategoryConfig.2.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 4], vtable.CCategoryConfig.3.0
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov esi, edi
call fcn.1002baf0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048188
mov esp, ebp
pop ebp
ret
Function at 0x1002e870
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x10067068]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x1002e91b
lea eax, [esp + 0x10]
push eax
push SysReAllocString
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1002e93d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
call fcn.1002eae0
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1002e93d
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
inc ebx
push ebx
push edi
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
test ecx, ecx
je 0x1002e8b9
lea eax, [ecx - 0x103]
neg eax
sbb eax, eax
and eax, ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f420
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push esi
push 4
push 0
push 0x10058870
push edi
call ebx
test eax, eax
jne 0x1002f484
push 4
lea eax, [esi + 4]
push eax
push 4
push 0
push str.wasBlocked
push edi
call ebx
test eax, eax
jne 0x1002f484
push 4
lea ecx, [esi + 0xc]
push ecx
push 4
push eax
push str.total
push edi
call ebx
test eax, eax
jne 0x1002f484
cmp dword [esi + 0x24], 8
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
jb 0x1002f473
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push 0
push str.title
push edi
call ebx
pop ebx
ret