joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a8c8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4ce2d0
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x849
lea eax, [ebp - 0x10]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00469a68
mov esi, 0x4ce2dc
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00469a68
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46a95c
and dword [ebp - 0x250], 0
jmp 0x46a979
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b46b
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46a98a
xor ebx, ebx
jmp 0x46a9a3
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b46b
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46aa15
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46aa0e
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46aa04
cmp dword [ebp + 8], 0
jne 0x46a9f1
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46aa04
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46a9ca
jmp 0x46aa0e
mov dword [ebp - 0x254], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047021a
leave
ret
Function at 0x46aa30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4ce2fc
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x10]
push 0x237f
push eax
movsb byte es:[edi], byte [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00469a68
mov esi, 0x4ce308
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push 0x1586a
push eax
movsw word es:[edi], word [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00469a68
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46aaca
and dword [ebp - 0x250], 0
jmp 0x46aae7
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b46b
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46aaf8
xor ebx, ebx
jmp 0x46ab11
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b46b
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46ab83
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46ab7c
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46ab72
cmp dword [ebp + 8], 0
jne 0x46ab5f
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46ab72
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46ab38
jmp 0x46ab7c
mov dword [ebp - 0x254], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047021a
leave
ret
Function at 0x46ab9e
Capabilities:
Accept command line arguments
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0xbc], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.004701a0
add esp, 0xc
push 0xb
pop ecx
lea eax, [ebp + 0x90]
push 0x1586a
mov esi, 0x4ce318
lea edi, [ebp + 0x90]
push eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
rep movsd dword es:[edi], dword [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp + 0x90]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ImagePath
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x46ac58
xor eax, eax
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.0047021a
add ebp, 0xc0
leave
ret
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x46ac71
xor eax, eax
jmp 0x46ac88
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040b46b
and dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x46ac39
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x46acb6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x46ac3b
inc edi
jmp 0x46acab
Function at 0x46acdb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4ce3a4
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00469a68
mov esi, 0x4ce3d4
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00469a68
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 0x46ad72
and dword [ebp - 0x254], 0
jmp 0x46ad8f
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b46b
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46ada0
xor ebx, ebx
jmp 0x46adb9
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b46b
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46ae2b
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46ae24
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46ae1a
cmp dword [ebp + 8], 0
jne 0x46ae07
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46ae1a
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46ade0
jmp 0x46ae24
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.0047021a
leave
ret
Function at 0x46ae46
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x327]
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.004701a0
add esp, 0x24
push ebx
push 0x26
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x46af5d
push edi
mov esi, 0x4ce234
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x4ce23c
lea edi, [ebp - 0x1c]
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, 0x237f
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.0040b40b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret
Function at 0x46af8f
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp - 0x35b]
push edi
push eax
mov byte [ebp - 0x35c], 0
call fcn.004701a0
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.004701a0
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.004701a0
add esp, 0x24
push edi
push 0x26
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x46b13f
push ebx
push 7
pop ecx
push 9
mov esi, 0x4ce290
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4ce2ac
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4ce278
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x844
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b40b
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46b0d5
xor eax, eax
inc eax
jmp 0x46b13e
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004701a0
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.004701a0
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b40b
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047021a
leave
ret
Function at 0x46b171
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.004701a0
add esp, 0x24
push 5
pop ecx
mov esi, 0x4ce38c
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4ce3c0]
mov esi, 0x4ce3a4
lea edi, [ebp - 0x28]
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, 0x4ce3b4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ce3c4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469a68
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00469a68
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x46b2b3
xor eax, eax
jmp 0x46b31b
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x46b2af
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0040b37d
add esp, 0x18
test eax, eax
jl 0x46b2af
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret
Function at 0x46b346
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.004701a0
add esp, 0x24
push 5
pop ecx
mov esi, 0x4ce3e4
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4ce3c0]
mov esi, 0x4ce3fc
lea edi, [ebp - 0x28]
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, 0x4ce3b4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ce3c4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469a68
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00469a68
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x46b488
xor eax, eax
jmp 0x46b4f0
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x46b484
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0040b37d
add esp, 0x18
test eax, eax
jl 0x46b484
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret
Function at 0x46b51b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.004701a0
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.004701a0
add esp, 0x24
push 7
pop ecx
mov esi, 0x4ce41c
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4ce438
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4ce3c0]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4ce3b4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ce3c4]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00469a68
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
je 0x46b65b
xor eax, eax
jmp 0x46b6c3
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
jne 0x46b657
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x354]
push eax
push str._s_s_s
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0040b37d
add esp, 0x18
test eax, eax
jl 0x46b657
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret
Function at 0x46b748
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4ae3e2
call fcn.004711ef
mov esi, dword [ebp + 0x214]
xor eax, eax
test esi, esi
je 0x46b827
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
xor edi, edi
push str.SOFTWAREKasperskyLabSetupFolders
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x46b7c4
xor eax, eax
jmp 0x46b827
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004025d8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041558e
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00432033
lea ecx, [ebp - 0x10]
call fcn.004155f6
push 0x22
lea ecx, [ebp - 0x10]
call fcn.00437cf7
push str.avp.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46b81a
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
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 + 0x208]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x20c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.InstallLocation
xor esi, esi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstallA9861883_31C5_4324_BD9A_DC9527EEB675_is1
inc esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x46b8d9
xor eax, eax
jmp 0x46b914
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.004025d8
push str.LenovoTray.exe
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46b907
xor esi, esi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, esi
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.0047021a
add ebp, 0x198
leave
ret