Function at 0x416473
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 0x4a46ac
mov dword [esp + 0x14], edi
call fcn.004363fb
push eax
lea ecx, [esp + 0x20]
call fcn.0043641b
lea ecx, [esp + 0x2c]
call fcn.0043645f
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
jne 0x416519
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x416582
call edi
push 0
push 0x7c
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83bc
push eax
call fcn.00436b55
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004364ba
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043645f
jmp 0x416582
push 1
push ebx
push dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
call ebx
test eax, eax
je 0x416582
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x416576
call edi
push 0
push 0x84
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83bc
push eax
call fcn.00436b55
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004364ba
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043645f
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
call ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x416671
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 0x4165cd
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.00404c99
add esp, 0x14
push 2
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x4165fa
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.00404c99
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 0x416644
call edi
push 0
push 0x9e
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
push eax
lea eax, [esp + 0x3c]
push 0x4a83bc
push eax
call fcn.00436b55
add esp, 0xc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004364ba
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043645f
push 2
lea eax, [esp + 0x10]
push eax
push 0
push 0x2001
call ebx
test eax, eax
jne 0x416671
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.00404c99
add esp, 0x14
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0043641b
lea ecx, [esp + 0x18]
call fcn.0043645f
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret