Function at 0x41fd3a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
mov edi, eax
lea ecx, [ebp - 0x34]
push 0x498580
mov dword [ebp - 4], edi
call fcn.0042f5ab
push eax
lea ecx, [ebp - 0x20]
call fcn.0042f5cb
lea ecx, [ebp - 0x34]
call fcn.0042f60f
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
jne 0x41fdd7
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x41fe3a
call edi
push 0
push 0xe8
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [ebp - 0x34]
push 0x49f560
push eax
call fcn.0042fd05
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042f66a
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.0042f60f
jmp 0x41fe3a
push 1
push ebx
push dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
call ebx
test eax, eax
je 0x41fe3a
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x41fe30
call edi
push 0
push 0xf0
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [ebp - 0x34]
push 0x49f560
push eax
call fcn.0042fd05
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042f66a
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.0042f60f
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x41ff21
and dword [ebp - 4], 0
lea eax, [ebp - 4]
and dword [ebp - 8], 0
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push eax
push 0
push 0x2000
call ebx
test eax, eax
jne 0x41fe82
call edi
push eax
push str.SystemParametersInfo_failed_with_error_code__d
push 0
push str.col::webdeployment::_anonymous_namespace::setForegroundWindow__
push 0
call fcn.004043b9
add esp, 0x14
push 2
lea eax, [ebp - 8]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x41feae
call edi
push eax
push str.SystemParametersInfo_failed_with_error_code__d
push 0
push str.col::webdeployment::_anonymous_namespace::setForegroundWindow__
push 0
call fcn.004043b9
add esp, 0x14
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x41fef5
call edi
push 0
push 0x10a
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [ebp - 0x34]
push 0x49f560
push eax
call fcn.0042fd05
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042f66a
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.0042f60f
push 2
lea eax, [ebp - 4]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x41ff21
call edi
push eax
push str.SystemParametersInfo_failed_with_error_code__d
push 0
push str.col::webdeployment::_anonymous_namespace::setForegroundWindow__
push 0
call fcn.004043b9
add esp, 0x14
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x20]
call fcn.0042f60f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret