joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a384
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4b2cff
call fcn.00475a5f
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, edi
mov dword [ebp + 0x1c], eax
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], eax
call fcn.00469e8d
test al, al
jne 0x46a3bc
mov ecx, dword [ebp + 8]
push 0x4f8ce0
call fcn.004029af
jmp 0x46a40c
push dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [edi - 1]
jmp 0x46a3fd
add ebx, edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00469ec0
test al, al
je 0x46a3ad
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x46a3d9
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
call fcn.00402675
push dword [ebp + 0x1c]
call fcn.0047668c
mov eax, dword [ebp + 8]
pop ecx
call fcn.00475b37
ret 0x18
Function at 0x46a4f6
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x4b2d65
call fcn.00475a5f
mov eax, dword [ebp + 0x214]
push eax
mov esi, ecx
mov dword [ebp - 0x18], eax
call fcn.0046a4ad
push dword [esi + 0x14]
xor eax, eax
push dword [esi + 8]
xor edi, edi
push dword [esi + 0x30]
cmp dword [esi], edi
push dword [esi + 4]
sete al
push dword [esi + 0x2c]
lea ebx, [esi + 0x38]
push dword [esi + 0x28]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 0x34]
push str.V_sOV_d__dOW_dS_I64dM_I64dC_dipartner_sDT_dOAV_d
push ebx
call fcn.00403b7e
add esp, 0x38
xor eax, eax
cmp dword [esi + 0xc], 6
jae 0x46a5e9
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00474a10
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.oeminfo.ini
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a658
push pe_nt_image_headers32
lea eax, [ebp]
push eax
push 0x4d2ec0
push str.Manufacturer
push str.General
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0046a384
lea ecx, [esi + 0x3c]
push eax
mov dword [ebp - 4], edi
call fcn.00401df2
mov ecx, dword [ebp - 0x10]
jmp 0x46a64c
push 0x1fe
mov word [ebp + 8], ax
lea eax, [ebp + 0xa]
push edi
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Manufacturer
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionOEMInformation
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0x200
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46a658
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402675
lea ecx, [esi + 0x3c]
push eax
mov dword [ebp - 4], edi
call fcn.00401df2
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004029d4
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0046a18a
push dword [eax]
mov dword [ebp - 4], 2
push str.oeminfo_s
push ebx
call fcn.0041fa61
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x18]
push 0
push ebx
call fcn.00460e49
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x20c
leave
ret 4
Function at 0x46a6bd
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x46a6d5
xor eax, eax
inc eax
jmp 0x46a704
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a6d0
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46a6f7
push esi
call edi
test eax, eax
jne 0x46a6d0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop edi
pop esi
ret

Function at 0x46a707
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
sub esp, 0x874
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x874], eax
push 4
mov eax, 0x4b2d9d
call fcn.00475a5f
mov esi, dword [ebp + 0x880]
xor ebx, ebx
cmp esi, ebx
jne 0x46a73e
xor eax, eax
jmp 0x46a839
cmp word [esi], bx
je 0x46a737
push esi
call fcn.004754ae
cmp eax, 0x104
pop ecx
jge 0x46a737
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.00474a10
add esp, 0xc
push 0x4d3138
push esi
lea eax, [ebp + 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46a794
test al, 1
je 0x46a794
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
lea eax, [ebp + 0x464]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.0043a164
cmp eax, ebx
je 0x46a81f
lea ecx, [ebp]
call fcn.0043a127
lea ecx, [ebp]
test eax, eax
je 0x46a7d8
call fcn.0043a05b
mov edi, eax
jmp 0x46a81b
lea eax, [ebp - 0x10]
push eax
call fcn.0043c447
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043a03f
push dword [ebp - 0x10]
test eax, eax
je 0x46a7fd
call fcn.0046a707
jmp 0x46a802
call fcn.0046a6bd
pop ecx
lea ecx, [ebp]
call fcn.0043a05b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
mov byte [ebp - 4], bl
call fcn.004029d4
cmp edi, ebx
jne 0x46a7c0
lea ecx, [ebp]
call fcn.0043a082
push esi
call fcn.00430bbb
pop ecx
lea ecx, [ebp]
call fcn.0043a082
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x874]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x878
leave
ret
Function at 0x46bfdd
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x4d3070
lea edi, [ebp + 0x58]
rep movsd dword es:[edi], dword [esi]
push 0xd3a
lea eax, [ebp + 0x58]
push 0x1a
mov ebx, 0x104
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsw word es:[edi], word [esi]
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ExeString
lea eax, [ebp + 0x58]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x46c072
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46c072
xor eax, eax
inc eax
jmp 0x46c183
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00474a10
add esp, 0xc
push 0xf
pop ecx
lea eax, [ebp + 0x1c]
push 0xd3c
mov esi, 0x4d3098
lea edi, [ebp + 0x1c]
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d2ec2
lea eax, [ebp + 0x1c]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x46c0ff
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x46c06a
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00474a10
push 0xf
pop ecx
mov esi, 0x4d30d4
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0xd3c
lea eax, [ebp - 0x24]
push 0x3d
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsb byte es:[edi], byte [esi]
call fcn.0046bf9f
add esp, 0x18
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4d2ec2
lea eax, [ebp - 0x24]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x46c181
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x46c06a
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x78
leave
ret
Function at 0x46c195
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x77]
push 0
push eax
mov byte [ebp - 0x78], 0
call fcn.00474a10
add esp, 0xc
push 6
pop ecx
lea eax, [ebp + 0x8c]
push 0x237f
mov esi, 0x4d314c
lea edi, [ebp + 0x8c]
push eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
rep movsd dword es:[edi], dword [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4d2ec2
lea eax, [ebp + 0x8c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x46c245
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46c245
xor eax, eax
inc eax
jmp 0x46c247
xor eax, eax
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0xa8
leave
ret

Function at 0x46c25c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call fcn.00474a10
add esp, 0xc
push 7
pop ecx
mov esi, 0x4d318c
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d31a8
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push 0x837
push eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x104
movsd dword es:[edi], dword [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x844
push eax
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
push str.ProgramPath
lea eax, [ebp - 0x2c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x46c34d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x46c34d
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46c34d
xor eax, eax
inc eax
jmp 0x46c34f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x46c35b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x123]
push 0
push eax
mov byte [ebp - 0x124], 0
call fcn.00474a10
mov esi, 0x4d321c
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x4d322c
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
add esp, 0xc
mov esi, 0x237f
lea eax, [ebp - 0x20]
push esi
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x128], 0x104
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ProgramPath
lea eax, [ebp - 0x20]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x46c44a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x124]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x46c44a
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46c44a
xor eax, eax
inc eax
jmp 0x46c44c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x46c458
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x13b]
push 0
push eax
mov byte [ebp - 0x13c], 0
call fcn.00474a10
add esp, 0xc
push 8
pop ecx
mov esi, 0x4d3280
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d32a0
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x237f
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], 0x104
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push str.AppPath
lea eax, [ebp - 0x38]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x46c548
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x46c548
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46c548
xor eax, eax
inc eax
jmp 0x46c54a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x46c556
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d332c
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x237f
lea eax, [ebp - 0x24]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046bf9f
mov esi, 0x4d333c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x14]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046bf9f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46c5ed
and dword [ebp - 0x254], 0
jmp 0x46c60a
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b49a
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46c61b
xor ebx, ebx
jmp 0x46c634
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b49a
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46c6a6
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46c69f
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46c695
cmp dword [ebp + 8], 0
jne 0x46c682
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46c695
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46c65b
jmp 0x46c69f
mov dword [ebp - 0x258], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x46c6c1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d3368
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push 0x237f
push eax
movsb byte es:[edi], byte [esi]
call fcn.00475e30
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046bf9f
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x46c725
xor edi, edi
jmp 0x46c73e
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0040b49a
mov edi, eax
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x46c78b
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x46c77b
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x46c781
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46c75c
jmp 0x46c784
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea esp, [ebp - 0x250]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a8a
leave
ret
Function at 0x46c7a2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 0x80], 1
call fcn.00474a10
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4d251c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsQAXSecurity.exe
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x208
push ebx
mov dword [ebp - 0x7c], esi
call edi
test eax, eax
jne 0x46c83a
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push str.QAXSecurity.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c88b
push esi
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x7c], esi
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.UninstallString
push 0x4c4518
push ebx
call edi
test eax, eax
jne 0x46c892
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c892
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474a8a
add ebp, 0x198
leave
ret

Function at 0x46c8ad
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push edi
xor eax, eax
push 0x206
xor edi, edi
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
mov dword [ebp - 0x7c], 1
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMSPCManager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46c939
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c939
inc edi
mov ecx, dword [ebp + 0x190]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00474a8a
add ebp, 0x194
leave
ret
Function at 0x46c951
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x81c]
sub esp, 0x89c
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x818], eax
push ebx
push esi
push edi
xor eax, eax
push eax
push 0x26
lea ecx, [ebp + 0x5ec]
push ecx
push eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46cafe
mov esi, 0x4d3114
lea edi, [ebp + 0x7f4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4d3128
lea edi, [ebp + 0x808]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0xd3e
push esi
lea eax, [ebp + 0x7f4]
push 0x11
push eax
call fcn.0046bf9f
push esi
lea eax, [ebp + 0x808]
push 0xe
push eax
call fcn.0046bf9f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x18
lea eax, [ebp + 0x7f4]
push eax
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46c9f4
and dword [ebp - 0x80], 0
jmp 0x46ca11
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x7f4]
push ecx
push eax
call fcn.0040b49a
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x808]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46ca27
and dword [ebp - 0x7c], 0
jmp 0x46ca44
lea eax, [esi + esi]
call fcn.0047b410
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x808]
push ecx
push eax
call fcn.0040b49a
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x80]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x5ec]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4d3138
lea eax, [ebp + 0x5ec]
push eax
lea eax, [ebp + 0x1dc]
push eax
call edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46cafb
test byte [ebp - 0x74], 0x10
je 0x46cadc
cmp word [ebp - 0x48], 0x2e
jne 0x46caab
cmp word [ebp - 0x46], 0
je 0x46cadc
cmp word [ebp - 0x46], 0x2e
jne 0x46caab
cmp word [ebp - 0x44], 0
je 0x46cadc
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x5ec]
push eax
lea eax, [ebp + 0x3e4]
push eax
call edi
push dword [ebp - 0x7c]
lea eax, [ebp + 0x3e4]
push eax
call esi
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46caed
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46ca89
jmp 0x46caf4
mov dword [ebp - 0x78], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x818]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x81c
leave
ret