Function at 0x5044c3
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x500
mov eax, 0x6382e5
call fcn.0058c0ed
mov esi, ecx
mov ecx, dword [esi + 0x334]
call fcn.0040c737
xor ebx, ebx
test al, al
jne 0x5044f7
mov eax, dword [esi + 0x334]
cmp byte [eax + 0x110], bl
je 0x504801
push esi
lea ecx, [ebp - 0x50c]
call fcn.004c91f4
mov eax, dword [esi + 0x334]
mov byte [ebp - 0x174], bl
mov eax, dword [eax + 0xf74]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x504546
mov ecx, dword [esi + 0x334]
lea eax, [ebp - 0x14]
push eax
add ecx, 0xf70
call fcn.00408c8a
push dword [eax]
lea ecx, [ebp - 0x19c]
call fcn.00565459
cmp dword [ebp - 0x14], ebx
jne 0x50451f
mov ecx, dword [esi + 0x334]
mov eax, dword [ecx + 0xfc4]
mov dword [ebp - 0x180], eax
call fcn.0040c737
mov byte [ebp - 0x17c], al
mov eax, dword [esi + 0x334]
mov eax, dword [eax + 0x144]
lea ecx, [ebp - 0x50c]
mov dword [ebp - 0x178], eax
call fcn.00566c09
cmp eax, 1
jne 0x5047f2
mov ecx, dword [esi + 0x334]
mov eax, dword [ebp - 0x178]
cmp dword [ecx + 0x144], eax
je 0x5045bb
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.manage.sortorder.attached.code
call fcn.00402035
mov ecx, dword [esi + 0x334]
call fcn.00422db6
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
test ax, ax
setl al
push 0x11
mov byte [ebp - 0x20], al
call edi
mov edi, dword [ebp - 0x198]
test ax, ax
setl al
xor edx, edx
mov byte [ebp - 0x28], al
mov eax, edi
cmp edi, ebx
je 0x5045fe
mov ecx, eax
cmp eax, ebx
je 0x50462d
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
cmp byte [ecx + 0x14], bl
je 0x5045fa
inc edx
cmp eax, ebx
jne 0x5045e9
cmp edx, 1
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
jle 0x504756
push esi
lea ecx, [ebp - 0x170]
call fcn.004cccd6
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x504743
jmp 0x504635
call fcn.0054d916
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x50462d
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x14], bl
je 0x5046e0
mov ecx, esi
call fcn.004f0619
mov eax, dword [esi + 0x2b8]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x5046e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x2b0]
call fcn.00408cbc
mov edi, dword [eax]
mov ecx, dword [esi + 0x334]
push ebx
push edi
add ecx, 0x14c4
call fcn.00565371
test eax, eax
je 0x5046db
push dword [ebp - 0x180]
mov ecx, edi
push ebx
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00503e9d
cmp eax, ebx
jne 0x5046aa
mov byte [ebp - 0xd], 1
sub eax, ebx
je 0x5046bc
dec eax
je 0x5046b8
dec eax
jne 0x5046d7
push 0x64
jmp 0x5046be
push 0x4c
jmp 0x5046be
push 0x4e
push ecx
mov dword [ebp - 0x24], esp
mov ecx, esp
push dword [ebp - 0x14]
call fcn.00402e5b
lea ecx, [ebp - 0x170]
call fcn.004ccf5f
mov byte [ebp - 0xe], 1
cmp dword [ebp - 0x1c], ebx
jne 0x504661
cmp dword [ebp - 0x18], ebx
jne 0x504632
cmp byte [ebp - 0xe], bl
je 0x504743
push dword [esi + 0x360]
lea ecx, [ebp - 0x170]
call fcn.004ccd40
lea ecx, [ebp - 0x170]
call fcn.00566c09
mov edi, dword [esi + 0x334]
cmp byte [edi + 0xfd4], bl
je 0x504743
cmp byte [ebp - 0xd], bl
jne 0x504743
push ecx
mov dword [ebp - 0x24], esp
mov ecx, esp
push str.network
call fcn.00402035
mov ecx, esi
call fcn.00502f5b
mov ecx, dword [edi + 0xbac]
push 0xffffffffffffffff
push 0x21
call fcn.004be817
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], bl
call fcn.004ccec1
jmp 0x5047f2
jne 0x5047f2
mov eax, edi
cmp edi, ebx
je 0x5047f2
jmp 0x50476b
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x50462d
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x14], bl
je 0x5047e9
mov ecx, esi
call fcn.004f0619
mov eax, dword [esi + 0x2b8]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x5047e9
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x2b0]
call fcn.00408cbc
mov edi, dword [eax]
mov ecx, dword [esi + 0x334]
push ebx
push edi
add ecx, 0x14c4
call fcn.00565371
test eax, eax
je 0x5047e4
push dword [ebp - 0x180]
mov eax, dword [esi + 0x334]
movzx eax, byte [eax + 0xfd4]
push eax
push ebx
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00503e9d
cmp dword [ebp - 0x18], ebx
jne 0x504797
cmp dword [ebp - 0x1c], ebx
jne 0x504768
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50c]
call fcn.004a3fc4
call fcn.0058c1c5
ret