Function at 0x100781b0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10271560
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10314008]
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, ecx
test esi, esi
jne 0x100781e8
xor al, al
jmp 0x1007853e
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 0x100902f0
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
test eax, eax
jne 0x100782d1
cmp dword [0x1031422c], eax
je 0x100782ca
push eax
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x100782ca
cmp dword [eax + 0x58], 2
jb 0x100782ca
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x40]
call fcn.10004710
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x40]
push 0x102b5e28
push eax
call fcn.100fece0
add esp, 0x10
lea eax, [ebp - 0x40]
mov ecx, 0x10314228
push 0x209
push str.RCProcess::KillDesktopWindowsProcesses
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x100782be
lea eax, [ebp - 0x40]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10004610
xor bh, bh
jmp 0x100784d9
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10079480
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x20]
je 0x1007832d
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [esi]
call edi
push ebx
lea eax, [ebp - 0x28]
push eax
push ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.100798b0
add esi, 4
cmp esi, dword [ebp - 0x20]
jne 0x10078304
mov eax, dword [ebp - 0x18]
mov bh, 1
mov esi, dword [eax]
cmp esi, eax
je 0x10078495
nop dword [eax]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x100783a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x100783a0
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100783a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, edi
jne 0x10078373
xor bl, bl
jmp 0x10078391
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x10078391
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1007844f
cmp dword [0x1031422c], 0
jne 0x100783ad
xor ebx, ebx
jmp 0x100783d2
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x100783d2
cmp dword [eax + 0x58], 2
jb 0x100783d2
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x1007844d
lea ecx, [ebp - 0x40]
call fcn.10004710
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x40]
push str.KillProcess
push eax
call fcn.100fece0
add esp, 0x10
lea eax, [ebp - 0x40]
mov ecx, 0x10314228
push 0x220
push str.RCProcess::KillDesktopWindowsProcesses
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebx, 1
jbe 0x10078441
lea eax, [ebp - 0x40]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10004610
xor bh, bh
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10078475
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10078471
cmp esi, dword [eax + 8]
jne 0x10078471
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10078461
mov esi, eax
jmp 0x1007848c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1007848c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10078480
cmp esi, dword [ebp - 0x18]
jne 0x10078340
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x18]
push dword [esi + 4]
call fcn.10079510
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
push 0x14
push eax
mov byte [ebp - 4], 0xb
call fcn.1025b427
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10078535
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10078516
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10078516
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1025b427
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov al, bh
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.1025b3e6
mov esp, ebp
pop ebp
ret