Function at 0x100228d9
Capabilities:
Log keystrokes
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fc2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xec
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10022c19
lea eax, [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], 0x5e5f
mov dword [ebp - 0xc0], 0x10009078
cmp dword [ebp - 0x3c], 0x5f48
jle 0x100229b2
and dword [ebp - 0x18], 0
jmp 0x10022946
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4e73
jge 0x100229b2
and dword [ebp - 0x1c], 0
jmp 0x1002295c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x33f7
jge 0x100229b0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xfc]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0xfc]
call fcn.1002e045
jmp 0x10022955
jmp 0x1002293f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x5e4a
jge 0x100229d1
push dword [ebp - 0xc0]
call fcn.1004a056
pop ecx
jmp 0x100229ed
or dword [ebp - 4], 0xffffffff
jmp 0x100229f7
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10022bf4
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1002e222
mov dword [eax], 0x3cc1
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x3cc1
jg 0x10022ad9
mov dword [ebp - 0x2c], 1
jmp 0x10022add
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x10022af0
mov dword [ebp - 0x24], 1
jmp 0x10022af4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jge 0x10022b0a
mov dword [ebp - 0xc4], 1
jmp 0x10022b11
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
je 0x10022b45
mov dword [ebp - 0x44], 1
jmp 0x10022b49
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x28
jle 0x10022b5b
mov dword [ebp - 0x98], 1
jmp 0x10022b62
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, 0xe3f2
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
je 0x10022b96
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1002e222
cmp dword [eax], 0
je 0x10022b96
mov dword [ebp - 0x30], 1
jmp 0x10022b9a
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x10022ba9
mov dword [ebp - 0x38], 1
jmp 0x10022bad
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xd8f27142
jb 0x10022bbf
mov dword [ebp - 0x20], 1
jmp 0x10022bc3
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 0x50]
call fcn.1002e222
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 0x20], 0
je 0x10022bde
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10022c14
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10022c14
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10022cbc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10022c85
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
jmp 0x10022cbc
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x10022cbc
push 0
push 0x19c0
push 0x16eb
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret