Function at 0x409898
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb5c
push esi
push edi
mov eax, 0x482cd0
call fcn.00460328
xor edx, edx
mov dword [ebp - 0x68], edx
mov esi, 0x48291c
lea edi, [ebp - 0x1a4]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x54], 8
xor eax, eax
mov dword [ebp - 4], eax
inc dword [ebp - 0x48]
mov word [ebp - 0x54], 0x14
mov word [ebp - 0x54], 0x20
xor edx, edx
mov dword [ebp - 8], edx
inc dword [ebp - 0x48]
mov word [ebp - 0x54], 0x14
mov word [ebp - 0x54], 0x2c
xor ecx, ecx
mov dword [ebp - 0xc], ecx
inc dword [ebp - 0x48]
mov word [ebp - 0x54], 0x14
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jne 0x409959
dec dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
mov ecx, dword [ebp - 0x64]
mov dword fs:[0], ecx
jmp 0x409ea4
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x1a4], 0x128
lea edx, [ebp - 0x1a4]
push edx
push dword [ebp - 0x68]
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x409e62
cmp dword [ebp - 0x19c], 0
je 0x409991
cmp dword [ebp - 0x19c], 8
jne 0x4099c6
cmp dword [ebp - 0x19c], 0
jne 0x4099b0
push str.System_Idle_process
lea ecx, [ebp - 0x224]
push ecx
call fcn.00460078
add esp, 8
jmp 0x4099dc
push str.System
lea eax, [ebp - 0x224]
push eax
call fcn.00460078
add esp, 8
jmp 0x4099dc
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x224]
push ecx
call fcn.00460078
add esp, 8
cmp dword [0x488478], 2
jne 0x4099fd
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x324]
push edx
call fcn.00460078
add esp, 8
jmp 0x409a7c
mov word [ebp - 0x54], 0x38
lea edx, [ebp - 0x224]
lea eax, [ebp - 0x10]
call fcn.0046b604
inc dword [ebp - 0x48]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [ebp - 0x48]
call fcn.0044c62c
cmp dword [ebp - 0x14], 0
je 0x409a31
mov eax, dword [ebp - 0x14]
jmp 0x409a36
mov eax, 0x482a73
push eax
lea edx, [ebp - 0x4a4]
push edx
call fcn.00460078
add esp, 8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0046b678
lea ecx, [ebp - 0x324]
push ecx
lea eax, [ebp - 0x4a4]
push eax
call fcn.00402ff4
add esp, 8
mov word [ebp - 0x54], 0x44
lea edx, [ebp - 0x324]
lea eax, [ebp - 0x18]
call fcn.0046b604
inc dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x48]
call fcn.0046b8a8
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0046b6a8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x54], 0x50
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.0046b798
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.0046b6a8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x54], 0x5c
mov edx, str.winword
lea eax, [ebp - 0x24]
call fcn.0046b604
inc dword [ebp - 0x48]
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0046b930
test eax, eax
jg 0x409b99
mov edx, str.excel
lea eax, [ebp - 0x28]
call fcn.0046b604
inc dword [ebp - 0x48]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.0046b930
test eax, eax
setle cl
and ecx, 1
push ecx
dec dword [ebp - 0x48]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046b678
pop ecx
test ecx, ecx
je 0x409b99
mov edx, str.gament
lea eax, [ebp - 0x2c]
call fcn.0046b604
inc dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0046b930
test eax, eax
setle cl
and ecx, 1
push ecx
dec dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0046b678
pop ecx
test ecx, ecx
jne 0x409b9d
xor eax, eax
jmp 0x409ba2
mov eax, 1
push eax
dec dword [ebp - 0x48]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046b678
pop ecx
test cl, cl
je 0x409e48
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x409e39
mov word [ebp - 0x54], 0x68
imul edx, dword [ebp - 0x74], 0x258
add edx, dword [0x480c78]
lea eax, [ebp - 0x30]
call fcn.0046b604
inc dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x34]
inc dword [ebp - 0x48]
call fcn.0046b8a8
lea edx, [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.0046b6a8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x54], 0x74
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
inc dword [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.0046b798
lea edx, [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.0046b6a8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046b678
mov word [ebp - 0x54], 0x80
imul edx, dword [ebp - 0x74], 0x258
add edx, dword [0x480c78]
add edx, 0x80
lea eax, [ebp - 0x3c]
call fcn.0046b604
mov edx, eax
inc dword [ebp - 0x48]
lea eax, [ebp - 0xc]
call fcn.0046b6a8
dec dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046b678
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0046b748
test al, al
je 0x409e36
mov word [ebp - 0x54], 0x8c
mov edx, 0x482a89
lea eax, [ebp - 0x40]
call fcn.0046b604
inc dword [ebp - 0x48]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0xc]
call fcn.0046b748
test al, al
jne 0x409cdc
cmp dword [ebp - 0xc], 0
sete cl
and ecx, 1
cmp cl, 1
je 0x409cdc
xor eax, eax
jmp 0x409ce1
mov eax, 1
push eax
dec dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0046b678
pop ecx
test cl, cl
je 0x409e36
call fcn.0046bb50
fstp st(0)
call fcn.0044db94
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
imul eax, dword [ebp - 0x74], 0x4b
mov edx, dword [0x480c78]
lea ecx, [edx + eax*8]
mov eax, dword [0x488530]
add eax, eax
lea eax, [eax + eax*2]
fcomp qword [ecx + eax*8 + 0x100]
fnstsw ax
sahf
setae dl
and edx, 1
test dl, dl
je 0x409d6a
fld qword [ebp - 0x7c]
imul ecx, dword [ebp - 0x74], 0x4b
mov eax, dword [0x480c78]
lea edx, [eax + ecx*8]
mov ecx, dword [0x488530]
add ecx, ecx
lea ecx, [ecx + ecx*2]
fcomp qword [edx + ecx*8 + 0x108]
fnstsw ax
sahf
setbe dl
and edx, 1
test dl, dl
jne 0x409e22
fld qword [ebp - 0x7c]
imul ecx, dword [ebp - 0x74], 0x4b
mov eax, dword [0x480c78]
lea edx, [eax + ecx*8]
mov ecx, dword [0x488530]
add ecx, ecx
lea ecx, [ecx + ecx*2]
fcomp qword [edx + ecx*8 + 0x110]
fnstsw ax
sahf
setae dl
and edx, 1
test dl, dl
je 0x409dc6
fld qword [ebp - 0x7c]
imul ecx, dword [ebp - 0x74], 0x4b
mov eax, dword [0x480c78]
lea edx, [eax + ecx*8]
mov ecx, dword [0x488530]
add ecx, ecx
lea ecx, [ecx + ecx*2]
fcomp qword [edx + ecx*8 + 0x118]
fnstsw ax
sahf
setbe dl
and edx, 1
test dl, dl
jne 0x409e22
fld qword [ebp - 0x7c]
imul ecx, dword [ebp - 0x74], 0x4b
mov eax, dword [0x480c78]
lea edx, [eax + ecx*8]
mov ecx, dword [0x488530]
add ecx, ecx
lea ecx, [ecx + ecx*2]
fcomp qword [edx + ecx*8 + 0x120]
fnstsw ax
sahf
setae dl
and edx, 1
test dl, dl
je 0x409e36
fld qword [ebp - 0x7c]
imul ecx, dword [ebp - 0x74], 0x4b
mov eax, dword [0x480c78]
lea edx, [eax + ecx*8]
mov ecx, dword [0x488530]
add ecx, ecx
lea ecx, [ecx + ecx*2]
fcomp qword [edx + ecx*8 + 0x128]
fnstsw ax
sahf
setbe dl
and edx, 1
test dl, dl
je 0x409e36
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x70], ecx
push dword [ebp - 0x70]
call fcn.00403510
pop ecx
jmp 0x409e48
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
cmp eax, dword [0x488514]
jl 0x409bc6
inc dword [ebp - 0x6c]
lea edx, [ebp - 0x1a4]
push edx
push dword [ebp - 0x68]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40997f
push dword [ebp - 0x68]
call sub.KERNEL32.DLL_CloseHandle
dec dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x48]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
mov ecx, dword [ebp - 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret