joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580741
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, vtable.Utils::Primitives::CDwToken.0
jne 0x44c570
mov eax, dword [esi + 4]
test eax, eax
je 0x44c555
cmp eax, 0xffffffff
je 0x44c555
mov edi, dword [ebp + 0x34]
push edi
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, 1
jne 0x44c555
mov esi, dword [ebp + 8]
mov eax, dword [edi]
push 4
mov dword [esi], vtable.Utils::Primitives::CDwHandleX_class_Utils::Primitives::SimpleHandleCloser_.0
mov dword [esi + 4], eax
call fcn.00539040
add esp, 4
mov dword [eax], 1
mov dword [esi + 8], eax
mov dword [ebp - 4], 1
mov dword [esi], vtable.Utils::Primitives::CDwProcess.0
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
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
push str.Unable_to_create_process_as_user
lea ecx, [ebp - 0x1c]
call fcn.00410660
push 0x630794
lea eax, [ebp - 0x1c]
push eax
call fcn.005510b1
mov ecx, esi
call edx
test al, al
jmp 0x44c4cf

Function at 0x44c690
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, vtable.Utils::Primitives::CDwProcess.0
jne 0x44c6d4
cmp byte [esi + 0xc], 0
mov eax, dword [esi + 4]
je 0x44c6b0
cmp eax, 0xffffffff
sete al
jmp 0x44c6b9
test eax, eax
je 0x44c6ce
cmp eax, 0xffffffff
jmp 0x44c6bb
test al, al
je 0x44c6ce
push dword [esp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret 4
xor eax, eax
pop esi
ret 4
call edx
jmp 0x44c6b9
Function at 0x451f70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58167b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, byte [ebp + 0x10]
lea edx, [ebp - 0x238]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
shl eax, 8
push edx
or eax, 0x20019
mov dword [ebp - 0x238], 0
push eax
push 0
call fcn.0041ba50
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452067
push 0x104
lea eax, [ebp - 0x21c]
xor esi, esi
push eax
push esi
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x45205b
lea ebx, [ebx]
lea eax, [ebp - 0x21c]
inc esi
push eax
lea ecx, [ebp - 0x234]
call fcn.0041bac0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.Utils::System::CRegEnumerator.virtual_4
jne 0x452085
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0041ba60
test bl, bl
je 0x45205b
push 0x104
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x452000
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call eax
mov bl, al
jmp 0x452028
Function at 0x456e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x634384]
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
mov dword [ebp - 0x244], ecx
movzx eax, byte [ebp + 0x14]
lea edx, [ebp - 0x23c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
shl eax, 8
push edx
or eax, 0x20019
mov dword [ebp - 0x23c], 0
push eax
push 0
call fcn.0041ba50
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456ff9
mov edi, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x240], eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebx + 4]
sub ecx, edi
mov dword [ebp - 0x234], 0x104
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x456fed
xor esi, esi
jmp 0x456f30
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [esi + edi]
push 0
call fcn.0041ba50
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456fc0
mov ecx, dword [ebx]
add ecx, 0x18
add ecx, esi
call fcn.0041ba50
push eax
lea ecx, [ebp - 0x230]
call fcn.0041bac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push dword [ebp - 0x240]
mov ecx, dword [ebp - 0x244]
push dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00457180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0041ba60
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
mov edi, dword [ebx]
add esi, 0x30
inc dword [ebp - 0x238]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x238]
ja 0x456f30
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.005395e6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4591a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582338
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [eax + 0x1c], 0xffffffff
je 0x45931f
mov edi, dword [ebp + 8]
test edi, edi
je 0x45931f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x4591f4
test eax, eax
je 0x45931f
mov esi, ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x18], esi
mov byte [ebp + 0xb], 0
call fcn.00412f80
push eax
lea eax, [ebp + 0xb]
push eax
push 0xffff
lea ecx, [ebp - 0x2c]
call fcn.0043e300
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov edi, edi
test eax, eax
jb 0x459243
ja 0x45923e
cmp esi, 0xffff
jb 0x459243
mov esi, 0xffff
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x45926c
mov eax, dword [ecx]
add ecx, 4
push esi
push ebx
push edi
cmp dword [eax], fcn.004772f0
jne 0x459263
call fcn.0057a220
add edi, esi
jmp 0x459282
call fcn.00579740
add edi, esi
jmp 0x459282
lea eax, [edi + esi]
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
call fcn.0045a080
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push esi
push ebx
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, dword [ebp - 0x1c]
jne 0x4592ba
sub dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
sbb eax, 0
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x459230
test eax, eax
jne 0x459232
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
jmp 0x4592be
xor edi, edi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x459307
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x4592e8
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45933f
push ecx
push ebx
call fcn.00539070
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edi
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00555b08
int3
Function at 0x45a3c5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
jne 0x45a3d7
test byte [esi + 0x20], 1
je 0x45a3d7
mov eax, dword [esi + 0x24]
pop esi
ret 4
lea ecx, [esi + 4]
call fcn.0041ba50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x45a3f2
or dword [esi + 0x20], 1
pop esi
ret 4

Function at 0x45ad00
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x45ad19
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0xffffffff
push 0x80
lea ecx, [esi + 4]
call fcn.0041ba50
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esi + 4]
call fcn.0041ba50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret
Function at 0x45ae40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5826c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [eax + 0x1c], 0xffffffff
je 0x45afbf
mov edi, dword [ebp + 8]
test edi, edi
je 0x45afbf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x45ae94
test eax, eax
je 0x45afbf
mov esi, ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x18], esi
mov byte [ebp + 0xb], 0
call fcn.00412f80
push eax
lea eax, [ebp + 0xb]
push eax
push 0xffff
lea ecx, [ebp - 0x2c]
call fcn.0043e300
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov edi, edi
test eax, eax
jb 0x45aee3
ja 0x45aede
cmp esi, 0xffff
jb 0x45aee3
mov esi, 0xffff
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x45af0c
mov eax, dword [ecx]
add ecx, 4
push esi
push ebx
push edi
cmp dword [eax], fcn.004772f0
jne 0x45af03
call fcn.0057a220
add edi, esi
jmp 0x45af22
call fcn.00579740
add edi, esi
jmp 0x45af22
lea eax, [edi + esi]
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
call fcn.0045a080
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push esi
push ebx
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, dword [ebp - 0x1c]
jne 0x45af5a
sub dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
sbb eax, 0
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x45aed0
test eax, eax
jne 0x45aed2
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
jmp 0x45af5e
xor edi, edi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x45afa7
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x45af88
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afdf
push ecx
push ebx
call fcn.00539070
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edi
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00555b08
int3
Function at 0x45b9a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5828e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x634384]
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
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.0044f8e0
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x45bad0
mov edi, dword [ebp - 0x3c]
mov eax, 0x41
mov dword [ebp - 0x18], 0x3a0041
mov dword [ebp - 0x14], 0x5c
mov esi, ebx
test bl, 1
je 0x45ba4e
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041bac0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
push edi
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
call fcn.00450750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0041ba60
mov ax, word [ebp - 0x18]
inc ax
shr ebx, 1
mov word [ebp - 0x18], ax
cmp esi, 2
jae 0x45ba14
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
cmp eax, esi
je 0x45bacc
mov ebx, dword [ebp - 0x3c]
mov edx, esi
lea esp, [esp]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x45ba98
mov esi, dword [esi + 4]
cmp byte [esi + 0xd], 0
jne 0x45baae
mov eax, edx
mov ecx, esi
cmp eax, dword [esi + 8]
jne 0x45baae
mov esi, dword [esi + 4]
mov eax, ecx
cmp byte [esi + 0xd], 0
je 0x45ba84
jmp 0x45baae
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x45baae
mov ecx, dword [eax]
mov esi, eax
mov eax, ecx
cmp byte [ecx + 0xd], 0
je 0x45baa2
mov ecx, dword [ebx]
lea eax, [edx + 0x10]
push 0
push 0
push eax
mov edx, dword [ecx]
mov edi, esi
mov eax, dword [edx + 4]
call eax
test al, al
je 0x45bad0
mov edx, edi
cmp dword [ebp - 0x38], esi
jne 0x45ba70
mov bl, 1
jmp 0x45bad2
xor bl, bl
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
push dword [esi + 4]
call fcn.0044f990
mov eax, dword [ebp - 0x38]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 8], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [ebp - 0x38]
call fcn.00539070
add esp, 8
mov al, bl
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.005395e6
mov esp, ebp
pop ebp
ret
Function at 0x45e4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5830f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.Quarantine::CQuarantineManager.0
mov dword [ebp - 4], 2
lea eax, [edi + 0xc]
lea ebx, [eax + 8]
mov dword [ebp - 0x18], 0x5ec8e0
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x30]
mov esi, dword [edi + 0x30]
push dword [esi + 4]
call fcn.00461d40
mov eax, dword [edi + 0x30]
mov dword [eax + 4], esi
mov eax, dword [edi + 0x30]
mov dword [eax], esi
mov eax, dword [edi + 0x30]
mov dword [eax + 8], esi
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 2
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
mov ebx, edi
lea ecx, [ebx + 8]
call fcn.0045e5b0
mov byte [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.00462990
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 1
mov dword [ebx], vtable.Quarantine::IQuarantineManager.0
je 0x45e58e
push 0x38
push ebx
call fcn.00539070
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x465520
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x584799
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0x20a
lea eax, [ebp]
mov dword [ebp - 0x18], esi
push 0
push eax
mov dword [ebp - 0x10], 0
call fcn.00551fd0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x46559f
lea eax, [ebp]
push eax
push 0
push 0
push esi
call fcn.0043b450
add esp, 0x10
jmp 0x4655ab
push 0x5eaccc
mov ecx, esi
call fcn.0041bac0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.005395e6
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x4658d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584880
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x634384]
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
call fcn.0041bbd0
cmp eax, 2
jb 0x4659c0
mov ecx, esi
call fcn.0041bb30
cmp dword [eax + 0x14], 8
jb 0x465919
mov eax, dword [eax]
mov ecx, 0x3a
cmp cx, word [eax + 2]
jne 0x4659c0
push 2
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0043e3a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push 0x104
call fcn.0043ae30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041bb40
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x465963
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.0041bbd0
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0041ba50
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46599f
push 4
push str.___
lea ecx, [ebp - 0x28]
call fcn.0041ba50
push eax
call fcn.0055cb37
add esp, 0xc
test eax, eax
sete bl
jmp 0x4659a1
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041ba60
mov al, bl
jmp 0x4659c2
xor al, al
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.005395e6
mov esp, ebp
pop ebp
ret

Function at 0x466b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x634384]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test eax, eax
jne 0x466b39
mov eax, 0x57
jmp 0x466b7c
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x466b47
mov eax, 0x139f
jmp 0x466b7c
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete cl
mov byte [esi], cl
xor ecx, ecx
cmp eax, 2
cmove eax, ecx
test eax, eax
jne 0x466b7c
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 0xc
push 0x47
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantineqrgroupmanager.cpp
push str.Cant_check_object_group
push eax
lea ecx, [esp + 0x14]
call fcn.0045e150
push 0x6308f4
lea eax, [esp + 8]
push eax
call fcn.005510b1
int3
Function at 0x46b500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d82
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0
mov dword [ebp - 0x68], esi
push 0x104
mov dword [ebp - 0x64], 0
call fcn.0043ae30
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041bb40
cmp dword [eax + 0x14], 8
jb 0x46b55c
mov eax, dword [eax]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x46b65a
lea ecx, [ebp - 0x28]
call fcn.0041ba50
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b580
sub eax, edx
sar eax, 1
jne 0x46b5a7
push 0x27
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantinecureitfolderfinder.cpp
push str.Invalid_CURE_IT_profile_path
push 0x139f
jmp 0x46b667
lea ecx, [ebp - 0x44]
call fcn.0041bb10
mov byte [ebp - 4], 2
push str._s_Doctor_Web_s_
mov dword [ebp - 0x2c], 0
call fcn.0041bea0
add esp, 4
lea ecx, [ebp - 0x44]
push eax
push str._s_Doctor_Web_s_
call fcn.0041bc10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push str.CureIt_Quarantine
call fcn.0041ba50
push eax
lea ecx, [ebp - 0x44]
call fcn.00446160
mov ecx, eax
call fcn.00446160
mov byte [ebp - 4], 4
mov ecx, esi
push eax
call fcn.00432a90
mov ecx, 2
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x64], ecx
and ecx, 0xfffffffd
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 3
or ecx, 1
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0041ba60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041ba60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 4
push 0x22
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantinecureitfolderfinder.cpp
push str.Cant_find_CURE_IT_profile_path
push eax
lea ecx, [ebp - 0x60]
call fcn.0045e150
push 0x6308f4
lea eax, [ebp - 0x60]
push eax
call fcn.005510b1
int3
Function at 0x46dfb0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586790
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.0041ba50
test eax, eax
je 0x46e043
push 8
push str.device_
push eax
call fcn.0055cb37
add esp, 0xc
test eax, eax
jne 0x46e043
mov ecx, esi
call fcn.0041ba50
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
call fcn.00446030
mov ecx, eax
call fcn.00454530
test eax, eax
jne 0x46e0f2
jmp 0x46e0b4
lea eax, [ebp - 0x88]
mov dword [ebp - 0x98], 0
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0
push eax
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call fcn.0041ba50
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x46e0b4
push str.Cant_initialize_quarantine_volume_space_info_for___s__
lea ecx, [ebp - 0x44]
call fcn.004343a0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
push ecx
push esi
mov ecx, eax
call fcn.004446d0
add esp, 4
mov ecx, eax
call fcn.00434730
mov byte [ebp - 4], 4
push 0x95
jmp 0x46e126
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret
push str.Cant_initialize_quarantine_volume_space_info_for___s__
lea ecx, [ebp - 0x44]
call fcn.004343a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
push ecx
push esi
mov ecx, eax
call fcn.004446d0
add esp, 4
mov ecx, eax
call fcn.00434730
mov byte [ebp - 4], 1
push 0x8e
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantineqrsize.cpp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0045e1e0
push 0x6308f4
lea eax, [ebp - 0x7c]
push eax
call fcn.005510b1
int3