Function at 0x10082110
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146907
mov eax, dword fs:[0]
push eax
sub esp, 0x76c
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6bc], edx
mov dword [ebp - 0x6b4], ecx
lea ecx, [ebp - 0x6b0]
push str.Installer::FindPid
mov dword [ebp - 0x6c4], edx
call fcn.1000ab60
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x6cc], ebx
mov dword [ebp - 0x6c8], ebx
cmp ebx, 0xffffffff
jne 0x100821ff
push str.Installer::FindPid
mov edx, 8
lea ecx, [ebp - 0x778]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [esi + 0x48], 0
je 0x100821b7
mov edx, str.CreateToolhelp32Snapshot_error
mov ecx, esi
call fcn.10020800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x100821cb
push eax
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x778]
call fcn.1000ad70
lea ecx, [ebp - 0x6b0]
call fcn.1000ac70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.10117ff0
add esp, 0xc
mov dword [ebp - 0x298], 0x22c
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10082261
push str.Installer::FindPid
lea edx, [eax + 8]
lea ecx, [ebp - 0x778]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [esi + 0x48], 0
je 0x100821b7
mov edx, str.Process32First_error
jmp 0x100821b0
xor bl, bl
lea edx, [ebp - 0x6b4]
mov byte [ebp - 0x6c0], bl
lea ecx, [ebp - 0x68]
push dword [ebp - 0x6c0]
mov byte [ebp - 0x6b5], bl
call fcn.1001d8e0
add esp, 4
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x290]
push eax
push 0
push 0x410
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1008234e
push str.Installer::GetProcessPath
lea edx, [eax + 8]
lea ecx, [ebp - 0x778]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov al, byte [esi + 0x48]
test al, al
je 0x10082324
mov edx, str.failed_open_pid
mov ecx, esi
call fcn.10020800
mov al, byte [esi + 0x48]
test al, al
je 0x10082324
push dword [ebp - 0x6b4]
mov ecx, esi
call fcn.100201d0
cmp byte [esi + 0x48], 0
je 0x10082324
mov edx, 0x10165760
mov ecx, esi
call fcn.10020800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x10082338
push eax
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x778]
mov byte [ebp - 4], 4
call fcn.1000ad70
xor bh, bh
jmp 0x100823f5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
push 0x7fff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10002350
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call fcn.10117ff0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
sub esi, eax
sar esi, 1
push esi
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov esi, eax
test esi, esi
push edi
setne bh
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100823e9
mov edx, dword [ebp - 0x20]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100823d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.10002060
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100825d0
test bh, bh
je 0x10082490
mov byte [ebp - 0x6c0], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x6c0]
lea ecx, [ebp - 0x50]
call fcn.1007c0c0
add esp, 4
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.10081d30
mov edi, dword [ebp - 0x6bc]
mov bl, al
mov byte [ebp - 0x6b5], bl
jmp 0x1008244f
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x50]
test bl, bl
je 0x10082487
mov eax, dword [ebp - 0x290]
mov dword [edi], eax
call fcn.10002400
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10002400
push dword [ebp - 0x6c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10082547
mov byte [ebp - 4], 4
call fcn.10002400
push 0x228
lea eax, [ebp - 0x294]
mov bh, bl
push 0
push eax
call fcn.10117ff0
mov edi, dword [ebp - 0x6cc]
lea eax, [ebp - 0x298]
add esp, 0xc
mov dword [ebp - 0x298], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100825ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10082528
push str.Installer::FindPid
mov edx, 8
lea ecx, [ebp - 0x778]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
cmp byte [esi + 0x48], 0
je 0x10082509
mov edx, str.Process32Next_error
mov ecx, esi
call fcn.10020800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x1008251d
push eax
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x778]
call fcn.1000ad70
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10002400
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, bh
test bh, bh
je 0x10082593
mov edi, dword [ebp - 0x6bc]
push str.Installer::FindPid
mov edx, 0x10
lea ecx, [ebp - 0x778]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xb
mov al, byte [esi + 0x48]
test al, al
je 0x10082588
mov edx, str.pid
mov ecx, esi
call fcn.10020800
mov al, byte [esi + 0x48]
test al, al
je 0x10082588
push dword [edi]
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x778]
call fcn.1000ad70
lea ecx, [ebp - 0x68]
call fcn.10002400
lea ecx, [ebp - 0x6b0]
call fcn.1000ac70
mov al, bl
jmp 0x100821e3
lea ecx, [ebp - 0x38]
call fcn.10002400
jmp 0x10082290