Function at 0x41e590
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49537f
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.0045a420
mov eax, dword [0x4c206c]
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
mov dword [ebp - 4], 0
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x41e5dc
xor esi, esi
jmp 0x41e941
push 0x400
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00471be0
add esp, 0xc
mov dword [ebp - 0x1134], 0
xor eax, eax
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x1134]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x41e83c
call fcn.0041d700
mov ecx, eax
test ecx, ecx
je 0x41e97b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1138], esi
mov byte [ebp - 4], 1
xor ebx, ebx
mov eax, dword [ebp - 0x1134]
shr eax, 2
mov dword [ebp - 0x1144], eax
test eax, eax
je 0x41e715
nop
push dword [ebp + ebx*4 - 0x1010]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41e73c
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, 0x400
or ecx, edx
jge 0x41e6a9
push 0x400
lea ecx, [ebp - 0x1138]
call fcn.0041db00
mov esi, dword [ebp - 0x1138]
push 0x400
push esi
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi - 8]
push esi
call fcn.00479dc7
add esp, 8
test eax, eax
js 0x41e985
cmp eax, dword [esi - 8]
jg 0x41e985
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x41e82a
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e97b
push eax
push esi
call fcn.0047a61e
add esp, 8
test eax, eax
jne 0x41e82a
mov dword [ebp - 0x113c], 1
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e938
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41e938
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
push str.trivial
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1140], eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1028]
push 0x1da
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::IsPathFileRunning_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 8
push ecx
push eax
lea ecx, [ebp - 0x1130]
call fcn.0041bed0
mov edi, eax
mov byte [ebp - 4], 3
mov al, byte [edi + 0xf8]
test al, al
je 0x41e7e1
mov eax, dword [edi + 0x28]
mov edx, str.OpenProcess_fail__last_error:
mov eax, dword [eax + 0x54]
lea ecx, [eax + 0x10]
call fcn.0041d1c0
mov al, byte [edi + 0xf8]
test al, al
je 0x41e7e1
mov eax, dword [edi + 0x28]
push dword [ebp - 0x1140]
mov ecx, dword [eax + 0x54]
add ecx, 0x10
call fcn.00411910
lea ecx, [ebp - 0x1130]
call fcn.00412bf0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x41e82a
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e820
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e98f
push edx
push ecx
call fcn.00459719
add esp, 8
inc ebx
cmp ebx, dword [ebp - 0x1144]
jb 0x41e660
jmp 0x41e715
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
push str.trivial
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], 0
mov edi, eax
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1028]
push 0x1e1
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::IsPathFileRunning_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 8
push ecx
push eax
lea ecx, [ebp - 0x1130]
call fcn.0041bed0
mov esi, eax
mov byte [ebp - 4], 5
mov al, byte [esi + 0xf8]
test al, al
je 0x41e8d8
mov eax, dword [esi + 0x28]
mov edx, str.EnumProcesses_fail__last_error:
mov eax, dword [eax + 0x54]
lea ecx, [eax + 0x10]
call fcn.0041d1c0
mov al, byte [esi + 0xf8]
test al, al
je 0x41e8d8
mov eax, dword [esi + 0x28]
push edi
mov ecx, dword [eax + 0x54]
add ecx, 0x10
call fcn.00411910
lea ecx, [ebp - 0x1130]
call fcn.00412bf0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x41e91d
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e913
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e98f
push edx
push ecx
call fcn.00459719
add esp, 8
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x113c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41e95d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.004591b7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041dc00
push 0x80070057
call fcn.0041dc00
call fcn.00474c79
int3