Function at 0x140039df0
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 0x140039e1f
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140039e47
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x140039e34
mov dword [rsp + 0x54], 1
jmp 0x140039e3c
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [reloc.WS2_32.dll_accept], al
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x140039e57
jmp 0x14003a86e
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x252]
lea rcx, [rsp + 0x30]
call fcn.14003a880
mov rcx, rax
call fcn.14003cdd0
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 + 0x1a3]
lea rcx, [rsp + 0x31]
call fcn.14003a920
mov rcx, rax
call fcn.14003cdb0
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.14003a9c0
mov rcx, rax
call fcn.14003cd90
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x14003a13d
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.14003aa60
mov rcx, rax
call fcn.14003ce10
lea rdx, [0x1401cf08c]
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 + 0xfd]
lea rcx, [rsp + 0x34]
call fcn.14003aa80
mov rcx, rax
call fcn.14003cd70
xor r8d, r8d
lea rdx, [0x1401cf090]
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 + 0x12f]
lea rcx, [rsp + 0x35]
call fcn.14003ab20
mov rcx, rax
call fcn.14003cd50
lea rdx, [0x1401cf0c2]
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 + 0x13d]
lea rcx, [rsp + 0x36]
call fcn.14003abc0
mov rcx, rax
call fcn.14003cd50
xor r8d, r8d
lea rdx, [0x1401cf09c]
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 + 0xd7]
lea rcx, [rsp + 0x37]
call fcn.14003abf0
mov rcx, rax
call fcn.14003cd30
lea rdx, [0x1401cf0c1]
mov rcx, rax
call fcn.1400a0a60
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x115]
lea rcx, [rsp + 0x38]
call fcn.14003ac90
mov rcx, rax
call fcn.14003cd10
lea rdx, [0x1401cf0c3]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x193]
lea rcx, [rsp + 0x39]
call fcn.14003ad30
mov rcx, rax
call fcn.14003ccf0
xor r8d, r8d
lea rdx, [0x1401cf0a8]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x175]
lea rcx, [rsp + 0x3a]
call fcn.14003add0
mov rcx, rax
call fcn.14003ccd0
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d5c]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2710
mov r8d, 0x64
lea rdx, [0x1401cf0c4]
mov rcx, rax
call fcn.1400a59e0
call fcn.1400b8980
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x3b]
call fcn.14003ae70
mov rcx, rax
call fcn.14003cd90
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x14003a493
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc7]
lea rcx, [rsp + 0x3c]
call fcn.14003aea0
mov rcx, rax
call fcn.14003ce10
lea rdx, [0x1401cf0cc]
mov rcx, rax
call fcn.1400e1c70
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa3]
lea rcx, [rsp + 0x3d]
call fcn.14003ae70
mov rcx, rax
call fcn.14003cd90
lea rdx, [0x1401cf040]
mov rcx, rax
call fcn.1400a0a60
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x3e]
call fcn.14003aec0
mov rcx, rax
call fcn.14003cd30
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd648]
lea rdx, [0x1401cf04c]
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 + 0xe9]
lea rcx, [rsp + 0x3f]
call fcn.14003aef0
mov rcx, rax
call fcn.14003ce30
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
lea r8, [0x1401cd658]
lea rdx, [0x1401cf050]
mov rcx, rax
call fcn.1400a2f40
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb1]
lea rcx, [rsp + 0x40]
call fcn.14003af20
mov rcx, rax
call fcn.14003cd90
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d60]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197604]
xorps xmm2, xmm2
lea rdx, [0x1401cf088]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x41]
call fcn.14003af50
mov rcx, rax
call fcn.14003ccb0
lea rdx, [0x1401cf084]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x14b]
lea rcx, [rsp + 0x42]
call fcn.14003afe0
mov rcx, rax
call fcn.14003cd50
xor r8d, r8d
lea rdx, [0x1401cf078]
mov rcx, rax
call fcn.1400aeef0
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xf3]
lea rcx, [rsp + 0x43]
call fcn.14003b010
mov rcx, rax
call fcn.14003ce30
mov dword [rsp + 0x28], 0
lea rcx, [0x140167d68]
mov qword [rsp + 0x20], rcx
movss xmm3, dword [0x140197728]
movss xmm2, dword [0x1401976ac]
lea rdx, [0x1401cf074]
mov rcx, rax
call fcn.1400a5980
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x109]
lea rcx, [rsp + 0x44]
call fcn.14003b040
mov rcx, rax
call fcn.14003cd70
lea rdx, [0x1401cf0c0]
mov rcx, rax
call fcn.1400a0a60
movss xmm1, dword [0x14019778c]
xorps xmm0, xmm0
call fcn.14006be70
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x159]
lea rcx, [rsp + 0x45]
call fcn.14003b070
mov rcx, rax
call fcn.14003cd50
xor r8d, r8d
lea rdx, [0x1401cf0b4]
mov rcx, rax
call fcn.1400aeef0
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.14003b0a0
mov rcx, rax
call fcn.14003cd90
lea rdx, [0x1401cf054]
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.14003b0d0
mov rcx, rax
call fcn.14003cd90
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400b88a0
movzx eax, al
test eax, eax
je 0x14003a864
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x122]
lea rcx, [rsp + 0x48]
call fcn.14003b100
mov rcx, rax
call fcn.14003cd10
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x64
lea rdx, [0x1401cf7e0]
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 + 0x184]
lea rcx, [rsp + 0x49]
call fcn.14003b130
mov rcx, rax
call fcn.14003ccd0
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.14003b160
mov rcx, rax
call fcn.14003cdf0
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x14003a6a0
movsxd rax, dword [0x1401ce9d0]
mov rdx, rax
lea rcx, [0x1401cf200]
call fcn.140006660
mov r8d, 0x9c
lea rdx, [0x1401cf040]
mov rcx, qword [rax]
call fcn.140045300
movzx eax, al
test eax, eax
je 0x14003a668
lea rax, [rsp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x202]
lea rcx, [rsp + 0x4b]
call fcn.14003b190
mov rcx, rax
call fcn.14003cc90
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x14003a6a0
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x286]
lea rcx, [rsp + 0x4c]
call fcn.14003b230
mov rcx, rax
call fcn.14003cc70
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 + 0xcf]
lea rcx, [rsp + 0x4d]
call fcn.14003b2d0
mov rcx, rax
call fcn.14003ce10
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14009f260
movzx eax, al
test eax, eax
je 0x14003a85f
lea rax, [0x1401cf7e0]
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 0x14003a72b
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003a78a
lea rax, [rsp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1ba]
lea rcx, [rsp + 0x4e]
call fcn.14003b2f0
mov rcx, rax
call fcn.14003cc50
mov edx, Ordinal_50
mov rcx, rax
call fcn.1400e8760
jmp 0x14003a85f
lea rax, [rsp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x167]
lea rcx, [rsp + 0x4f]
call fcn.14003b390
mov rcx, rax
call fcn.14003cd50
lea r8, [0x1401cf7e0]
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140002860
mov r8d, 0x9c
lea rdx, [0x1401cf040]
lea rcx, [rsp + 0x2c0]
call fcn.1400451a0
movzx eax, al
test eax, eax
je 0x14003a827
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x22a]
lea rcx, [rsp + 0x50]
call fcn.14003b3c0
mov rcx, rax
call fcn.14003cc90
mov edx, 0x40
mov rcx, rax
call fcn.1400e8760
jmp 0x14003a85f
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1de]
lea rcx, [rsp + 0x51]
call fcn.14003b3f0
mov rcx, rax
call fcn.14003cc50
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