Function at 0x140035320
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x3c0
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14003534f
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140035377
movzx eax, byte [0x1401cebfd]
test eax, eax
jne 0x140035364
mov dword [rsp + 0x54], 1
jmp 0x14003536c
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [0x1401cebfd], al
movzx eax, byte [0x1401cebfd]
test eax, eax
jne 0x140035387
jmp 0x140035dc0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.140035dd0
mov rcx, rax
call fcn.140038780
mov r8d, reloc.WLDAP32.dll_Ordinal_32
xor edx, edx
mov rcx, rax
call fcn.140061230
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1a1]
lea rcx, [rsp + 0x31]
call fcn.140035e70
mov rcx, rax
call fcn.140038760
xor edx, edx
mov rcx, rax
call fcn.1400b5ba0
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xaa]
lea rcx, [rsp + 0x32]
call fcn.140035f10
mov rcx, rax
call fcn.140038740
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x140035633
call fcn.1400a16a0
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xbf]
lea rcx, [rsp + 0x33]
call fcn.140035fb0
mov rcx, rax
call fcn.140038720
lea rdx, [0x1401cefbc]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x34]
call fcn.140036040
mov rcx, rax
call fcn.140038700
xor r8d, r8d
lea rdx, [0x1401cefc0]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x13b]
lea rcx, [rsp + 0x35]
call fcn.1400360e0
mov rcx, rax
call fcn.1400386e0
lea rdx, [0x1401ceff2]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x149]
lea rcx, [rsp + 0x36]
call fcn.140036180
mov rcx, rax
call fcn.1400386e0
xor r8d, r8d
lea rdx, [0x1401cefcc]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0x37]
call fcn.1400361b0
mov rcx, rax
call fcn.1400386c0
lea rdx, [0x1401ceff3]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x191]
lea rcx, [rsp + 0x38]
call fcn.140036250
mov rcx, rax
call fcn.1400386a0
xor r8d, r8d
lea rdx, [0x1401cefd8]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x173]
lea rcx, [rsp + 0x39]
call fcn.1400362f0
mov rcx, rax
call fcn.140038680
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d04]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2710
mov r8d, 0x64
lea rdx, [0x1401ceff4]
mov rcx, rax
call fcn.1400a59e0
call fcn.1400b8980
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x3a]
call fcn.140036390
mov rcx, rax
call fcn.140038740
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x1400359e5
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc7]
lea rcx, [rsp + 0x3b]
call fcn.1400363c0
mov rcx, rax
call fcn.140038720
lea rdx, [0x1401ceffc]
mov rcx, rax
call fcn.1400e1c70
call fcn.1400a16a0
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa3]
lea rcx, [rsp + 0x3c]
call fcn.140036390
mov rcx, rax
call fcn.140038740
lea rdx, [0x1401cef70]
mov rcx, rax
call fcn.1400a0a60
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xdf]
lea rcx, [rsp + 0x3d]
call fcn.1400363e0
mov rcx, rax
call fcn.140038660
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd628]
lea rdx, [0x1401cef7c]
mov rcx, rax
call fcn.1400a2f40
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x3e]
call fcn.140036480
mov rcx, rax
call fcn.140038640
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd638]
lea rdx, [0x1401cef80]
mov rcx, rax
call fcn.1400a2f40
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x3f]
call fcn.140036520
mov rcx, rax
call fcn.140038700
lea rdx, [0x1401ceff0]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x157]
lea rcx, [rsp + 0x40]
call fcn.140036550
mov rcx, rax
call fcn.1400386e0
xor r8d, r8d
lea rdx, [0x1401cefe4]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb1]
lea rcx, [rsp + 0x41]
call fcn.140036580
mov rcx, rax
call fcn.140038740
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d08]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197604]
xorps xmm2, xmm2
lea rdx, [0x1401cefb8]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x42]
call fcn.1400365b0
mov rcx, rax
call fcn.140038620
lea rdx, [0x1401cefb4]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x121]
lea rcx, [rsp + 0x43]
call fcn.140036640
mov rcx, rax
call fcn.1400386c0
xor r8d, r8d
lea rdx, [0x1401cefa8]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xf2]
lea rcx, [rsp + 0x44]
call fcn.140036670
mov rcx, rax
call fcn.140038640
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d10]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197728]
movss xmm2, dword [0x1401976ac]
lea rdx, [0x1401cefa4]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xcf]
lea rcx, [rsp + 0x45]
call fcn.1400366a0
mov rcx, rax
call fcn.140038720
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d18]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WS2_32.dll_sendto
xor r8d, r8d
lea rdx, [0x1401cf000]
mov rcx, rax
call fcn.1400a59e0
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x46]
call fcn.1400366c0
mov rcx, rax
call fcn.140038740
lea rdx, [0x1401cef84]
mov rcx, rax
call fcn.1400a0a60
call fcn.1400b8980
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x95]
lea rcx, [rsp + 0x47]
call fcn.1400366f0
mov rcx, rax
call fcn.140038740
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x140035db6
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x12e]
lea rcx, [rsp + 0x48]
call fcn.140036720
mov rcx, rax
call fcn.1400386c0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x64
lea rdx, [0x1401cf770]
mov rcx, rax
call fcn.1400a6770
lea rcx, [0x1401cf200]
call fcn.140006690
mov dword [rsp + 0x60], eax
lea rcx, [0x1401cf200]
call fcn.1400066c0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x182]
lea rcx, [rsp + 0x49]
call fcn.140036750
mov rcx, rax
call fcn.140038680
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rdx, [0x1401ce9d0]
mov rcx, qword [rsp + 0x78]
call fcn.1400a2f40
movss xmm2, dword [0x1401976c4]
movss xmm1, dword [0x1401976f0]
lea rcx, [rsp + 0x68]
call fcn.140002df0
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4a]
call fcn.140036780
mov rcx, rax
call fcn.140038600
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x140035bf2
movsxd rax, dword [0x1401ce9d0]
mov rdx, rax
lea rcx, [0x1401cf200]
call fcn.140006660
mov r8d, 0x9c
lea rdx, [0x1401cef70]
mov rcx, qword [rax]
call fcn.140045300
movzx eax, al
test eax, eax
je 0x140035bba
lea rax, [rsp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x4b]
call fcn.140036820
mov rcx, rax
call fcn.1400385e0
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x140035bf2
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x284]
lea rcx, [rsp + 0x4c]
call fcn.1400368c0
mov rcx, rax
call fcn.1400385c0
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.1400e8760
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
movss xmm2, dword [0x1401976c4]
movss xmm1, dword [0x1401976f0]
lea rcx, [rsp + 0x80]
call fcn.140002df0
lea rax, [rsp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd7]
lea rcx, [rsp + 0x4d]
call fcn.140036960
mov rcx, rax
call fcn.140038720
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x140035db1
lea rax, [0x1401cf770]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x140035c7d
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140035cdc
lea rax, [rsp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x4e]
call fcn.140036980
mov rcx, rax
call fcn.1400385a0
mov edx, Ordinal_50
mov rcx, rax
call fcn.1400e8760
jmp 0x140035db1
lea rax, [rsp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x165]
lea rcx, [rsp + 0x4f]
call fcn.140036a20
mov rcx, rax
call fcn.1400386e0
lea r8, [0x1401cf770]
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140002860
mov r8d, 0x9c
lea rdx, [0x1401cef70]
lea rcx, [rsp + 0x2c0]
call fcn.1400451a0
movzx eax, al
test eax, eax
je 0x140035d79
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x50]
call fcn.140036a50
mov rcx, rax
call fcn.1400385e0
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x140035db1
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1dc]
lea rcx, [rsp + 0x51]
call fcn.140036a80
mov rcx, rax
call fcn.1400385a0
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.1400e8760
call fcn.1400b8980
call fcn.1400b6140
call fcn.140064a40
add rsp, 0x3c0
pop rdi
ret