joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447be6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x424], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x430], esi
cmp esi, edi
jne 0x4033c0
call fcn.004027a0
mov edi, eax
jmp 0x4034d9
mov eax, dword [ebp - 0x428]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x4033df
call fcn.004027a0
jmp 0x4034d0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x4033fb
call fcn.004027a0
jmp 0x4034d0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x428], ebx
cmp eax, ebx
jae 0x40341c
mov edi, 0x8007000e
jmp 0x4034d2
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x403431
cmp eax, 0xffffffff
jbe 0x40343b
push 0x80070216
call fcn.00401000
cmp eax, 0x400
jbe 0x40346d
lea ecx, [ebp - 0x424]
push ecx
call fcn.00405f60
jmp 0x403479
lea edx, [ebp - 0x420]
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x424]
cmp eax, edi
jne 0x403491
mov edi, 0x8007000e
jmp 0x4034d2
push ebx
push eax
mov eax, dword [ebp - 0x42c]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x4034af
call fcn.004027a0
jmp 0x4034d0
mov edx, dword [ebp - 0x424]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x424]
push eax
lea ecx, [ebp - 0x438]
call fcn.00404090
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x420]
cmp dword [ebp - 0x424], ecx
je 0x4034f2
lea eax, [ebp - 0x424]
call fcn.00405d50
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 - 0x18]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406578
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4065aa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4065a6
cmp esi, eax
jae 0x4065aa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406598
cmp esi, eax
jb 0x4065b0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x409090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov edi, eax
lea esi, [edi + 0x24]
push esi
call ebx
mov eax, dword [esi + 0x18]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], 0
jne 0x409106
lea ecx, [ebp - 4]
push ecx
push 0
push edi
push 0x409710
push 0x4000
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
mov dword [ebp - 8], eax
call ebx
mov edx, dword [ebp - 8]
push esi
mov dword [esi + 0x18], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
add edi, 0x40
push edi
mov dword [ebp - 8], eax
call ebx
mov ecx, dword [ebp - 8]
push edi
mov dword [edi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call ebx
mov edi, dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x45bf50], eax
test eax, eax
jne 0x41518f
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 4]
push eax
push 0
push 0x45bf20
push 0x4151d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4151bd
mov ecx, dword [0x45bf50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41dcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448178
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [esi + 4], 0x44ff78
mov dword [esi + 0x30], 0x450160
mov dword [esi + 0x38], 0x4508b4
mov dword [esi + 0x40], 0x4508bc
mov dword [esi + 0x54], 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 [ebp - 0x34], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x41dd87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41dd7f
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x41dd87
push eax
call fcn.00401000
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x3e
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterReplacementDirectives
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00405f90
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 7
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00427d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x41dddc
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CReplacementConfig.0
mov dword [esi + 0x2c], vtable.CReplacementConfig.1.0
mov dword [esi + 0x34], vtable.CReplacementConfig.2.0
mov dword [esi + 0x3c], vtable.CReplacementConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CReplacementConfig.4.0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov byte [ebp - 4], 7
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.004280d0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret
Function at 0x41eac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x45a028]
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 0x41eb1d
lea edx, [ebp - 0x84]
push str.FULL_PATH
push edx
call ebx
add esp, 8
cmp dword [esi], 0
jne 0x41eb33
lea eax, [ebp - 0x84]
push str.FQDN
push eax
call ebx
add esp, 8
cmp dword [esi], 2
jne 0x41eb49
lea ecx, [ebp - 0x84]
push str.FULL_PATH_BLOCK
push ecx
call ebx
add esp, 8
cmp dword [esi], 3
jne 0x41eb5f
lea edx, [ebp - 0x84]
push str.FQDN_BLOCK
push edx
call ebx
add esp, 8
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
jmp 0x41eb70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41eb70
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 0x44fcd4
push edi
call ebx
test eax, eax
jne 0x41ec74
cmp dword [esi + 0x18], 8
mov ecx, dword [esi + 0x14]
lea eax, [esi + 4]
jb 0x41ebb3
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 0x41ec74
cmp dword [esi + 0x34], 8
mov ecx, dword [esi + 0x30]
lea eax, [esi + 0x20]
jb 0x41ebdb
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 0x41ec74
lea edx, [ebp - 0x104]
push 0x44fc98
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 0x41ec72
lea ebx, [ebx]
push edi
lea ecx, [ebp - 0xf8]
push 0x44fdec
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 0x41ec44
mov ecx, dword [esi]
jmp 0x41ec46
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 0x41ec74
mov edx, dword [ebp - 0x108]
add esi, 0x1c
cmp esi, dword [edx + 0x40]
jne 0x41ec20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441db6
mov esp, ebp
pop ebp
ret
Function at 0x420e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420e8e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x420e5d
cmp eax, 2
jne 0x420e78
mov eax, dword [ebp - 4]
test esi, esi
je 0x420e88
test eax, eax
je 0x420e83
test al, 1
jne 0x420e78
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x420e88
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x420ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [esi + 4], 0x44ff78
mov dword [esi + 0x30], 0x450160
mov dword [esi + 0x38], 0x4508b4
mov dword [esi + 0x40], 0x4508bc
mov dword [esi + 0x54], 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 [ebp - 0x34], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x420f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420f2f
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x420f37
push eax
call fcn.00401000
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x36
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterExclusionList
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00405f90
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 4
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00427d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x420f8c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CExclusionConfig.0
mov dword [esi + 0x2c], vtable.CExclusionConfig.1.0
mov dword [esi + 0x34], vtable.CExclusionConfig.2.0
mov dword [esi + 0x3c], vtable.CExclusionConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CExclusionConfig.4.0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov byte [ebp - 4], 7
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.004280d0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret
Function at 0x422c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x50]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [esi + 4], 0x450050
mov dword [esi + 0x30], 0x4508b4
mov dword [esi + 0x38], 0x4508bc
mov dword [esi + 0x4c], 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 [ebp - 0x34], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x422cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x422ce8
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x422cf0
push eax
call fcn.00401000
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x2f
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterRegexp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00405f90
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 6
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00427d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x422d45
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [esi + 4]
mov dword [esi], vtable.CRegexpConfig.0
mov dword [esi + 0x2c], vtable.CRegexpConfig.1.0
mov dword [esi + 0x34], vtable.CRegexpConfig.2.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], vtable.CRegexpConfig.3.0
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov byte [ebp - 4], 6
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
call fcn.004280d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + esi + 8]
push edx
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret
Function at 0x423c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447e78
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [esi + 4], 0x44ff78
mov dword [esi + 0x30], 0x450160
mov dword [esi + 0x38], 0x4508b4
mov dword [esi + 0x40], 0x4508bc
mov dword [esi + 0x54], 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 [ebp - 0x34], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x423d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x423cff
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x423d07
push eax
call fcn.00401000
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x36
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterSearchEngines
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00405f90
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 5
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00427d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x423d5c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CSearchEngineConfig.0
mov dword [esi + 0x2c], vtable.CSearchEngineConfig.1.0
mov dword [esi + 0x34], vtable.CSearchEngineConfig.2.0
mov dword [esi + 0x3c], vtable.CSearchEngineConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CSearchEngineConfig.4.0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov byte [ebp - 4], 7
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.004280d0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret
Function at 0x4249e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x45a028]
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 0x424a8c
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 0x424aae
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00424ad0
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x424aae
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 0x424a29
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.00441db6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 4
Function at 0x425250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x45a028]
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 0x42527a
mov eax, dword [ebx]
jmp 0x42527c
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 0x4253a5
cmp dword [ebx + 0x30], 8
mov ecx, dword [ebx + 0x2c]
lea eax, [ebx + 0x1c]
jb 0x4252aa
mov eax, dword [eax]
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push 0
push 0x450058
push esi
call edi
test eax, eax
jne 0x4253a5
lea eax, [ebp - 0x84]
push 0x44fcd4
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 0x425334
push edi
lea ecx, [ebp - 0x7c]
push 0x44fdec
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 0x425304
mov ecx, dword [esi]
jmp 0x425306
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 0x4253a5
add esi, 0x1c
cmp esi, dword [ebx + 0x3c]
jne 0x4252e3
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 0x4253a3
push edi
lea eax, [ebp - 0xfc]
push 0x44fdec
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 0x425377
mov ecx, dword [esi]
jmp 0x425379
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 0x4253a5
add esi, 0x1c
cmp esi, dword [ebx + 0x4c]
jne 0x425353
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00441db6
mov esp, ebp
pop ebp
ret

Function at 0x427f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445868
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a028]
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 0x427f74
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.mfc100u.dll_delete]
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