joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c360
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d357d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
push 0x10000
mov dword [ebp - 0x1c], edx
call fcn.00598d99
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x8000
push edi
mov dword [ebp - 4], 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45c422
cmp eax, 0x8000
ja 0x45c422
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00428c10
push edi
call fcn.005988e3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1c]
push ecx
push 0x2d
push str.Unable_to_retrieve_environment_variable__
push eax
lea ecx, [ebp - 0x30]
call fcn.004469f0
push 0x68501c
lea eax, [ebp - 0x30]
push eax
call fcn.00599dcb
int3
Function at 0x45c450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
mov dword [ebp - 0x28], ecx
lea eax, [ecx + 0x2c]
mov ebx, 0x30
push esi
mov edx, dword [eax + 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
ror edi, 0x13
ror ecx, 0x11
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
ror edx, 0x12
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x45c464
mov ebx, dword [ebp - 0x28]
mov edx, 0x62cbf0
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 8]
mov edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x28]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov esi, ebx
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror esi, 0x19
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x14]
add esi, ecx
add dword [ebp - 0x14], 4
add esi, dword [eax]
mov eax, edi
add esi, dword [edx]
mov edx, edi
add esi, dword [ebp - 0x20]
ror eax, 0xd
ror edx, 0x16
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x18]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], edx
cmp edx, str.Failed_to_convert_exception_message:_unexpected_error
jl 0x45c4e5
mov eax, dword [ebp - 0x2c]
add eax, edi
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x28]
pop esi
pop edi
add dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x18], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
add dword [ebx + 0x24], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c5c0
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
xor eax, eax
push edi
mov ecx, 0x40
lea edi, [edx + 0x28]
rep stosd dword es:[edi], eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], 0x6a09e667
mov dword [edx + 0xc], 0xbb67ae85
mov dword [edx + 0x10], 0x3c6ef372
mov dword [edx + 0x14], 0xa54ff53a
mov dword [edx + 0x18], 0x510e527f
mov dword [edx + 0x1c], 0x9b05688c
mov dword [edx + 0x20], 0x1f83d9ab
mov dword [edx + 0x24], 0x5be0cd19
pop edi
ret
Function at 0x45ef90
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x665870
push fcn.00599900
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x689140]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x45eff0
cmp dword [ebp - 0x24], 0
je 0x45eff0
xor al, al
jmp 0x45f0ea
mov dword [ebp - 4], 0
call fcn.0045f270
cmp dword [esi + 0x14], 7
jbe 0x45f004
mov esi, dword [esi]
push dword [ebp + 0xc]
push 1
push 1
push eax
push esi
call fcn.00471c00
add esp, 0x14
test eax, eax
je 0x45f024
cmp eax, 0xb7
je 0x45f024
xor al, al
jmp 0x45f026
mov al, 1
mov byte [edi], al
test al, al
je 0x45f0e1
mov dword [ebp - 4], 1
push 0x62da58
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45f0b4
cmp byte [esi], 0xeb
jne 0x45f062
movsx eax, byte [esi + 1]
add esi, 2
add esi, eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x80
push 8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x45f0b4
and dword [esi], 0xff000000
mov eax, dword [esi]
mov ecx, dword [esi + 4]
or eax, 0xc3c031
mov dword [esi], eax
mov dword [esi + 4], ecx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push 8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 4], 0
jmp 0x45f0e1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [edi]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret 8

