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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b168
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10063068]
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 + 0x58]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10056de0
mov dword [edi + 0x30], 0x10056f08
mov dword [edi + 0x38], 0x10056de8
mov dword [edi + 0x40], 0x10056720
mov dword [edi + 0x54], 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 0x1002b7b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1002b7ad
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1002b7b5
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x36
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterExclusionList
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000a770
push ebx
mov ecx, esi
push ecx
push 4
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100277a0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002b809
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 + 0x40]
mov dword [edi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CExclusionConfig.0
mov dword [edi + 0x2c], vtable.CExclusionConfig.1.0
mov dword [edi + 0x34], vtable.CExclusionConfig.2.0
mov dword [edi + 0x3c], vtable.CExclusionConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 4], vtable.CExclusionConfig.4.0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [ebp - 4], 7
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov esi, edi
call fcn.10027b00
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 8]
push eax
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.10045a28
mov esp, ebp
pop ebp
ret
Function at 0x1002e4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10063068]
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 + 0x58]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10056de0
mov dword [edi + 0x30], 0x10056f08
mov dword [edi + 0x38], 0x10056de8
mov dword [edi + 0x40], 0x10056720
mov dword [edi + 0x54], 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 0x1002e565
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1002e55d
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1002e565
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x36
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterSearchEngines
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000a770
push ebx
mov ecx, esi
push ecx
push 5
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100277a0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x1002e5b9
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 + 0x40]
mov dword [edi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CSearchEngineConfig.0
mov dword [edi + 0x2c], vtable.CSearchEngineConfig.1.0
mov dword [edi + 0x34], vtable.CSearchEngineConfig.2.0
mov dword [edi + 0x3c], vtable.CSearchEngineConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 4], vtable.CSearchEngineConfig.4.0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [ebp - 4], 7
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov esi, edi
call fcn.10027b00
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 8]
push eax
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.10045a28
mov esp, ebp
pop ebp
ret
Function at 0x1002f260
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x10063068]
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 0x1002f30c
lea eax, [esp + 0x10]
push eax
push SysReAllocStringLen
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1002f32e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.1002f350
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1002f32e
push esi
push esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
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 0x1002f2a9
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.10045a28
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 4
Function at 0x1002fa80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x14], 8
push esi
mov esi, ecx
mov ecx, dword [ebx + 0x10]
push edi
mov dword [ebp - 0x108], esi
jb 0x1002faaa
mov eax, dword [ebx]
jmp 0x1002faac
mov eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.script_url
push esi
call edi
test eax, eax
jne 0x1002fbd5
cmp dword [ebx + 0x30], 8
mov ecx, dword [ebx + 0x2c]
lea eax, [ebx + 0x1c]
jb 0x1002fada
mov eax, dword [eax]
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push 0
push str.hide_selectors
push esi
call edi
test eax, eax
jne 0x1002fbd5
lea eax, [ebp - 0x84]
push str.type
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebx + 0x38]
add esp, 8
xor edi, edi
cmp esi, dword [ebx + 0x3c]
je 0x1002fb64
push edi
lea ecx, [ebp - 0x7c]
push 0x100566a8
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0x10]
add esp, 0xc
inc edi
cmp dword [esi + 0x14], 8
jb 0x1002fb34
mov ecx, dword [esi]
jmp 0x1002fb36
mov ecx, esi
lea edx, [eax + eax + 2]
push edx
push ecx
mov ecx, dword [ebp - 0x108]
push 1
push 0
lea eax, [ebp - 0x84]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1002fbd5
add esi, 0x1c
cmp esi, dword [ebx + 0x3c]
jne 0x1002fb13
lea edx, [ebp - 0x104]
push str.page
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebx + 0x48]
add esp, 8
xor edi, edi
cmp esi, dword [ebx + 0x4c]
je 0x1002fbd3
push edi
lea eax, [ebp - 0xfc]
push 0x100566a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0x10]
add esp, 0xc
inc edi
cmp dword [esi + 0x14], 8
jb 0x1002fba7
mov ecx, dword [esi]
jmp 0x1002fba9
mov ecx, esi
lea edx, [eax + eax + 2]
push edx
push ecx
mov ecx, dword [ebp - 0x108]
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1002fbd5
add esi, 0x1c
cmp esi, dword [ebx + 0x4c]
jne 0x1002fb83
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10045a28
mov esp, ebp
pop ebp
ret
Function at 0x100303e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b068
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10063068]
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 + 0x58]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [edi + 4], 0x10056de0
mov dword [edi + 0x30], 0x10056f08
mov dword [edi + 0x38], 0x10056de8
mov dword [edi + 0x40], 0x10056720
mov dword [edi + 0x54], 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 0x10030475
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1003046d
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x10030475
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x3e
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterReplacementDirectives
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000a770
push ebx
mov ecx, esi
push ecx
push 7
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100277a0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x100304c9
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 + 0x40]
mov dword [edi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CReplacementConfig.0
mov dword [edi + 0x2c], vtable.CReplacementConfig.1.0
mov dword [edi + 0x34], vtable.CReplacementConfig.2.0
mov dword [edi + 0x3c], vtable.CReplacementConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 4], vtable.CReplacementConfig.4.0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [ebp - 4], 7
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov esi, edi
call fcn.10027b00
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 8]
push eax
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.10045a28
mov esp, ebp
pop ebp
ret
Function at 0x10031100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x7e
push eax
lea ecx, [ebp - 0x82]
mov edi, edx
push ecx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], edi
mov word [ebp - 0x84], ax
call sub.MSVCR100.dll_memset
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [esi], 1
jne 0x1003115d
lea edx, [ebp - 0x84]
push str.FULL_PATH
push edx
call ebx
add esp, 8
cmp dword [esi], 0
jne 0x10031173
lea eax, [ebp - 0x84]
push str.FQDN
push eax
call ebx
add esp, 8
cmp dword [esi], 2
jne 0x10031189
lea ecx, [ebp - 0x84]
push str.FULL_PATH_BLOCK
push ecx
call ebx
add esp, 8
cmp dword [esi], 3
jne 0x1003119f
lea edx, [ebp - 0x84]
push str.FQDN_BLOCK
push edx
call ebx
add esp, 8
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
jmp 0x100311b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100311b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 1
push 0
push str.type
push edi
call ebx
test eax, eax
jne 0x100312b4
cmp dword [esi + 0x18], 8
mov ecx, dword [esi + 0x14]
lea eax, [esi + 4]
jb 0x100311f3
mov eax, dword [eax]
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push 0
push str.replacement
push edi
call ebx
test eax, eax
jne 0x100312b4
cmp dword [esi + 0x34], 8
mov ecx, dword [esi + 0x30]
lea eax, [esi + 0x20]
jb 0x1003121b
mov eax, dword [eax]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.category
push edi
call ebx
test eax, eax
jne 0x100312b4
lea edx, [ebp - 0x104]
push 0x10056f10
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [esi + 0x3c]
mov eax, dword [ebp - 0x108]
add esp, 8
xor edi, edi
cmp esi, dword [eax + 0x40]
je 0x100312b2
lea ebx, [ebx]
push edi
lea ecx, [ebp - 0xf8]
push 0x100566a8
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0x10]
add esp, 0xc
inc edi
cmp dword [esi + 0x14], 8
jb 0x10031284
mov ecx, dword [esi]
jmp 0x10031286
mov ecx, esi
lea edx, [eax + eax + 2]
push edx
push ecx
mov ecx, dword [ebp - 0x10c]
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push ecx
call ebx
test eax, eax
jne 0x100312b4
mov edx, dword [ebp - 0x108]
add esi, 0x1c
cmp esi, dword [edx + 0x40]
jne 0x10031260
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045a28
mov esp, ebp
pop ebp
ret
Function at 0x100334f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 8], ebx
je 0x10033597
mov dword [edi + 4], 0x10056de0
mov dword [edi + 0x30], 0x10056f08
mov dword [edi + 0x38], 0x10056de8
mov dword [edi + 0x40], 0x10056720
lea eax, [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x54], 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 [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1003358d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10033585
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1003358d
push eax
call fcn.10001000
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 1
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x32
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterwhitelist
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.1000a770
push ebx
mov ecx, esi
push ecx
push 8
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100277a0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x100335e1
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 + 0x40]
mov dword [edi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CWhiteListConfig.0
mov dword [edi + 0x2c], vtable.CWhiteListConfig.1.0
mov dword [edi + 0x34], vtable.CWhiteListConfig.2.0
mov dword [edi + 0x3c], vtable.CWhiteListConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 4], vtable.CWhiteListConfig.4.0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [ebp - 4], 7
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov esi, edi
call fcn.10027b00
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 4
Function at 0x10041de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
xor bl, bl
or eax, 0xffffffff
xor ecx, ecx
mov byte [ebp - 1], bl
call fcn.1000a860
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREAdTrustMediaPrivDog
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10041e9f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push str.resourcesDir
push eax
call ebx
test eax, eax
jne 0x10041e8c
cmp dword [ebp - 0x10], 1
jne 0x10041e8c
mov ecx, dword [ebp - 8]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov ecx, dword [ebp - 0xc]
add esp, 4
lea edx, [ebp - 8]
push edx
mov edi, eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push str.resourcesDir
push ecx
call ebx
test eax, eax
jne 0x10041e81
push esi
mov eax, edi
call fcn.1000a0d0
mov ecx, esi
call fcn.10041da0
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop edi
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10043ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100498c3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10063068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CTemporaryProtocolHandlerT_class_CTemporaryProtocolFolderHandler_.0
mov dword [esi + 4], vtable.CTemporaryProtocolHandlerT_class_CTemporaryProtocolFolderHandler_.1.0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10043fc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bce8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x10063068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0x38]
lea ebx, [ecx + 2]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.100444f0
add esp, 8
push 0x5c
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10044450
mov eax, dword [ebp - 0x10]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10044013
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x1c]
call fcn.1000a770
mov esi, dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, eax
test esi, esi
je 0x10044089
cmp dword [esi], 0
je 0x1004407e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10044050
or eax, 0xffffffff
jmp 0x100440a2
push str.CreateFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10044084
mov edx, dword [esi]
push 0
push 0
push edx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ebx
call eax
jmp 0x100440a2
cmp dword [esi + 4], 0
jne 0x10044089
or eax, 0xffffffff
jmp 0x100440a2
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x100440e8
call fcn.100048b0
mov esi, eax
test esi, esi
jns 0x100440eb
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x100440d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x14], eax
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x1004410e
call fcn.100048b0
mov esi, eax
test esi, esi
js 0x100440b4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
ja 0x10044118
cmp eax, ebx
jbe 0x1004414f
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x10044137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x800c0006
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x10044173
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4