Function at 0x140069420
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb0
mov r8, qword [rbp + 0x7f]
mov rdx, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x6f]
mov rdi, r9
mov r9, qword [rbp + 0x87]
call fcn.140086740
mov r12, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x14006966f
mov rsi, qword [rbp + 0x67]
mov r14d, 2
xor r13b, r13b
cmp word [rdi], 0
mov byte [rbp - 0x78], 1
mov dword [rbp - 0x71], 0x80000000
lea r15d, [r14 - 1]
mov qword [rbp - 0x69], r14
mov dword [rbp - 0x59], r14d
mov dword [rbp - 0x6d], 0x80000000
je 0x140069596
lea r12, [rdi + 2]
xor esi, esi
movzx ebx, word [rdi]
test ebx, 0xffffff80
jne 0x1400694cd
mov edx, r14d
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x1400694cd
and ebx, 0xffffffdf
movzx eax, bx
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x1400694f7.69
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x69f04]
mov ecx, dword [rdx + rax*4 + 0x69ee8]
add rcx, rdx
jmp rcx
mov dword [rbp - 0x59], esi
jmp case.0x1400694f7.69
mov dword [rbp - 0x59], r15d
jmp case.0x1400694f7.69
movzx ebx, word [r12]
test ebx, 0xffffff80
jne 0x140069526
mov edx, r14d
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x140069526
and ebx, 0xffffffdf
cmp bx, 0x41
jne case.0x1400694f7.69
add rdi, r14
mov byte [rbp - 0x78], sil
add r12, r14
jmp case.0x1400694f7.69
lea rdx, [0x14011c210]
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne case.0x1400694f7.69
add rdi, 4
movzx r13d, r15b
add r12, 4
jmp case.0x1400694f7.69
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
mov dword [rbp - 0x71], eax
jmp case.0x1400694f7.69
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
mov dword [rbp - 0x6d], eax
add rdi, r14
add r12, r14
cmp word [rdi], si
jne 0x1400694b0
mov rsi, qword [rbp + 0x67]
mov r12, qword [rbp - 0x51]
test r13b, r13b
jne 0x1400695b1
mov rdx, rsi
mov rcx, r12
call fcn.1400e9630
mov r14, rax
test rax, rax
jne 0x140069723
lea r14d, [rax + 2]
xor edi, edi
lea rcx, [rbp - 0x35]
xor edx, edx
lea r8d, [rdi + 0x2c]
mov dword [rbp - 0x39], edi
call sub.MSVCR100.dll_memset
mov byte [rbp - 0x11], r15b
nop dword [rax]
movzx eax, word [rsi]
cmp ax, 0x20
je 0x1400695df
cmp ax, 9
jne 0x1400695e5
add rsi, 2
jmp 0x1400695d0
movzx ebx, word [rsi]
test ebx, 0xffffff80
jne 0x140069602
mov edx, r14d
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x140069602
and ebx, 0xffffffdf
cmp bx, 0x58
jne 0x14006966f
cmp word [rsi + 2], di
lea rbx, [rsi + 2]
je 0x14006966f
mov rcx, rbx
call fcn.140005040
mov rcx, rbx
test al, al
je 0x14006962f
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.MSVCR100.dll_wcstol]
jmp 0x140069635
call qword [sym.imp.MSVCR100.dll__wtoi]
movzx edx, word [rbx]
mov dword [rbp - 0x39], eax
test dx, dx
je 0x14006966f
lea rcx, [0x140107c20]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x140069695
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140069650
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x140069640
mov rcx, qword [rbp + 0x47]
mov dl, 1
call fcn.14005e3f0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x20
je 0x140069695
cmp ax, 9
je 0x140069695
movzx ecx, ax
test ax, ax
je 0x14006966f
call qword [sym.imp.MSVCR100.dll_towupper]
cmp ax, 0x59
jne 0x14006966f
cmp word [rbx + 2], di
lea rcx, [rbx + 2]
je 0x14006966f
call fcn.14001db30
lea rdx, [rbp - 9]
mov rcx, r12
mov dword [rbp - 0x35], eax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rbp - 9]
mov eax, dword [rbp - 5]
add dword [rbp - 0x39], r11d
lea r8, [rbp - 0x39]
add dword [rbp - 0x35], eax
lea rdx, [0x140078070]
mov rcx, r12
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rax, qword [rbp - 0x21]
mov r14, r12
test rax, rax
lea rdx, [rbp - 0x71]
cmovne r14, rax
mov rax, qword [rbp - 0x39]
mov rcx, r14
mov qword [rbp - 0x71], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x140069725
xor edi, edi
mov r8d, dword [rbp + 0x57]
cmp r8d, r15d
jge 0x1400699ea
mov rdi, qword [0x140140268]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x140069765
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140103674]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], r15b
call fcn.1400e6e20
mov r15d, eax
jmp 0x14006967a
lea r12, [0x140103674]
cmp qword [rdi + 8], r12
jne 0x14006977b
mov r13, qword [rdi + 0x10]
shr r13, 1
jmp 0x14006977e
mov r13, r15
lea rcx, [r13 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x14006979d
mov rdx, r13
mov rcx, r12
call fcn.140006bc0
mov r15d, eax
jmp 0x14006967a
mov r8, qword [0x14013b0d0]
cmp rsi, r8
jbe 0x1400697d1
cmp rsi, qword [rdi + 0x18]
jbe 0x1400697d1
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov r15d, eax
jmp 0x14006967a
cmp rcx, 2
jae 0x1400697ee
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 3]
call fcn.1400e74d0
mov eax, r15d
jmp 0x14006967a
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x14006980b
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov r9, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, r9
jbe 0x14006998b
movzx r10d, byte [rdi + 0x20]
movzx eax, r10b
cmp r10b, r15b
jbe 0x14006983b
cmp al, 2
je 0x14006987c
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x61]
jmp 0x14006997f
mov ebx, 0x80
cmp rsi, rbx
ja 0x14006987c
cmp rsi, 8
ja 0x140069852
mov ebx, 8
jmp 0x14006985f
cmp rsi, 0x10
mov eax, reloc.WSOCK32.dll_recv
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400dd290
test rax, rax
jne 0x140069dc4
xor edx, edx
mov r15d, edx
mov eax, edx
jmp 0x14006967a
cmp rsi, 0x20
jae 0x14006988c
mov ebx, SafeArrayAllocDescriptor
jmp 0x14006993b
cmp rsi, 0x208
jae 0x14006989f
mov ebx, 0x208
jmp 0x14006993b
cmp rsi, 0x50000
jae 0x1400698f7
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400698be
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400698ed
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400698ed
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x14006993b
cmp rsi, 0x320000
jae 0x140069909
lea rbx, [rsi + 0x8000]
jmp 0x14006993b
cmp rsi, 0xc80000
jae 0x140069934
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x14006993b
lea rbx, [rsi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x14006995d
test r9, r9
je 0x14006995d
mov rcx, qword [rdi + 8]
movzx esi, r15b
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x140069960
xor sil, sil
test rbx, rbx
js 0x140069ec8
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x140069ec8
mov byte [rdi + 0x20], 2
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbx
and byte [rdi + 0x21], 0x7f
mov rcx, qword [rdi + 8]
cmp rcx, r12
je 0x1400699a2
lea r8, [r13 + r13]
mov rdx, r12
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rdi + 8]
lea rcx, [r13 + r13]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
mov eax, r15d
jmp 0x14006967a
mov rax, qword [rdi + 8]
mov word [rax], dx
mov qword [rdi + 0x10], rdx
lea r8, [0x1401035ac]
lea rcx, [0x140143150]
lea rdx, str.Out_of_memory.
call fcn.14005f7b0
mov r15d, eax
jmp 0x14006967a
cmp dword [rbp - 0x71], 0x80000000
je 0x1400699fc
cmp dword [rbp - 0x6d], 0x80000000
jne 0x140069a43
lea rdx, [rbp - 0x49]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14006966f
cmp dword [rbp - 0x71], 0x80000000
jne 0x140069a28
mov eax, dword [rbp - 0x41]
sub eax, dword [rbp - 0x49]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x71], eax
cmp dword [rbp - 0x6d], 0x80000000
mov r8d, dword [rbp + 0x57]
jne 0x140069a43
mov eax, dword [rbp - 0x3d]
sub eax, dword [rbp - 0x45]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x6d], eax
movzx r13d, word [rbp - 0x6d]
movzx eax, word [rbp - 0x71]
movzx edx, byte [rbp + 0x4f]
shl r13d, 0x10
mov qword [rbp - 0x61], rdi
or r13, rax
cmp dl, 0x9f
je 0x140069a6a
cmp dl, 0x9e
je 0x140069a6a
xor dil, dil
jmp 0x140069a6e
movzx edi, r15b
cmp dl, 0x9c
je 0x140069a7c
cmp dl, 0x9d
je 0x140069a7c
xor bl, bl
jmp 0x140069a80
movzx ebx, r15b
test dil, dil
je 0x140069ab0
mov r12d, dword [rbp - 0x75]
mov eax, 0xffffff88
cmp dl, 0x9f
mov ecx, 0x78
mov esi, 0x20a
cmove eax, ecx
imul eax, r8d
shl eax, 0x10
cdqe
mov qword [rbp - 0x69], rax
jmp 0x140069b5b
test bl, bl
je 0x140069add
mov r12d, dword [rbp - 0x75]
mov eax, 0xffffff88
cmp dl, 0x9c
mov ecx, 0x78
mov esi, 0x20e
cmove ecx, eax
imul ecx, r8d
shl ecx, 0x10
movsxd rax, ecx
mov qword [rbp - 0x69], rax
jmp 0x140069b5b
movzx ecx, dl
dec ecx
je 0x140069b4e
dec ecx
je 0x140069b43
sub ecx, 2
je 0x140069b2f
dec ecx
je 0x140069b14
dec ecx
jne 0x14006966f
mov esi, 0x20b
mov qword [rbp - 0x61], 0x20000
mov qword [rbp - 0x69], 0x20040
lea r12d, [rsi + 1]
jmp 0x140069b5b
mov esi, 0x20b
mov qword [rbp - 0x61], 0x10000
mov qword [rbp - 0x69], 0x10020
lea r12d, [rsi + 1]
jmp 0x140069b5b
mov esi, 0x207
mov eax, reloc.WSOCK32.dll_recv
lea r12d, [rsi + 1]
mov qword [rbp - 0x69], rax
jmp 0x140069b5b
mov esi, 0x204
lea r12d, [rsi + 1]
jmp 0x140069b5b
mov esi, 0x201
mov qword [rbp - 0x69], r15
lea r12d, [rsi + 1]
cmp byte [rbp - 0x78], 0
mov byte [rbp - 0x79], 0
je 0x140069bb1
mov rcx, qword [rbp - 0x51]
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rbp - 0x75], eax
test eax, eax
je 0x140069ba5
cmp eax, dword [0x1401430c0]
je 0x140069ba5
mov rcx, qword [rbp - 0x51]
call fcn.1400e9c60
test al, al
jne 0x140069ba5
mov edx, dword [rbp - 0x75]
mov ecx, dword [0x1401430c0]
mov r8d, r15d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [rbp - 0x79]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x140069bb7
mov eax, dword [rbp - 0x75]
mov dword [rbp - 0x75], eax
test dil, dil
jne 0x140069c86
test bl, bl
jne 0x140069c86
mov r8d, dword [rbp + 0x57]
movsxd rbx, dword [rbp - 0x59]
test r8d, r8d
jle 0x140069cce
mov edi, r8d
nop dword [rax]
cmp rbx, r15
je 0x140069c2d
mov r8, qword [rbp - 0x69]
mov r9, r13
mov edx, esi
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov r11, qword [0x14013b0f8]
cmp dword [r11 + 0x78], 0xffffffff
jle 0x140069c2d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x78]
jne 0x140069c27
mov edx, r15d
call fcn.140001b80
jmp 0x140069c2d
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140069c7b
mov r8, qword [rbp - 0x61]
mov r9, r13
mov edx, r12d
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov r11, qword [0x14013b0f8]
cmp dword [r11 + 0x78], 0xffffffff
jle 0x140069c7b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x78]
jne 0x140069c75
mov edx, r15d
call fcn.140001b80
jmp 0x140069c7b
call qword [sym.imp.KERNEL32.dll_Sleep]
dec rdi
jne 0x140069be0
jmp 0x140069cce
mov r8, qword [rbp - 0x69]
mov r9, r13
mov edx, esi
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov r11, qword [0x14013b0f8]
cmp dword [r11 + 0x78], 0xffffffff
jle 0x140069cce
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x78]
jne 0x140069cc8
mov edx, r15d
call fcn.140001b80
jmp 0x140069cce
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbp - 0x79], 0
je 0x140069ce6
mov edx, dword [rbp - 0x75]
mov ecx, dword [0x1401430c0]
xor r8d, r8d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rdi, qword [0x140140268]
movzx eax, byte [rdi + 0x23]
test al, al
je 0x140069741
lea r12, [0x140103674]
cmp qword [rdi + 8], r12
jne 0x140069d0f
mov r13, qword [rdi + 0x10]
shr r13, 1
jmp 0x140069d12
mov r13, r15
lea rcx, [r13 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
je 0x14006978a
mov r8, qword [0x14013b0d0]
cmp rsi, r8
jbe 0x140069d38
cmp rsi, qword [rdi + 0x18]
ja 0x1400697af
cmp rcx, 2
jb 0x1400697d7
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x140069d5f
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov r9, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rsi, r9
jbe 0x14006998b
movzx r10d, byte [rdi + 0x20]
movzx eax, r10b
cmp r10b, r15b
jbe 0x140069d8f
cmp al, 2
je 0x140069dcd
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x61]
jmp 0x14006997f
mov ebx, 0x80
cmp rsi, rbx
ja 0x140069dcd
cmp rsi, 8
ja 0x140069da6
mov ebx, 8
jmp 0x140069db3
cmp rsi, 0x10
mov eax, reloc.WSOCK32.dll_recv
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400dd290
test rax, rax
je 0x140069870
mov byte [rdi + 0x20], r15b
jmp 0x14006997f
cmp rsi, 0x20
jae 0x140069ddd
mov ebx, SafeArrayAllocDescriptor
jmp 0x140069e8c
cmp rsi, 0x208
jae 0x140069df0
mov ebx, 0x208
jmp 0x140069e8c
cmp rsi, 0x50000
jae 0x140069e48
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140069e0f
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140069e3e
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140069e3e
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rbx, xmm0
add rbx, rcx
jmp 0x140069e8c
cmp rsi, 0x320000
jae 0x140069e5a
lea rbx, [rsi + 0x8000]
jmp 0x140069e8c
cmp rsi, 0xc80000
jae 0x140069e85
movabs rax, 0x47ae147ae147ae15
mov rbx, rsi
mul rsi
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, rsi
jmp 0x140069e8c
lea rbx, [rsi + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r10b, 2
jne 0x140069eae
test r9, r9
je 0x140069eae
mov rcx, qword [rdi + 8]
movzx esi, r15b
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x140069eb1
xor sil, sil
test rbx, rbx
js 0x140069ec8
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
jne 0x14006997b
xor edx, edx
test sil, sil
je 0x1400699bd
lea rax, [0x140141fa8]
mov qword [rdi + 0x18], rdx
mov qword [rdi + 8], rax
jmp 0x1400699c4