Function at 0x40b3c0
Capabilities:
Enumerate process modules
Get process image filename
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455972
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x46f068]
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 esi, edx
mov dword [ebp - 0x474], edx
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
mov dword [ebp - 0x47c], ebx
push esi
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x480], esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne byte [ebp - 0x469]
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x484]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x40b6b5
sub eax, 1
jne 0x40b63e
cmp byte [ebp - 0x469], al
je 0x40b5af
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
lea edx, [ecx + 2]
mov word [ebp - 0x438], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b481
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004013d0
mov dword [ebp - 4], 0
or ebx, 1
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x470], esi
push 0x2000
mov ebx, dword [eax + 0xa4]
sub ebx, 5
neg ebx
sbb ebx, ebx
and ebx, 0xc00
add ebx, 0x400
or ebx, 0x100000
call fcn.00435133
add esp, 4
mov dword [ebp - 0x478], eax
test eax, eax
je 0x40b5a7
lea ecx, [ebp - 0x470]
push ecx
push 0x2000
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x40b599
xor edi, edi
test dword [ebp - 0x470], 0xfffffffc
jbe 0x40b593
mov eax, dword [ebp - 0x478]
push dword [eax + edi*4]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b585
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x40b57c
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
jb 0x40b568
mov eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0043c960
add esp, 8
test eax, eax
je 0x40b593
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x470]
inc edi
shr eax, 2
cmp edi, eax
jb 0x40b524
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x478]
call fcn.0043512e
add esp, 4
mov ebx, dword [ebp - 0x47c]
jmp 0x40b5b1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40b61d
mov edx, dword [ebp - 0x424]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x40b600
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b738
push edx
push ecx
call fcn.00434e86
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
test esi, esi
je 0x40b713
push dword [ebp - 0x474]
call edi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x474], esi
jmp 0x40b430
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x450]
push str._EAC_Service___Error__WaitForMultipleObjects_failed_with__i.
push eax
call fcn.004120c0
add esp, 0xc
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 0x10
jb 0x40b66e
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x40b719
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b738
push edx
push ecx
call fcn.00434e86
add esp, 8
jmp 0x40b719
lea eax, [ebp - 0x468]
push str._EAC_Service___Warning__Requested_to_be_stopped.
push eax
call fcn.004120c0
add esp, 8
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 0x10
jb 0x40b6de
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x40b719
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b73d
jmp 0x40b6a9
mov esi, dword [ebp - 0x474]
push esi
call edi
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.00434e45
mov esp, ebp
pop ebp
ret
call fcn.00439dba
call fcn.00439dba
int3