joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469aa6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x4ce140
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.00469a68
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 0x469b3b
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x469b3b
xor eax, eax
inc eax
jmp 0x469c4c
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004701a0
add esp, 0xc
push 0xf
pop ecx
lea eax, [ebp + 0x1c]
push 0xd3c
mov esi, 0x4ce168
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.004715c0
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4cdf92
lea eax, [ebp + 0x1c]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x469bc8
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x469b33
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004701a0
push 0xf
pop ecx
mov esi, 0x4ce1a4
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.00469a68
add esp, 0x18
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x4cdf92
lea eax, [ebp - 0x24]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x469c4a
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x469b33
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x78
leave
ret
Function at 0x469c5e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4ed820]
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.004701a0
add esp, 0xc
push 6
pop ecx
lea eax, [ebp + 0x8c]
push 0x237f
mov esi, 0x4ce21c
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.004715c0
pop ecx
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4cdf92
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 0x469d0e
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x469d0e
xor eax, eax
inc eax
jmp 0x469d10
xor eax, eax
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.0047021a
add ebp, 0xa8
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4ed820]
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.004701a0
add esp, 0xc
push 7
pop ecx
mov esi, 0x4ce25c
lea edi, [ebp - 0x2c]
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]
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00469a68
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x844
push eax
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00469a68
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 0x469e16
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 0x469e16
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x469e16
xor eax, eax
inc eax
jmp 0x469e18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047021a
leave
ret
Function at 0x469e24
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4ed820]
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.004701a0
mov esi, 0x4ce2ec
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, 0x4ce2fc
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x20]
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 - 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 0x469f13
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 0x469f13
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x469f13
xor eax, eax
inc eax
jmp 0x469f15
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047021a
leave
ret
Function at 0x469f21
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4ed820]
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.004701a0
add esp, 0xc
push 8
pop ecx
mov esi, 0x4ce350
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4ce370
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x38]
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 - 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 0x46a011
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 0x46a011
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x46a011
xor eax, eax
inc eax
jmp 0x46a013
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047021a
leave
ret
Function at 0x46a01f
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, 0x4ce3fc
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, 0x4ce40c
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 0x46a0b6
and dword [ebp - 0x254], 0
jmp 0x46a0d3
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 0x46a0e4
xor ebx, ebx
jmp 0x46a0fd
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 0x46a16f
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46a168
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a15e
cmp dword [ebp + 8], 0
jne 0x46a14b
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a15e
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46a124
jmp 0x46a168
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 0x46a18a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4ce438
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.004715c0
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469a68
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 0x46a1ee
xor edi, edi
jmp 0x46a207
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0040b46b
mov edi, eax
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x46a254
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x46a244
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x46a24a
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46a225
jmp 0x46a24d
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.0047021a
leave
ret
Function at 0x46a26b
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
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.004701a0
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 0x4cd5ec
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 0x46a303
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 0x46a354
push esi
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x7c], esi
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.UninstallString
push 0x4bf938
push ebx
call edi
test eax, eax
jne 0x46a35b
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 0x46a35b
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.0047021a
add ebp, 0x198
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ed820]
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.004701a0
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 0x46a402
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 0x46a402
inc edi
mov ecx, dword [ebp + 0x190]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0047021a
add ebp, 0x194
leave
ret
Function at 0x46a41a
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 [0x4ed820]
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 0x46a5c7
mov esi, 0x4ce1e4
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, 0x4ce1f8
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.00469a68
push esi
lea eax, [ebp + 0x808]
push 0xe
push eax
call fcn.00469a68
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 0x46a4bd
and dword [ebp - 0x80], 0
jmp 0x46a4da
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x7f4]
push ecx
push eax
call fcn.0040b46b
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x808]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46a4f0
and dword [ebp - 0x7c], 0
jmp 0x46a50d
lea eax, [esi + esi]
call fcn.00476aa0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x808]
push ecx
push eax
call fcn.0040b46b
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 0x4ce208
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 0x46a5c4
test byte [ebp - 0x74], 0x10
je 0x46a5a5
cmp word [ebp - 0x48], 0x2e
jne 0x46a574
cmp word [ebp - 0x46], 0
je 0x46a5a5
cmp word [ebp - 0x46], 0x2e
jne 0x46a574
cmp word [ebp - 0x44], 0
je 0x46a5a5
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 0x46a5b6
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46a552
jmp 0x46a5bd
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.0047021a
add ebp, 0x81c
leave
ret
Function at 0x46a5e5
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, 0x4ce1f8
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0xd3e
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x24]
push 0xe
push eax
movsw word es:[edi], word [esi]
call fcn.00469a68
mov esi, 0x4ce20c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x14]
push 0xd
push eax
movsb byte es:[edi], byte [esi]
call fcn.00469a68
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0x18
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 0x46a666
and dword [ebp - 0x254], 0
jmp 0x46a683
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 0x46a694
xor ebx, ebx
jmp 0x46a6ad
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 0x46a71f
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46a718
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a70e
cmp dword [ebp + 8], 0
jne 0x46a6fb
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a70e
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46a6d4
jmp 0x46a718
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 0x46a75e
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, 0x4ce23c
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
movsw word es:[edi], word [esi]
call fcn.004715c0
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00469a68
mov esi, 0x4ce24c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [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 0x46a7f4
and dword [ebp - 0x254], 0
jmp 0x46a811
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 0x46a822
xor ebx, ebx
jmp 0x46a83b
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 0x46a8ad
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46a8a6
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a89c
cmp dword [ebp + 8], 0
jne 0x46a889
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46a89c
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46a862
jmp 0x46a8a6
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