Function at 0x100341a0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090ca0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov dword [ebp - 0x260], ebx
mov edi, ecx
mov dword [ebp - 0x264], edi
xor esi, esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], 0xffffffff
mov dword [ebp - 0x254], esi
push 0x228
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.10055aa0
add esp, 0xc
mov byte [edi], 0
mov dword [ebp - 4], esi
mov dword [ebp - 4], 1
call fcn.1003ccd0
test eax, eax
je 0x10034257
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.10033ff0
add esp, 4
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, esi
jmp 0x100344f8
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x258], ebx
cmp ebx, 0xffffffff
jne 0x10034325
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x100342ae
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1003430a
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100342e9
mov byte [esi + 0xffff], 0
push esi
push str.FindProcessOrModule
push 1
mov edx, 0x2fe
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10034301
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x100344f8
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100343b0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10034294
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100342e9
mov byte [esi + 0xffff], 0
push esi
push str.FindProcessOrModule
push 1
mov edx, 0x302
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10034301
cmp byte [ebp + 8], 0
je 0x100343f3
sub esp, 0x22c
mov ecx, 0x8b
lea esi, [ebp - 0x254]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x260]
mov edi, dword [ebp - 0x264]
mov ecx, edi
call fcn.10034520
add esp, 0x22c
mov esi, eax
mov dword [ebp - 0x25c], esi
cmp byte [edi], 0
jne 0x10034423
jmp 0x1003440c
push dword [ebp - 0x260]
lea eax, [ebp - 0x230]
push eax
call fcn.100513c3
add esp, 8
test eax, eax
je 0x10034420
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100343b0
jmp 0x10034423
mov byte [edi], 1
mov dword [ebp - 4], 0
call fcn.10034449
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x100344f8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret