Function at 0x404b10
Capabilities:
Enumerate processes
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412e52
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x41b014]
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 - 0x270], edx
mov dword [ebp - 0x268], ecx
push 0
push 0xf
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x25c]
push 0x228
push 0
push eax
mov dword [ebp - 0x26c], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x22c
lea ecx, [ebp - 0x18]
push 0x415b20
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x404d0b
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x404cb4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x258]
push 0x415b2c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
add esp, 0xc
push dword [ebp - 0x14]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x404c98
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x404c91
cmp dword [eax + 0x10], 0
je 0x404c8a
mov ecx, dword [ebp - 0x268]
cmp dword [eax], ecx
jne 0x404c8a
mov edx, dword [ebp - 0x270]
lea esi, [eax + 0x60]
mov ecx, dword [ebp - 0x258]
mov edi, edx
mov dword [ebp - 0x264], ecx
mov ecx, 0x32
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0x10]
mov ecx, dword [ebp - 0x268]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
movups xmmword [edx + 0x3c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edx + 0x4c], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [edx + 0x5c], xmm0
mov dword [edx + 4], ecx
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x264], 0
jne 0x404d05
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
je 0x404cea
cmp dword [ebp - 0x30], 0x12
je 0x404cea
lea eax, [ebp - 0x34]
push eax
call ebx
lea eax, [ebp - 0x34]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x404cc6
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404bc3
mov ebx, dword [ebp - 0x26c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x264]
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.00411c65
mov esp, ebp
pop ebp
ret