Function at 0x45d430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660229
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push 0
push 0x6660c0
mov dword [ebp - 0x378], edi
mov dword [ebp - 0x360], edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00449a80
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], 0x80
call fcn.004540f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0045f0d0
push 0
push 2
mov byte [ebp - 4], 3
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x360], esi
cmp esi, 0xffffffff
jne 0x45d548
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00459830
lea ecx, [ebp - 0x20]
call fcn.0045a890
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x45d52b
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45d521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d92c
push edx
push ecx
call fcn.0062ed83
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062f00e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45d587
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00459830
lea ecx, [ebp - 0x20]
call fcn.0045a890
lea ecx, [ebp - 0x60]
call fcn.00449020
jmp 0x45d52b
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d5d0
sub ecx, edx
lea eax, [ebp - 0x328]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.0044c000
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044c3a0
add esp, 8
mov edx, dword [ebp - 0x64]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x45d641
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d92c
push edx
push ecx
call fcn.0062ed83
add esp, 8
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x38]
lea edi, [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x34], 0x10
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x50]
cmovae ecx, edx
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x64], 7
cmovae edi, dword [ebp - 0x60]
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x364], ecx
mov dword [ebp - 0x370], edi
cmp esi, eax
ja 0x45d757
test esi, esi
je 0x45d872
movsx ecx, byte [ecx]
sub eax, esi
inc eax
mov dword [ebp - 0x36c], ecx
add eax, edi
mov dword [ebp - 0x368], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00630e30
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45d757
mov ecx, dword [ebp - 0x364]
mov edx, edi
sub esi, 4
jb 0x45d6e1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x45d6e6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x45d6d0
cmp esi, 0xfffffffc
je 0x45d71a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x45d713
cmp esi, 0xfffffffd
je 0x45d71a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x45d713
cmp esi, 0xfffffffe
je 0x45d71a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x45d713
cmp esi, 0xffffffff
je 0x45d71a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x45d71a
sbb eax, eax
or eax, 1
jmp 0x45d71c
xor eax, eax
test eax, eax
je 0x45d748
mov eax, dword [ebp - 0x368]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x36c]
push edi
call fcn.00630e30
mov esi, dword [ebp - 0x38]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45d6c0
jmp 0x45d757
sub edi, dword [ebp - 0x370]
cmp edi, 0xffffffff
jne 0x45d86c
mov cl, byte [ebp - 0x20]
mov al, cl
and al, 0xf0
cmp al, 0x80
jne 0x45d782
lea ecx, [ebp - 0x20]
call fcn.0045f710
mov edi, dword [ebp - 0x354]
lea ecx, [eax + 4]
push ecx
lea eax, [edi + 1]
push eax
call fcn.00452b70
mov cl, byte [ebp - 0x20]
jmp 0x45d788
mov edi, dword [ebp - 0x354]
shr cl, 4
movzx eax, cl
sub eax, 8
je 0x45d7d2
sub eax, 2
jne 0x45d96a
lea ecx, [ebp - 0x20]
call fcn.00465320
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x45d931
mov eax, dword [ebp - 0x358]
add eax, 0x18
add esi, eax
jmp 0x45d7fc
lea ecx, [ebp - 0x20]
call fcn.0045f710
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
sar ecx, 4
cmp edi, ecx
jae 0x45d8f3
lea ecx, [ebp - 0x20]
call fcn.0045f710
mov esi, dword [eax + 4]
add esi, dword [ebp - 0x35c]
add dword [ebp - 0x358], 0x28
lea eax, [ebp - 0x48]
add dword [ebp - 0x35c], 0x10
inc edi
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
mov dword [ebp - 0x354], edi
cmp ecx, 0xd
ja 0x45d832
push ecx
push eax
push 0
lea ecx, [ebp - 0x30]
call fcn.004596b0
jmp 0x45d84a
lea edx, [ebp - 0x34d]
mov byte [ebp - 0x30], 0x60
push edx
push ecx
push eax
call fcn.0045fff0
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
cmp esi, eax
je 0x45d85f
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm1
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x30]
call fcn.0045a890
mov edx, dword [ebp - 0x48]
jmp 0x45d872
mov edx, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x45d8a7
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45d89d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d92c
push ecx
push edx
call fcn.0062ed83
add esp, 8
mov esi, dword [ebp - 0x360]
lea eax, [ebp - 0x34c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45d5b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x378]
lea eax, [ebp - 0x20]
push eax
call fcn.00459830
lea ecx, [ebp - 0x20]
call fcn.0045a890
lea ecx, [ebp - 0x60]
call fcn.00449020
mov eax, dword [ebp - 0x378]
jmp 0x45d52d
push str.Invalid_array_subscript
lea ecx, [ebp - 0x90]
call fcn.00458a40
push 1
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x120]
call fcn.00458c90
push 0x70c12c
lea eax, [ebp - 0x120]
push eax
call fcn.00630dc3
call fcn.00636d45
push str.Invalid_array_subscript
lea ecx, [ebp - 0x90]
call fcn.00458a40
push 1
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xc0]
call fcn.00458c90
push 0x70c12c
lea eax, [ebp - 0xc0]
push eax
call fcn.00630dc3
push str.Index_on_non_array_value_not_supported
lea ecx, [ebp - 0x90]
call fcn.00458a40
push 1
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xf0]
call fcn.00458df0
push 0x70c02c
lea eax, [ebp - 0xf0]
push eax
call fcn.00630dc3
int3