Function at 0x10011c2e
Capabilities:
Enumerate processes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0xa30]
sub esp, 0xab0
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0xa2c], eax
mov eax, dword [ebp + 0xa38]
push esi
xor esi, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xa3c]
push esi
push 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x10011e5c
push 0x228
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x2c], 0x22c
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10011e5c
push ebx
push edi
mov edi, dword [sym.imp.MSVCR90.dll_wcslen]
mov ebx, 0x208
mov esi, 0x104
push dword [ebp - 0x24]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10011e3d
xor eax, eax
push ebx
push eax
mov word [ebp + 0x40c], ax
lea eax, [ebp + 0x40e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
lea eax, [ebp + 0x40c]
push eax
push 0
push dword [ebp - 0x40]
call sub.PSAPI.DLL_GetModuleFileNameExW
xor eax, eax
push ebx
push eax
mov word [ebp + 0x618], ax
lea eax, [ebp + 0x61a]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
lea eax, [ebp + 0x618]
push eax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x618]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x34], eax
xor eax, eax
push ebx
push eax
mov word [ebp + 0x200], ax
lea eax, [ebp + 0x202]
push eax
call sub.MSVCR90.dll_memset
push dword [ebp - 0x34]
call edi
add esp, 0x10
cmp eax, esi
jae 0x10011d65
push dword [ebp - 0x34]
call edi
pop ecx
jmp 0x10011d67
mov eax, esi
push eax
push dword [ebp - 0x34]
lea eax, [ebp + 0x200]
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
push dword [ebp - 0x48]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x34], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x824], ax
lea eax, [ebp + 0x826]
push eax
call sub.MSVCR90.dll_memset
push dword [ebp - 0x34]
call edi
add esp, 0x10
cmp eax, esi
jae 0x10011db6
push dword [ebp - 0x34]
call edi
pop ecx
jmp 0x10011db8
mov eax, esi
push eax
push dword [ebp - 0x34]
lea eax, [ebp + 0x824]
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
lea eax, [ebp + 0x824]
push eax
call dword [sym.imp.MSVCR90.dll__wcsupr]
add esp, 0x10
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
lea eax, [ebp + 0x824]
push eax
call dword [sym.imp.MSVCR90.dll__wcsupr]
pop ecx
push eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x2d], al
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [ebp - 0x2d], 0
je 0x10011e3d
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call fcn.10011966
pop ecx
pop ecx
test al, al
je 0x10011e3d
push dword [ebp - 0x24]
call fcn.1000e5bd
inc dword [ebp - 0x38]
pop ecx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10011cb4
pop edi
pop ebx
mov esi, str.KillAllProcessWithModule
push esi
call fcn.10005425
pop ecx
test eax, eax
jne 0x10011e94
push 1
push dword [ebp - 0x38]
push str.KillAllProcessWithModule_returns:
push eax
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.1000bba2
mov ecx, eax
call fcn.1000152a
mov ecx, eax
call fcn.1000a33f
mov ecx, dword [ebp + 0xa2c]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
pop esi
call fcn.10018dd2
add ebp, 0xa30
leave
ret