Function at 0x42d840
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52edb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x40], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], 0
mov eax, dword [edi + 0xbc]
push 1
push eax
mov ecx, esi
call fcn.00511140
push 0x7531
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, eax
test eax, eax
jne 0x42d8bb
mov ecx, 0x538640
mov eax, dword [esi + 4]
test eax, eax
je 0x42d8e9
test ecx, ecx
je 0x42d8e9
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x42d8f5
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x42d8f5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x8106
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42d928
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x50]
test ebx, ebx
je 0x42d965
push 0x3ed
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42d951
push 0x3ed
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x42d975
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x42d975
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x42d981
mov ecx, 0x538640
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x42d9ae
test ecx, ecx
je 0x42d9ae
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x42d9ba
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x42d9ba
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8107
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42d9ed
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x74]
test ebx, ebx
je 0x42da2a
push 0x3ee
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42da16
push 0x3ee
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x42da3a
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x42da3a
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x42da46
mov ecx, 0x538640
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x42da79
test ecx, ecx
je 0x42da79
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x42da85
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x42da85
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x9c41
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42dab8
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x42daf8
push 0x1784
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42dae4
push 0x1784
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x42db08
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x42db08
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x42db14
mov ecx, 0x538640
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x42db44
test ecx, ecx
je 0x42db44
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x42db50
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
jmp 0x42db50
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
test ebx, ebx
je 0x42db95
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
je 0x42db95
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov edi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42dbac
push eax
call fcn.005134a7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc