Function at 0x140084390
Capabilities:
Capture screenshot
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14014b0c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov eax, dword [0x14014b198]
mov dword [rsp + 0x58], eax
mov eax, dword [0x14014b198]
mov dword [rsp + 0x54], eax
mov eax, dword [0x14014c984]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0xb0]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [0x14014c980]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0xb4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
lea rdx, [0x14014b1a4]
lea rcx, [rsp + 0x178]
call fcn.140066dd0
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x180]
call fcn.1400562d0
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x220]
call fcn.14006e370
lea rdx, [0x14014b1a4]
lea rcx, [rsp + 0x188]
call fcn.140066dd0
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x190]
call fcn.1400562d0
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x230]
call fcn.14006e370
mov dword [rsp + 0x110], 0x3e8
lea rcx, [rsp + 0x210]
call fcn.14007b1d0
mov byte [rsp + 0x50], 0
cvtsi2ss xmm0, dword [0x14014b124]
movss dword [rsp + 0x60], xmm0
xor eax, eax
cmp eax, 1
je 0x140084e24
mov eax, dword [0x14014b198]
mov dword [rsp + 0x58], eax
mov eax, dword [0x14014b198]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x228]
call fcn.1400562d0
lea r8, [rsp + 0x230]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x198]
call fcn.1400727f0
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.140075690
mov rcx, rax
call fcn.140056b10
mov qword [rsp + 0x1a8], rax
movzx eax, byte [0x14014c961]
test eax, eax
je 0x140084d08
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140084649
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x140084595
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0x1b0]
call fcn.1400562d0
mov rax, qword [rax]
mov qword [rsp + 0x210], rax
lea rcx, [rsp + 0x240]
call fcn.1400562d0
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x1b8]
call fcn.1400727f0
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.140075690
mov rcx, rax
call fcn.140056b10
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0x3e8
jge 0x140084639
cvtsi2ss xmm0, qword [rsp + 0x100]
divss xmm0, dword [0x1401350e8]
movss dword [rsp + 0xb8], xmm0
cvtsi2ss xmm0, dword [0x14014b124]
mov eax, dword [reloc.WS2_32.dll_bind]
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
mulss xmm1, dword [rsp + 0xb8]
addss xmm0, xmm1
movss dword [rsp + 0x60], xmm0
jmp 0x140084647
cvtsi2ss xmm0, dword [0x14014b12c]
movss dword [rsp + 0x60], xmm0
jmp 0x14008465c
mov byte [rsp + 0x50], 0
cvtsi2ss xmm0, dword [0x14014b124]
movss dword [rsp + 0x60], xmm0
movzx eax, byte [0x14014c988]
cmp eax, 1
jne 0x140084672
mov dword [0x14014b1c0], 0x190
movzx eax, byte [0x14014c988]
test eax, eax
jne 0x140084687
mov dword [0x14014b1c0], 0
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140084d08
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0xe0], rax
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0x40cc0020
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0xe8]
call fcn.140083280
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x160]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
cmp dword [rax], 0xffffffff
je 0x140084cec
lea rcx, [rsp + 0x1c8]
call fcn.1400562d0
lea r8, [0x14014c990]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.1400727f0
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.140075690
lea rcx, [rsp + 0x238]
call fcn.140056b10
movsxd rcx, dword [0x14014b1c0]
cmp rax, rcx
jle 0x140084cec
movsd xmm0, qword [0x140134ff8]
movsd qword [rsp + 0x1d8], xmm0
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov eax, dword [rax]
add eax, dword [rsp + 0x70]
mov dword [rsp + 0xbc], eax
mov eax, dword [0x14014c984]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0xbc]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
movsd qword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x74]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x14014c980]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0xc0]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
movsd qword [rsp + 0xa8], xmm0
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, qword [rsp + 0xa0]
movsd xmm1, qword [rsp + 0xa8]
mulsd xmm1, qword [rsp + 0xa8]
addsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movsd qword [rsp + 0x68], xmm0
movsd xmm0, qword [0x140134ff8]
movsd qword [rsp + 0x1e0], xmm0
movsd xmm0, qword [rsp + 0x68]
divsd xmm0, qword [0x140134fd8]
cvttsd2si eax, xmm0
cmp eax, 0xa
jge 0x1400848ce
mov dword [rsp + 0x78], 0xa
jmp 0x1400848e4
movsd xmm0, qword [rsp + 0x68]
divsd xmm0, qword [0x140134fd8]
cvttsd2si eax, xmm0
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x80], eax
movzx eax, byte [0x14014c962]
test eax, eax
je 0x140084bd2
movsd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x140134ff8]
jbe 0x140084bd2
xorps xmm0, xmm0
movsd qword [rsp + 0x258], xmm0
xorps xmm0, xmm0
movsd qword [rsp + 0x260], xmm0
movsd xmm0, qword [rsp + 0xa0]
movsd qword [rsp + 0x248], xmm0
movsd xmm0, qword [rsp + 0xa8]
movsd qword [rsp + 0x250], xmm0
movsd xmm0, qword [rsp + 0x68]
divsd xmm0, qword [0x140135008]
cvttsd2si eax, xmm0
add eax, 2
cmp eax, 3
jge 0x140084972
mov dword [rsp + 0x7c], 3
jmp 0x14008498b
movsd xmm0, qword [rsp + 0x68]
divsd xmm0, qword [0x140135008]
cvttsd2si eax, xmm0
add eax, 2
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xc4], eax
movsd xmm0, qword [rsp + 0x68]
mulsd xmm0, qword [str.333333]
cvtsi2sd xmm1, dword [0x14014b188]
mulsd xmm0, xmm1
movsd qword [rsp + 0x168], xmm0
lea rax, [rsp + 0x278]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
movsd xmm0, qword [rsp + 0x168]
movsd qword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xc4]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x278]
call fcn.140083a80
nop
mov dword [rsp + 0x5c], 1
jmp 0x140084a16
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x5c], eax
jg 0x140084bc0
cvtsi2sd xmm0, dword [rsp + 0x5c]
cvtsi2sd xmm1, dword [rsp + 0x80]
divsd xmm0, xmm1
movsd qword [rsp + 0x138], xmm0
movsd xmm2, qword [rsp + 0x138]
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x268]
call fcn.140083d30
cvtss2sd xmm0, dword [0x14014b18c]
movsd xmm1, qword [rsp + 0x268]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
cvtss2sd xmm0, dword [0x14014b18c]
movsd xmm1, qword [rsp + 0x270]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x88], xmm0
movsd xmm0, qword [rsp + 0x90]
mulsd xmm0, qword [rsp + 0x90]
movsd xmm1, qword [rsp + 0x88]
mulsd xmm1, qword [rsp + 0x88]
addsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movsd qword [rsp + 0x108], xmm0
movsd xmm0, qword [rsp + 0x108]
comisd xmm0, xmmword [0x140134ff8]
jbe 0x140084b3c
movsd xmm0, qword [0x140134ff8]
divsd xmm0, qword [rsp + 0x108]
movsd qword [rsp + 0xf0], xmm0
movsd xmm0, qword [rsp + 0x90]
mulsd xmm0, qword [rsp + 0xf0]
movsd qword [rsp + 0x90], xmm0
movsd xmm0, qword [rsp + 0x88]
mulsd xmm0, qword [rsp + 0xf0]
movsd qword [rsp + 0x88], xmm0
movsd xmm0, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x170], xmm0
movsd xmm0, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x118], xmm0
movsd xmm1, qword [rsp + 0x170]
movsd xmm0, qword [rsp + 0x118]
call fcn.14007b3d0
mov dword [rsp + 0xc8], 5
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1e8]
call fcn.140066dd0
mov rcx, rax
call fcn.140066de0
jmp 0x140084a0c
lea rcx, [rsp + 0x278]
call fcn.140086a70
jmp 0x140084cd5
cvtss2sd xmm0, dword [0x14014b18c]
movsd xmm1, qword [rsp + 0xa0]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xd8], xmm0
cvtss2sd xmm0, dword [0x14014b18c]
movsd xmm1, qword [rsp + 0xa8]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xd0], xmm0
movsd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x140134ff8]
jbe 0x140084c71
movsd xmm0, qword [0x140134ff8]
divsd xmm0, qword [rsp + 0x68]
movsd qword [rsp + 0xf8], xmm0
movsd xmm0, qword [rsp + 0xd8]
mulsd xmm0, qword [rsp + 0xf8]
movsd qword [rsp + 0xd8], xmm0
movsd xmm0, qword [rsp + 0xd0]
mulsd xmm0, qword [rsp + 0xf8]
movsd qword [rsp + 0xd0], xmm0
cvtss2sd xmm0, dword [rsp + 0x60]
movsd xmm1, qword [rsp + 0xd0]
addsd xmm1, xmm0
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x120], xmm0
movsd xmm0, qword [rsp + 0xd8]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x128], xmm0
movsd xmm1, qword [rsp + 0x120]
movsd xmm0, qword [rsp + 0x128]
call fcn.14007b3d0
lea rcx, [rsp + 0x1f0]
call fcn.1400562d0
mov rax, qword [rax]
mov qword [0x14014c990], rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.GDI32.dll_DeleteObject]
movzx eax, byte [0x14014c960]
test eax, eax
je 0x140084df7
lea rcx, [rsp + 0x218]
call fcn.1400562d0
lea r8, [rsp + 0x220]
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x1f8]
call fcn.1400727f0
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140075690
mov rcx, rax
call fcn.140056b10
mov qword [rsp + 0x130], rax
call fcn.1400835b0
movzx eax, al
test eax, eax
je 0x140084de7
movsxd rax, dword [0x14014b1a4]
cmp qword [rsp + 0x130], rax
jl 0x140084de7
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140084de7
mov ecx, dword [reloc.WS2_32.dll_ioctlsocket]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9w, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14014c978]
call fcn.14007b330
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9w, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14014c978]
call fcn.14007b330
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x230], rax
mov dword [rsp + 0xcc], 1
lea rdx, [rsp + 0xcc]
lea rcx, [rsp + 0x208]
call fcn.140066dd0
mov rcx, rax
call fcn.140066de0
jmp 0x1400844de
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400f1a00
add rsp, 0x2a0
pop rdi
ret