Function at 0x409280
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575f43
mov eax, dword fs:[0]
push eax
mov eax, 0x1220
call fcn.0054c770
mov eax, dword [0x5d61f0]
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
lea eax, [ebp - 0x121c]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
mov dword [ebp - 4], 0
xor edi, edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
or ecx, 0xffffffff
test eax, eax
je 0x40945d
mov esi, dword [ebp - 0x121c]
shr esi, 2
mov ebx, 1
mov dword [ebp - 0x1228], esi
cmp esi, ebx
jbe 0x40945a
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, esi
jmp 0x409310
mov esi, dword [ebp + ebx*4 - 0x1218]
test esi, esi
je 0x40944f
movq xmm0, qword [str._unknown_]
mov eax, dword [0x5ad224]
push 0x1f4
mov dword [ebp - 0x208], eax
movq qword [ebp - 0x218], xmm0
movq xmm0, qword [0x5ad21c]
lea eax, [ebp - 0x204]
push 0
push eax
movq qword [ebp - 0x210], xmm0
call fcn.0054c3e0
add esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
push 0
je 0x409370
push 0x411
jmp 0x409375
push 0x410
call edi
mov edi, eax
test edi, edi
je 0x4093b1
lea eax, [ebp - 0x1220]
push eax
push 4
lea eax, [ebp - 0x1224]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4093b1
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1224]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
call fcn.004290db
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4094d2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x122c], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x122c]
push 0x5aca24
push eax
mov byte [ebp - 4], 1
call fcn.00404a00
mov eax, dword [ebp + 8]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
test ecx, ecx
je 0x4094d2
mov esi, dword [ebp - 0x122c]
push eax
push esi
call fcn.0054ad65
add esp, 8
test eax, eax
je 0x40949e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409443
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [ebp - 0x1228]
inc ebx
cmp ebx, eax
jb 0x409310
xor edi, edi
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40947e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0054940a
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
je 0x4094ad
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esi, 0xfffffff0
mov edi, 1
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40945a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40945a
push 0x80004005
call fcn.00402650
int3