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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [0x1015e7c2], 0
mov eax, dword [0x101621bc]
push ebx
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x101621b8]
push edi
mov dword [ebp - 8], eax
je 0x100b7c2d
mov ecx, dword [0x101d11a4]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x180]
call eax
call fcn.100b7660
test al, al
je 0x100b7b88
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100b7b88
mov dl, 1
jmp 0x100b7b8a
xor dl, dl
mov ecx, dword [0x101621c0]
mov edi, dword [ebp - 0x14]
mov ebx, dword [0x101621c4]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 1], dl
mov dword [ebp - 0xc], ecx
cmp edi, ecx
jle 0x100b7bec
mov eax, dword [ebp - 8]
add eax, ecx
cmp edi, eax
jge 0x100b7bec
cmp esi, ebx
jle 0x100b7bec
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp esi, eax
jge 0x100b7bec
test dl, dl
je 0x100b7bec
cmp byte [0x101d1408], 0
mov byte [0x101d141c], 1
jne 0x100b7bf5
mov eax, edi
mov byte [0x101d1408], 1
sub eax, ecx
mov edx, esi
sub edx, ebx
mov dword [0x101d1420], eax
mov dword [0x101d1424], edx
jmp 0x100b7c00
cmp byte [0x101d141c], 0
je 0x100b7c17
mov edx, dword [0x101d1424]
mov eax, dword [0x101d1420]
mov ecx, edi
mov ebx, esi
sub ecx, eax
sub ebx, edx
mov dword [ebp - 0xc], ecx
mov dword [0x101621c0], ecx
mov dword [0x101621c4], ebx
cmp byte [ebp - 1], 0
jne 0x100b7c3b
mov byte [0x101d141c], 0
mov byte [0x101d1408], 0
jmp 0x100b7c3b
mov eax, dword [0x101621c0]
mov ebx, dword [0x101621c4]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x1015d09b]
mov ecx, dword [0x101d11a4]
mov esi, dword [0x101621bc]
mov edi, dword [0x101621b8]
push eax
movzx eax, byte [0x1015d09a]
mov edx, dword [ecx]
push eax
movzx eax, byte [0x1015d099]
push eax
movzx eax, byte [0x1015d098]
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [0x101d11a4]
lea eax, [ebx + esi]
mov esi, dword [ebp - 0xc]
push eax
mov edx, dword [ecx]
lea eax, [esi + edi]
push eax
push ebx
mov eax, dword [edx + 0x30]
push esi
call eax
mov dword [ebp - 0x3c], 0x42456f4d
xor eax, eax
mov dword [ebp - 0x38], 0x4a504256
mov dword [ebp - 0x34], 0x1005454
lea ecx, [eax + 0x1e]
xor byte [ebp + eax - 0x3c], cl
inc eax
cmp eax, 0xa
jb 0x100b7ca5
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x31], 0
push eax
push 0x1014b0bc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
mov eax, dword [0x101621bc]
cdq
sub eax, edx
mov dword [ebp - 0x14], 4
sar eax, 1
add eax, dword [0x101621c4]
push 0x1015d190
push eax
mov eax, dword [0x101621b8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x101621c0]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1015dfac
call fcn.100d0540
mov esi, dword [0x1015dfe8]
add esp, 0x20
test esi, esi
je 0x100b7f2c
mov ecx, esi
call fcn.1000c350
test al, al
jne 0x100b7f2c
push esi
call fcn.100b77e0
test al, al
je 0x100b7f2c
mov eax, dword [0x1015dfac]
mov ebx, dword [0x101621c0]
mov ecx, dword [0x101621b0]
sub ecx, dword [0x101621ac]
mov esi, dword [eax + 0x58]
lea eax, [ebx + 5]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], eax
add eax, 0x19
mov dword [ebp - 0x28], eax
mov eax, dword [0x101621bc]
add eax, dword [0x101621c4]
mov dword [ebp - 0xc], eax
mov eax, 0x88888889
imul ecx
movzx eax, byte [0x1015d09b]
add edx, ecx
mov ecx, dword [0x101d11a4]
push eax
movzx eax, byte [0x1015d09a]
sar edx, 5
mov edi, edx
push eax
movzx eax, byte [0x1015d099]
shr edi, 0x1f
add edi, edx
mov edx, dword [ecx]
push eax
movzx eax, byte [0x1015d098]
push eax
mov eax, dword [edx + 0x2c]
imul edi, esi
mov esi, dword [0x101621b8]
call eax
mov ecx, dword [0x101d11a4]
lea eax, [ebx + esi]
add edi, dword [ebp - 0xc]
push edi
push eax
mov edx, dword [ecx]
push dword [ebp - 0xc]
push ebx
mov eax, dword [edx + 0x30]
call eax
movzx eax, byte [0x1015d193]
mov ecx, dword [0x101d11a4]
push eax
movzx eax, byte [0x1015d192]
push eax
movzx eax, byte [0x1015d191]
mov edx, dword [ecx]
push eax
movzx eax, byte [0x1015d190]
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [0x101d11a4]
lea eax, [edi - 1]
push eax
lea edx, [ebx + 0x19]
push edx
mov esi, dword [ecx]
push dword [ebp - 0xc]
push edx
mov eax, dword [esi + 0x3c]
call eax
mov ecx, dword [0x101621b0]
mov eax, 0x88888889
mov edi, dword [0x101621ac]
sub ecx, edi
imul ecx
mov dword [ebp - 0x14], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b7f2c
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x10], esi
mov eax, dword [edi + esi + 0x10]
lea ecx, [edi + esi]
cmp eax, 0x14
jbe 0x100b7e8c
push 3
push ecx
push eax
push ecx
call fcn.100b82f0
mov edi, dword [0x101621ac]
mov ebx, dword [0x101621bc]
lea eax, [edi + 0x18]
add ebx, dword [0x101621c4]
add eax, esi
add ebx, dword [ebp - 0x10]
cmp dword [eax + 0x14], 7
jbe 0x100b7ea8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push 0x1015dfac
call fcn.100d07b0
mov eax, dword [0x101621ac]
add esp, 0x1c
add eax, esi
cmp dword [eax + 0x14], 7
jbe 0x100b7ed5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push 0x1015dfac
call fcn.100d07b0
mov eax, dword [ebp - 0x30]
add esp, 0x1c
add dword [ebp - 0x10], eax
add esi, 0x3c
mov ecx, dword [0x101621b0]
mov eax, 0x88888889
mov edi, dword [0x101621ac]
sub ecx, edi
mov ebx, dword [ebp - 0x14]
imul ecx
inc ebx
add edx, ecx
mov dword [ebp - 0x14], ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x100b7e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret