Function at 0x10018e10
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x88
mov ecx, dword [0x100fbfac]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1017df2c]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp eax, dword [ecx + 4]
jle 0x10018e66
push 0x1017df2c
call fcn.100d136a
add esp, 4
cmp dword [0x1017df2c], 0xffffffff
jne 0x10018e66
mov eax, dword [edi + 8]
push 0x1017df2c
mov dword [0x1017df30], eax
call fcn.100d1320
add esp, 4
cmp byte [0x100f9060], 0
mov byte [0x1017df00], 0
je 0x10019207
mov eax, dword [0x100f9068]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0x7f7fffff
mov dword [ebp - 0x30], 0x7f7fffff
mov dword [ebp - 0x2c], 0xffffffff
mov byte [ebp - 0x28], 0
cmp eax, 1
jne 0x10018edc
mov bl, byte [edi + 0x24]
and bl, al
jmp 0x10018ef8
test eax, eax
jne 0x10018ee7
mov eax, 1
jmp 0x10018ef3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
test eax, eax
setne bl
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
push edi
push esi
push dword [ebp + 8]
call fcn.10018ab0
test al, al
je 0x10019207
test bl, bl
je 0x10019207
mov ecx, dword [ebp - 0x54]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp dword [0x100f91c4], 1
mov dword [0x100fb358], eax
jne 0x10018f64
movss xmm0, dword [0x100fb388]
movss dword [0x100fb394], xmm0
movss xmm0, dword [0x100fb38c]
movss dword [0x100fb398], xmm0
movss xmm0, dword [0x100fb390]
movss dword [0x100fb39c], xmm0
cmp byte [0x100f90c8], 0
mov ebx, 1
je 0x10018fea
cmp byte [0x100fb371], 0
je 0x10018fea
or dword [edi + 0x24], ebx
cmp byte [0x100f9078], 0
je 0x10018faf
cmp byte [0x100f9080], 0
je 0x10018faf
cmp dword [0x100fb364], 0
jne 0x10018faf
movzx eax, byte [0x100fb37e]
cmp dword [0x100fb360], 0
cmove eax, ebx
mov byte [0x100fb37e], al
cmp dword [0x100fb35c], 0x2da
mov ecx, esi
jne 0x10018fc8
call fcn.10016310
test eax, eax
jle 0x10018fea
jmp 0x10018fe6
mov eax, dword [esi]
mov eax, dword [eax + 0x5e4]
call eax
cmp eax, 0x3d
jne 0x10018fea
mov ecx, esi
call fcn.10016420
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10018fea
and dword [edi + 0x24], 0xfffffffe
cmp dword [0x100fb35c], 0x2da
mov ecx, esi
jne 0x10019029
call fcn.10016310
movzx ecx, byte [0x100fc4c1]
test eax, eax
cmovg ecx, ebx
mov byte [0x100fc4c1], cl
test byte [edi + 0x24], bl
jne 0x100191e1
test cl, cl
je 0x100191e1
mov byte [0x100fc4c1], 0
jmp 0x10019084
mov eax, dword [esi]
mov eax, dword [eax + 0x5e4]
call eax
cmp eax, 0x3d
jne 0x1001906e
mov ecx, esi
call fcn.10016420
movzx eax, byte [0x100fc4c0]
xorps xmm1, xmm1
comiss xmm0, xmm1
cmova eax, ebx
mov byte [0x100fc4c0], al
test byte [edi + 0x24], bl
jne 0x100191e1
test al, al
je 0x100191e1
mov byte [0x100fc4c0], 0
jmp 0x10019084
test byte [edi + 0x24], bl
je 0x100191e1
cmp byte [0x100fb371], 0
je 0x100191e1
cmp byte [0x100f9098], 0
mov byte [0x100fb37b], 1
je 0x100191e3
mov eax, dword [edi + 8]
sub eax, dword [0x1017df30]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x100191e3
movups xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x5c], eax
movups xmm0, xmmword [ebp - 0x3c]
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x58], al
movups xmmword [ebp - 0x6c], xmm0
call fcn.1000e8d0
shr eax, 7
test al, 1
jne 0x100191d7
cmp dword [0x100fb49c], 2
lea ecx, [ebp - 0x7c]
mov eax, 0x100fb388
cmovne eax, ecx
cmp byte [0x100f90a0], 0
movss xmm0, dword [eax]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x1c], xmm0
je 0x1001912e
call fcn.10011d80
jmp 0x10019133
mov eax, dword [0x100f9160]
mov ecx, esi
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000eb10
mov edx, eax
mov dword [ebp - 0xc], 0xb9b8b4ad
mov dword [ebp - 8], 0x100a0a8
xor ecx, ecx
mov al, cl
sub al, 0x40
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 6
jb 0x10019164
lea ecx, [edx + 4]
mov byte [ebp - 5], 0
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.1000eb10
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov edx, dword [eax]
push esi
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [0x100fc354]
movzx eax, byte [ebp + 0x13]
push ecx
mov dword [esp], 0x40a00000
mov edx, dword [ecx]
push 1
push eax
movzx eax, byte [ebp + 0x12]
push eax
mov eax, dword [ebp + 0x10]
movzx eax, ah
push eax
mov eax, dword [ebp + 0x10]
movzx eax, al
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [edx + 0x44]
mov eax, dword [edi + 8]
mov dword [0x1017df30], eax
jmp 0x100191e3
xor bl, bl
cmp dword [0x100f91c4], 1
jne 0x100191fc
cmp byte [0x1017df00], 0
je 0x10019210
mov byte [0x100fb375], 1
lea eax, [ebp - 0x40]
push eax
push ecx
push edi
call fcn.10018ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
je 0x10019207
lea eax, [ebp - 0x40]
push eax
push ecx
push edi
call fcn.10018ca0
pop edi
pop esi
mov byte [0x100fb378], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc