Function at 0x453ec0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
push dword [ebp + 0x24]
mov ebx, ecx
push dword [ebp + 0x20]
mov dword [esp + 0x18], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.004633d0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4540e5
mov edi, dword [ebp + 0x10]
xor dl, dl
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov byte [esp + 0xe], dl
movzx eax, word [edi]
mov byte [esp + 0xf], 1
mov dword [esp + 0x30], closesocket
mov dword [esp + 0x34], closesocket
test ax, ax
je 0x454015
mov ecx, eax
nop word [eax + eax]
movzx esi, cx
test esi, 0xffffff80
jne 0x453f4e
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x453f4e
and esi, 0xffffffdf
add esi, 0xffffffbc
cmp esi, 0x15
ja case.0x453f61.69
movzx eax, byte [esi + 0x454584]
jmp dword [eax*4 + 0x454568]
mov dword [esp + 0x14], 0
jmp case.0x453f61.69
mov dword [esp + 0x14], 1
jmp case.0x453f61.69
movzx esi, word [edi + 2]
lea eax, [edi + 2]
mov dword [esp + 0x28], eax
test esi, 0xffffff80
jne 0x453fa5
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x453fa5
and esi, 0xffffffdf
mov dl, byte [esp + 0xe]
cmp si, 0x41
jne 0x453fff
mov edi, dword [esp + 0x28]
mov byte [esp + 0xf], 0
jmp 0x453fff
push 3
push 0x4e66e8
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne case.0x453f61.69
mov dl, 1
add edi, 4
mov byte [esp + 0xe], dl
jmp 0x453fff
lea eax, [edi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x34], eax
jmp 0x453ff8
lea eax, [edi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x38], eax
add esp, 4
mov dl, byte [esp + 0xe]
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x453f30
test dl, dl
jne 0x45402e
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.004b69b0
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4541b8
push 0x2c
lea eax, [esp + 0x60]
mov dword [esp + 0x5c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x80], 1
nop
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45405d
cmp eax, 9
jne 0x454062
add ebx, 2
jmp 0x454050
mov esi, eax
test esi, 0xffffff80
jne 0x45407f
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x45407f
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x4542c2.3
cmp word [ebx + 2], 0
lea edi, [ebx + 2]
je case.0x4542c2.3
mov ecx, edi
call fcn.00419ea0
mov dword [esp + 0x58], eax
movzx eax, word [edi]
test ax, ax
je case.0x4542c2.3
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x4e5614
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x454116
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4540c0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4540b0
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4f8174]
test byte [eax + 0x100], 1
jne 0x45454a
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e513c
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea esi, [edi + 2]
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45412d
cmp eax, 9
jne 0x454132
add esi, 2
jmp 0x454120
test ax, ax
je case.0x4542c2.3
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
add esp, 4
cmp ax, 0x59
jne case.0x4542c2.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x4542c2.3
call fcn.00419ea0
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
push esi
call ebx
mov eax, dword [esp + 0x48]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push 0x45b6a0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x70]
test eax, eax
mov ecx, dword [esp + 0x5c]
cmovne esi, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x4541be
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x45452b
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
je 0x4541e1
mov eax, dword [esp + 0x34]
cmp eax, 0x80000000
jne 0x45422c
lea eax, [esp + 0x38]
push eax
push esi
call ebx
test eax, eax
je case.0x4542c2.3
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
jne 0x454210
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x34]
cmp eax, 0x80000000
jne 0x45422c
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
movzx edx, ax
shl edx, 0x10
movzx eax, cx
or edx, eax
mov dword [esp + 0x20], 0
mov al, byte [ebp + 8]
mov dword [esp + 0x24], edx
cmp al, 0x9f
je 0x454252
cmp al, 0x9e
je 0x454252
xor bh, bh
jmp 0x454254
mov bh, 1
cmp al, 0x9c
je 0x454260
cmp al, 0x9d
je 0x454260
xor bl, bl
jmp 0x454262
mov bl, 1
test bh, bh
je 0x45428d
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x28]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20a
shl esi, 0x10
jmp 0x45432e
test bl, bl
je 0x4542b5
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x28]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20e
shl esi, 0x10
jmp 0x45432e
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4542c2.3
jmp dword [eax*4 + 0x45459c]
mov edi, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x45432e
mov edi, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x45432e
mov edi, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x45432e
mov dword [esp + 0x20], 0x10000
mov esi, 0x10020
jmp 0x454321
mov dword [esp + 0x20], 0x20000
mov esi, 0x20040
mov dword [esp + 0x10], 0x20c
mov edi, 0x20b
cmp byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
je 0x4543f3
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4543e3
cmp eax, dword [0x4fcbf0]
je 0x4543e3
mov ecx, dword [0x4ff18c]
test cl, 1
jne 0x454394
push str.IsHungAppWindow
or ecx, 1
push str.user32
mov dword [0x4ff18c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ff190], eax
jmp 0x454399
mov eax, dword [0x4ff190]
test eax, eax
je 0x4543a5
push dword [esp + 0x18]
call eax
jmp 0x4543c6
lea eax, [esp + 0x2c]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x4543e3
push 1
push dword [esp + 0x2c]
push dword [0x4fcbf0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xe]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x24]
jmp 0x4543fb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
test bh, bh
jne 0x4544c9
test bl, bl
jne 0x4544c9
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x454467
push edx
push esi
push edi
push dword [esp + 0x28]
call ebx
mov eax, dword [0x4f8174]
cmp dword [eax + 0x58], 0xffffffff
jle 0x45445f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x45444c
mov eax, dword [0x4f8174]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45445f
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004018d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4544b9
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x28]
call ebx
mov eax, dword [0x4f8174]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4544b5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x4544a2
mov eax, dword [0x4f8174]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4544b5
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004018d0
mov eax, dword [esp + 0x14]
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x24]
jne 0x454415
jmp 0x454512
push edx
push esi
push edi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4f8174]
cmp dword [eax + 0x58], 0xffffffff
jle 0x454512
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x4544ff
mov eax, dword [0x4f8174]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454512
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004018d0
cmp byte [esp + 0xe], 0
je 0x45452b
push 0
push dword [esp + 0x2c]
push dword [0x4fcbf0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4cec30
push 0
push 0x4e513c
mov ecx, ebx
call fcn.0044d640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20