Function at 0x140102100
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x238
cmp qword [0x1401d7160], 0
je 0x140102908
cmp qword [0x1401d7190], 0
je 0x140102908
mov edx, 0x100
mov rcx, qword [0x1401d7190]
call fcn.1400ffea0
movzx eax, al
test eax, eax
je 0x140102908
mov rcx, qword [0x1401d7190]
call fcn.140101820
test eax, eax
jne 0x140102908
mov rcx, qword [0x1401d7190]
call fcn.1401029e0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140102174
jmp 0x140102908
mov rcx, qword [0x1401d7190]
call fcn.1400f7220
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140102192
jmp 0x140102908
movzx eax, byte [0x1401d49f3]
test eax, eax
je 0x1401023eb
mov edx, 4
mov rcx, qword [0x1401d7190]
call fcn.1400e84b0
mov rax, qword [0x1401d7040]
mov rax, qword [rax + 0x18]
add rax, 0x3430728
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
add rax, 0xb8
mov qword [rsp + 0x80], rax
mov rax, qword [0x1401d7040]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x50], eax
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x50]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
add rax, 0x10
mov qword [rsp + 0x88], rax
mov rax, qword [0x1401d7040]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x54]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x34], 0
jmp 0x14010225e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x1f4
jge 0x1401023eb
mov eax, dword [rsp + 0x34]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 0x20]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1401022aa
jmp 0x140102254
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1401022de
jmp 0x140102254
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68]
add rax, 0x14
mov qword [rsp + 0x20], Ordinal_79
lea r9, [rsp + 0x1c0]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1401047c0
lea rax, [rsp + 0x140]
lea rcx, [0x1401b4408]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x198]
lea rcx, str.debugcamera
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_26
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x198]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140102386
add rax, 2
test dx, dx
jne 0x140102370
xor eax, eax
jmp 0x14010238b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1401023c1
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x140]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1401023b8
add rax, 2
test dx, dx
jne 0x1401023a2
xor eax, eax
jmp 0x1401023bd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1401023e6
mov rax, qword [rsp + 0x60]
add rax, 0x58
xor r9d, r9d
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2e00
jmp 0x140102254
movzx eax, byte [0x1401d49f4]
test eax, eax
je 0x140102424
call fcn.1400ee010
mov qword [rsp + 0x98], rax
cvtsi2ss xmm0, dword [0x1401d49fc]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.1400ec3a0
movzx eax, byte [0x1401d49f5]
test eax, eax
je 0x14010246e
cvtsi2ss xmm0, dword [0x1401d4a10]
movaps xmm1, xmm0
mov rcx, qword [0x1401d7188]
call fcn.14010aa00
movss xmm1, dword [0x14016921c]
mov rcx, qword [0x1401d7180]
call fcn.14010a800
movss xmm1, dword [0x14016921c]
mov rcx, qword [0x1401d7180]
call fcn.14010a7c0
movzx eax, byte [0x1401d49f6]
test eax, eax
je 0x14010249c
mov rcx, qword [0x1401d7190]
call fcn.1401029e0
mov qword [rsp + 0xa0], rax
mov dl, 1
mov rcx, qword [rsp + 0xa0]
call fcn.14010aac0
movzx eax, byte [0x1401d49f7]
test eax, eax
je 0x140102772
lea rax, [rsp + 0x210]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x38]
call fcn.140031580
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xe0], 0x33f4f70
mov qword [rsp + 0xe8], 0xb8
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], reloc.WS2_32.dll_recv
mov qword [rsp + 0x100], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x108]
mov r8, rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1b0]
call fcn.140032b10
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xb0]
call fcn.1400e3fb0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x1401d7040]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [0x1401d7040]
call fcn.1400e2310
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x58
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
add rax, 0x90
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x40]
add rax, 0x70
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2650
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x40]
add rax, 0xb8
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e29d0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140102772
mov rax, qword [rsp + 0x40]
add rax, 0x230
xorps xmm3, xmm3
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
mov rax, qword [rsp + 0x40]
add rax, 0x234
xorps xmm3, xmm3
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
mov rax, qword [rsp + 0x70]
add rax, 0x48
movss xmm3, dword [0x14016d834]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
mov rax, qword [rsp + 0x70]
add rax, 0x50
movss xmm3, dword [0x14016d834]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
mov rax, qword [rsp + 0xd0]
add rax, 0x14
movss xmm3, dword [0x1401b5270]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
mov rax, qword [rsp + 0xd8]
add rax, 0x18
movss xmm3, dword [0x1401b5278]
mov r8, rax
mov rax, qword [0x1401d7040]
mov edx, dword [rax + 0x28]
mov rcx, qword [0x1401d7040]
call fcn.1400e2d00
movzx eax, byte [0x1401d4a00]
test eax, eax
je 0x1401028a8
mov ecx, dword [0x1401d4a04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401028a8
movss xmm1, dword [0x14016921c]
mov rcx, qword [0x1401d7190]
call fcn.14010a940
mov ecx, dword [0x1401d4a04]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140102802
xorps xmm3, xmm3
movss xmm2, dword [0x1401739bc]
xorps xmm1, xmm1
lea rcx, [rsp + 0x170]
call fcn.1400e4e80
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x48]
call fcn.14010b120
jmp 0x1401028a8
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140102856
xorps xmm3, xmm3
xorps xmm2, xmm2
movss xmm1, dword [0x1401b52a4]
lea rcx, [rsp + 0x17c]
call fcn.1400e4e80
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x48]
call fcn.14010b120
jmp 0x1401028a8
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401028a8
xorps xmm3, xmm3
xorps xmm2, xmm2
movss xmm1, dword [0x1401b51d0]
lea rcx, [rsp + 0x188]
call fcn.1400e4e80
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call fcn.14010b120
movzx eax, byte [0x1401d4a16]
test eax, eax
je 0x1401028de
mov rcx, qword [0x1401d7190]
call fcn.1400edf60
ucomiss xmm0, dword [0x14016d794]
jp 0x1401028ca
je 0x1401028de
movss xmm1, dword [0x140169f80]
mov rcx, qword [0x1401d7190]
call fcn.14010a940
movzx eax, byte [0x1401d4a16]
test eax, eax
jne 0x140102908
movzx eax, byte [0x1401d4a00]
test eax, eax
jne 0x140102908
movss xmm1, dword [0x14016d798]
mov rcx, qword [0x1401d7190]
call fcn.14010a940
add rsp, 0x238
pop rdi
pop rsi
ret