Function at 0x4102d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ca25
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x601328]
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 esi, edx
mov edi, 3
cmp dword [esi], edi
mov ebx, ecx
jle 0x41031f
mov edi, edi
mov eax, dword [ebx + edi*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi]
jl 0x410310
xor edi, edi
push edi
push 2
mov dword [esi], 3
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
jne 0x4105e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x605dc4], 1
mov ebx, eax
lea esi, [edi + 7]
jne 0x41038d
or dword [0x605dc4], 1
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x41043a
lea edx, [ebp - 0x2f4]
push edx
call fcn.00409b60
push ebx
push 0x5967ac
lea eax, [ebp - 0x2ec]
push str.CChromeSAPGuard::UpdateEventsArray_____return._CreateToolhelp32Snapshot_failed._Last_Error_Code
push eax
mov dword [ebp - 4], edi
call fcn.00407390
add esp, 8
push eax
call fcn.00407390
add esp, 8
push eax
call fcn.004113b0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2f4]
call fcn.00407170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00406a80
cmp dword [ebp - 0x18], 8
jb 0x4103fe
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x41093a
lea ecx, [ebp - 0x2ec]
push ecx
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
test byte [0x605dc4], 1
jne 0x410495
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp - 0x30]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], edi
jb 0x4104b5
mov esi, dword [eax + 4]
jmp 0x4104b8
lea esi, [eax + 4]
lea eax, [ebp - 0x2ec]
push 0x5950f8
push eax
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.CChromeSAPGuard::UpdateEventsArray_____return._CreateToolhelp32Snapshot_failed._Last_Error_Code
push eax
call fcn.00407390
add esp, 8
push 0x5967ac
push eax
call fcn.00407390
add esp, 8
push ebx
push eax
call fcn.004113b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x41051c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00546771
add esp, 4
lea edx, [ebp - 0x264]
push edx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x410581
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2ec]
call fcn.00406700
push 0x2a2
push str..ChromeSAPGuard.cpp
push eax
push 0x2710
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp - 0x18], edi
jb 0x410581
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 2
call fcn.00406750
lea ecx, [ebp - 0x2a0]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x41093a
push 0x228
lea edx, [ebp - 0x258]
push edi
push edx
call fcn.0054ff70
mov ecx, dword [ebp - 0x260]
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push ecx
mov dword [ebp - 0x25c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4108e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x605dc4], 1
mov ebx, eax
mov esi, 7
jne 0x41066f
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
pop ebp
pushal
add dh, al
add eax, 0x605d8c
add byte [ecx + 0x605da835], cl
add byte [ecx + 0x605da43d], cl
add byte [esi - 0x77], ah
adc eax, 0x605d94
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x410727
lea eax, [ebp - 0x2f4]
push eax
call fcn.00409b60
push ebx
push 0x5967ac
lea ecx, [ebp - 0x2ec]
push str.CChromeSAPGuard::UpdateEventsArray_____return._Process32First_failed._Last_Error_Code
push ecx
mov dword [ebp - 4], 9
call fcn.00407390
add esp, 8
push eax
call fcn.00407390
add esp, 8
push eax
call fcn.004113b0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2f4]
call fcn.00407170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00406a80
cmp dword [ebp - 0x18], 8
jb 0x4106e4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00546771
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea ecx, [ebp - 0x2a0]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov eax, dword [ebp - 0x260]
push eax
jmp 0x410934
lea edx, [ebp - 0x2ec]
push edx
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
test byte [0x605dc4], 1
jne 0x410781
or dword [0x605dc4], 1
xor eax, eax
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp - 0x30]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], edi
jb 0x4107a1
mov esi, dword [eax + 4]
jmp 0x4107a4
lea esi, [eax + 4]
lea ecx, [ebp - 0x2ec]
push 0x5950f8
push ecx
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.CChromeSAPGuard::UpdateEventsArray_____return._Process32First_failed._Last_Error_Code
push eax
call fcn.00407390
add esp, 8
push 0x5967ac
push eax
call fcn.00407390
add esp, 8
push ebx
push eax
call fcn.004113b0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], edi
jb 0x410808
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00546771
add esp, 4
lea eax, [ebp - 0x26c]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x41086d
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2ec]
call fcn.00406700
push 0x2ae
push str..ChromeSAPGuard.cpp
push eax
push 0x2710
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp - 0x18], edi
jb 0x41086d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00546771
add esp, 4
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xb
call fcn.00406750
lea edx, [ebp - 0x2a0]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0054517b
mov eax, dword [ebp - 0x260]
add esp, 4
push eax
jmp 0x410934
lea ecx, [ebp - 0x238]
push str.chrome.exe
push ecx
call fcn.00547c6e
add esp, 8
test eax, eax
jne 0x410916
mov edx, dword [ebp - 0x254]
push edx
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x410916
mov ecx, dword [esi]
mov dword [ebx + ecx*4], eax
inc dword [esi]
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x25c]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4108e0
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0054677c
mov esp, ebp
pop ebp
ret