Function at 0x140043c20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x88
mov rax, qword [0x1401be220]
xor ebp, ebp
movaps xmmword [rsp + 0x60], xmm6
mov rdi, rcx
test rax, rax
je 0x140043c49
mov rcx, qword [rax + 0xa0]
jmp 0x140043c4c
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140043c6d
test rax, rax
je 0x140043c6d
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140043c6d
cmp qword [rcx], rbp
je 0x140043c6d
call fcn.140031950
call fcn.140032320
call fcn.14000ec20
cmp qword [0x1401beed8], rbp
je 0x140043cd2
cmp byte [0x14016f11d], bpl
je 0x140043cd2
cmp dword [0x14016f114], ebp
jne 0x140043cbd
lea rcx, [0x14016f108]
call fcn.140001540
test rax, rax
je 0x140043cbd
lea rcx, [0x14016f108]
call fcn.140001540
mov rdx, rax
lea rcx, [0x14016f108]
call fcn.140001e80
cmp dword [0x14016f114], 1
jne 0x140043cd2
lea rcx, [0x14016f108]
call fcn.140001540
mov qword [rsp + 0x80], rbx
call fcn.1400041e0
cmp qword [0x1401beed8], rbp
je 0x140043e47
mov rcx, rax
call fcn.140004680
mov rdx, qword [0x1401beec8]
test rdx, rdx
je 0x140043e32
mov rcx, qword [0x1401bef40]
lea r8, [rsp + 0xa8]
add rdx, 0x10
mov qword [rsp + 0x20], rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0xa8]
lea r8, [rsp + 0xb0]
mov rcx, qword [0x1401bef40]
mov r9d, 8
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401bef40]
lea rdx, [rbx + 0x188]
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0xa0]
test eax, eax
jle 0x140043e32
mov rbx, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rsi
mov esi, eax
nop dword [rax]
mov rcx, qword [0x1401bef40]
lea r8, [rsp + 0xa8]
mov r9d, 8
mov qword [rsp + 0x20], rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140043e1f
mov rcx, qword [0x1401bef40]
lea r8, [rsp + 0x40]
add rdx, 0x90
mov qword [rsp + 0x20], rbp
mov r9d, listen
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.14005bd80
movsd xmm0, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0xb8]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
call fcn.14005bf40
add rbx, 0x10
sub rsi, 1
jne 0x140043da0
mov rsi, qword [rsp + 0x78]
cmp qword [0x1401beed8], rbp
je 0x140043e47
lea rcx, [0x14016fb50]
call fcn.140008340
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401bec20], eax
jle 0x140043e8a
lea rcx, [0x1401bec20]
call fcn.14011f0a4
cmp dword [0x1401bec20], 0xffffffff
jne 0x140043e8a
lea rcx, [0x1401bec20]
mov dword [0x1401bec18], ebp
call fcn.14011f038
mov eax, dword [0x1401bec18]
test eax, eax
jne 0x140043ea0
mov dword [0x1401bec1c], 2
jmp 0x140043ef3
cmp eax, 1
jne 0x140043eb1
mov dword [0x1401bec1c], 0x12
jmp 0x140043ef3
cmp eax, 2
jne 0x140043ec2
mov dword [0x1401bec1c], 0x11
jmp 0x140043ef3
cmp eax, 3
jne 0x140043ed3
mov dword [0x1401bec1c], 4
jmp 0x140043ef3
cmp eax, 4
jne 0x140043ee4
mov dword [0x1401bec1c], 5
jmp 0x140043ef3
cmp eax, 5
jne 0x140043ef3
mov dword [0x1401bec1c], 6
cmp byte [0x14016f120], bpl
movss xmm6, dword [0x140157604]
je 0x140043fca
mov rax, qword [0x1401be220]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48d0]
mov rcx, qword [rcx]
call fcn.14000e330
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x14016f108]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rdi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0xa0], xmm0
movss xmm0, dword [0x1401575d0]
comiss xmm0, xmm2
movss dword [rsp + 0xa4], xmm1
ja 0x140043fca
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x7ff
movss xmm0, dword [0x140157698]
lea rdx, [rsp + 0xa0]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.140026ae0
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.140025090
mov dword [rbx + 0x78], ebp
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140043fe9
cmp byte [rdi + 0x128], bpl
sete al
mov byte [rdi + 0x128], al
mov rax, qword [0x1401be220]
lea rcx, str.Watermark
xor edx, edx
cmp byte [rdi + 0x128], bpl
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [0x140157730]
lea r8d, [rdx + 0x27]
mov qword [rax + 0x47e4], 0x41200000
mov dword [rax + 0x47ec], ebp
mov dword [rax + 0x47d4], 1
movss dword [rax + 0x47e0], xmm0
je 0x140044063
or dword [rax + 0x47d0], 1
call fcn.140014730
lea rcx, [0x14014f38e]
call fcn.140034f90
call fcn.140016c40
mov rcx, rdi
call fcn.140053d10
mov r8d, 0xa0
jmp 0x140044086
or dword [rax + 0x47d0], 1
call fcn.140014730
lea rcx, [0x14014f38e]
call fcn.140034f90
call fcn.140016c40
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x128]
mov rcx, qword [0x1401be220]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x128]
mov byte [rcx + 0xd9], al
call fcn.140010910
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x60]
test eax, eax
js 0x140044164
call fcn.140010cd0
mov rax, qword [0x1401be220]
mov rcx, qword [rax + 0x48d0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.140031380
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140044239
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140044239
mov rbx, qword [0x1401be220]
test rbx, rbx
je 0x140044203
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x140044203
cmp qword [rbx], rbp
je 0x140044203
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400441ce
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400441e1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140044203
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1401be220]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rbp
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401be220]
test rax, rax
je 0x140044239
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140044239
cmp qword [rax], rbp
je 0x140044239
call fcn.140031950
mov rbx, qword [rsp + 0x80]
add rsp, 0x88
pop rdi
pop rbp
ret