Function at 0x45f110
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x665898
push fcn.00599900
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x689140]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp byte [esi], 0
je 0x45f1a2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x45f1a2
cmp dword [ebp - 0x20], 0
je 0x45f1a2
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0x60aa0003
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
Function at 0x462970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3e09
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x3c], 0
cmp dword [esi + 0x14], 7
jbe 0x4629b3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4629c7
test al, 0x10
jne 0x4629c7
mov al, 1
jmp 0x4629c9
xor al, al
test al, al
jne 0x462b38
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x38], ax
mov eax, dword [esi + 0x10]
add eax, 0xc
mov dword [ebp - 0x3c], 1
push eax
call fcn.0040c990
cmp dword [esi + 0x14], 7
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, esi
jbe 0x462a22
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0042f100
sub esp, 8
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [eax], 0x62eaa8
mov dword [eax + 4], 0xa
call fcn.0042f100
add edi, 0x54
lea eax, [ebp - 0x38]
cmp edi, eax
je 0x462a7e
mov ecx, edi
call fcn.00428f60
movups xmm0, xmmword [ebp - 0x38]
xor eax, eax
mov word [ebp - 0x38], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00428f60
cmp dword [edi + 0x14], 7
jbe 0x462a95
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462aa9
test al, 0x10
jne 0x462aa9
mov al, 1
jmp 0x462aab
xor al, al
test al, al
jne 0x462b51
mov eax, dword [0x628468]
mov edx, 5
movq xmm0, qword [str.dump]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0x33383941
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], 0x42424242
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x150]
push eax
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0x108
call fcn.00425500
add esp, 4
push str.Process_dumper_doesnt_exist_in_path_
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 1
call fcn.00426ca0
push esi
mov ecx, eax
call fcn.00428480
push 0x62e1f8
mov ecx, eax
call fcn.00426ca0
lea ecx, [ebp - 0x150]
call fcn.00426780
jmp 0x462b51
lea ecx, [edi + 0x54]
cmp ecx, esi
je 0x462b51
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x462b4a
mov esi, dword [esi]
push eax
push esi
call fcn.004287b0
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.0059860b
mov esp, ebp
pop ebp
ret 4
Function at 0x465b40
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4225
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [ebx + 8]
push str.IsRunningInsideAvastService
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xc]
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
setne al
cmp dword [esi + 0x18], 0
mov byte [esi + 0x40], al
jne 0x465cdf
mov edi, dword [esi + 4]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test edi, edi
je 0x465cff
mov edx, dword [edi + 4]
add edi, 4
test edx, edx
je 0x465cff
nop dword [eax]
lea ecx, [edx + 1]
mov eax, edx
lock cmpxchg dword [edi], ecx
cmp eax, edx
je 0x465bf9
mov edx, eax
test eax, eax
je 0x465cff
jmp 0x465be0
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
push 0xc
mov dword [ebp - 4], 0
call fcn.005988b3
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], 0x465d70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x40beb0
push 0
push 0
call fcn.005a86dc
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x465cd1
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp dword [esi + 0x18], 0
jne 0x465d04
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
push 0x10
movlpd qword [ebp - 0x20], xmm0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005988b3
mov dword [ebp - 0x18], eax
add esp, 4
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0x62f454
mov dword [eax + 8], 0x497c9
mov dword [eax + 0xc], esi
call fcn.004527c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 6
mov dword [ebp - 0x1c], 0
call fcn.005954d3
push str.Already_running
push 0x10dd
lea ecx, [ebp - 0x34]
call fcn.0042b180
push 0x68501c
lea eax, [ebp - 0x34]
push eax
call fcn.00599dcb
call fcn.00449500
call fcn.005a3df0
int3
Function at 0x46ae40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00462970
Function at 0x46b7d0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d49eb
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 8]
call fcn.00462b70
mov bl, al
test bl, bl
je 0x46b8d9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.0044d630
push eax
mov edx, 0x62fca4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408b60
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.00428f60
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [0x628468]
mov edx, 2
movq xmm0, qword [str.dump]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x43324130
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0x36374130
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x160]
push eax
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x86
call fcn.00425500
add esp, 4
push str.CrashGuard_uninstalled_successfully
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
call fcn.00426ca0
lea ecx, [ebp - 0x160]
call fcn.00426780
lea ecx, [ebp - 0x28]
call fcn.00428f60
jmp 0x46b948
mov eax, dword [0x628468]
mov edx, 7
movq xmm0, qword [str.dump]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x43324130
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0x36374130
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x160]
push eax
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x8a
call fcn.00425500
add esp, 4
push str.CrashGuard_uninstallation_failed.
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 3
call fcn.00426ca0
lea ecx, [ebp - 0x160]
call fcn.00426780
mov al, bl
mov dword [esi + 4], 0
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.0059860b
mov esp, ebp
pop ebp
ret

Function at 0x46b980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
push 0x468d40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4

Function at 0x46bfc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00463a20
Function at 0x4732d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d57f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov edi, dword [ebx + 8]
cmp dword [edi + 0x88], 1
jne 0x47334c
cmp dword [0x689cc4], 7
mov eax, str.avast5
push dword [0x689cc0]
cmova eax, dword [str.avast5]
push eax
push dword [edi + 0x70]
push dword [edi + 0x6c]
call fcn.0043caf0
add esp, 0x10
test al, al
jne 0x47338c
push dword [0x633dc8]
push dword [0x633dc4]
push dword [edi + 0x68]
push dword [edi + 0x64]
call fcn.0043caf0
add esp, 0x10
test al, al
jne 0x47338c
push dword [0x633dac]
push dword [0x633da8]
push dword [edi + 0x68]
push dword [edi + 0x64]
call fcn.0043caf0
add esp, 0x10
test al, al
je 0x47348a
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x4c]
call fcn.004a2780
push 0x2e
push str.DeleteProperty_invoked_with_obsolete_path___
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0043a850
add esp, 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00428f60
mov dword [ebp - 0x38], 0x42443046
mov edx, 5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], 0x44374330
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x168]
push eax
mov dword [ebp - 0x50], 0x74696877
mov dword [ebp - 0x4c], 0x62616c65
mov dword [ebp - 0x48], 0x6c65
mov dword [ebp - 0x3c], 0x174
call fcn.00425500
add esp, 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x168]
call fcn.0046df80
lea ecx, [ebp - 0x168]
call fcn.00426780
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push 3
cmova ecx, dword [ebp - 0x2c]
xor edx, edx
call fcn.0045cbc0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x473478
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47346e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4734be
push ecx
push edx
call fcn.0059886a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x54]
push edi
mov eax, dword [eax + 8]
mov ecx, dword [eax]
add ecx, 0x3d8
call fcn.00473020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005a3d9f
int3
Function at 0x47f940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6b80
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2c], 0
je 0x47fb61
lea edi, [esi + 0x1c]
push str.TaskGUID
push edi
call fcn.00446250
add esp, 8
test al, al
jne 0x47fb5a
push str.ProviderINI
push edi
call fcn.00446250
add esp, 8
test al, al
jne 0x47fb5a
cmp dword [esi + 0x88], 1
jne 0x47f9e1
cmp dword [0x689cc4], 7
mov eax, str.avast5
push dword [0x689cc0]
cmova eax, dword [str.avast5]
push eax
push dword [esi + 0x70]
push dword [esi + 0x6c]
call fcn.0043caf0
add esp, 0x10
test al, al
jne 0x47fa21
push dword [0x633dc8]
push dword [0x633dc4]
push dword [esi + 0x68]
push dword [esi + 0x64]
call fcn.0043caf0
add esp, 0x10
test al, al
jne 0x47fa21
push dword [0x633dac]
push dword [0x633da8]
push dword [esi + 0x68]
push dword [esi + 0x64]
call fcn.0043caf0
add esp, 0x10
test al, al
je 0x47fb0d
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 0x4c]
call fcn.004a2780
push 0x2d
push str.WriteProperty_invoked_with_obsolete_path___
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043a850
add esp, 8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00428f60
mov dword [ebp - 0x34], 0x42443046
mov edx, 5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], 0x44374330
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x164]
push eax
mov dword [ebp - 0x4c], 0x74696877
mov dword [ebp - 0x48], 0x62616c65
mov dword [ebp - 0x44], 0x6c65
mov dword [ebp - 0x38], 0x14b
call fcn.00425500
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x164]
call fcn.0046df80
lea ecx, [ebp - 0x164]
call fcn.00426780
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push 3
cmova ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.0045cbc0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x47fb0d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fb03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fb7e
push ecx
push edx
call fcn.0059886a
add esp, 8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add ecx, 0x3d8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], ecx
push eax
mov dword [ebp - 0x40], ecx
call fcn.004924d0
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.0059860b
mov esp, ebp
pop ebp
ret 8
push str.Property_path_should_have_its_wildcards_already_substituted
jmp 0x47fb66
push str.Property_section_cannot_be_empty
push 0x57
lea ecx, [ebp - 0x44]
call fcn.004a26f0
push 0x685bc4
lea eax, [ebp - 0x44]
push eax
call fcn.00599dcb
call fcn.005a3d9f
int3