Function at 0x416361
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
mov edi, eax
lea ecx, [esp + 0x30]
push 0x4a4694
mov dword [esp + 0x14], edi
call fcn.004362eb
push eax
lea ecx, [esp + 0x20]
call fcn.0043630b
lea ecx, [esp + 0x2c]
call fcn.0043634f
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
jne 0x416407
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x416470
call edi
push 0
push 0x7c
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83b4
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004363aa
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043634f
jmp 0x416470
push 1
push ebx
push dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
call ebx
test eax, eax
je 0x416470
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x416464
call edi
push 0
push 0x84
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83b4
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004363aa
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043634f
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
call ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x41655f
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
and dword [esp + 0x10], 0
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push eax
push 0
push 0x2000
call ebx
test eax, eax
jne 0x4164bb
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.00404b89
add esp, 0x14
push 2
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x4164e8
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.00404b89
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 0x416532
call edi
push 0
push 0x9e
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83b4
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004363aa
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043634f
push 2
lea eax, [esp + 0x10]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x41655f
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.00404b89
add esp, 0x14
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0043630b
lea ecx, [esp + 0x18]
call fcn.0043634f
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret