Function at 0x100011a0
Capabilities:
Get thread local storage value
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov eax, esp
mov dword [eax + 8], 0xdf
mov dword [eax + 4], 0xe5d684
mov dword [eax], 0x42fa86
mov eax, dword [sym.imp.USER32.dll_GetDCEx]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0x10], 0xdc3
mov dword [ecx + 0xc], 0xdc3
mov dword [ecx + 8], 0x5e4
mov dword [ecx + 4], 0xdc3
mov dword [ecx], 0x8cc456
mov ecx, dword [sym.imp.GDI32.dll_IntersectClipRect]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 0xc], 0x849
mov dword [ecx + 8], 0x778
mov dword [ecx + 4], 0xd32
mov dword [ecx], 0x9c6a30
mov ecx, dword [sym.imp.GDI32.dll_FloodFill]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x11c], 0
mov dword [esp + 0x6c], eax
jmp 0x100013df
cmp dword [esp + 0x98], 0xa
jne 0x100014fb
jmp 0x100013da
jmp 0x10001265
jmp 0x10001408
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov ecx, 0x1c
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
call fcn.10173db0
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], 0x3f06aa
mov eax, dword [sym.imp.KERNEL32.dll_SetCommState]
call eax
sub esp, 8
mov dword [esp + 0x60], eax
jmp 0x10001515
mov eax, dword [esp + 0xec]
mov dword [esp + 0x5c], eax
mov eax, 0xf0f0f0f1
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, ecx
mov edx, dword [esp + 0x58]
mul edx
shr edx, 4
imul eax, edx, 0x11
sub ecx, eax
mov eax, ecx
sub eax, 4
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
je 0x10001259
jmp 0x100012ef
mov eax, dword [esp + 0x54]
sub eax, 7
mov dword [esp + 0x4c], eax
je 0x10001408
jmp 0x1000140a
xor eax, eax
mov ecx, 0x1c
lea edx, [esp + 0x100]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
call fcn.10173db0
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [eax + 4], ecx
mov dword [eax], 0x4f70f9
mov eax, dword [sym.imp.USER32.dll_SetMenuInfo]
call eax
sub esp, 8
mov byte [esp + 0xff], 4
mov word [esp + 0xfc], 0x14
mov ecx, esp
lea edx, [esp + 0xfc]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xff]
mov dword [ecx + 8], edx
mov dword [ecx + 0x14], 0x9d2aa
mov dword [ecx + 0x10], 0x35d
mov dword [ecx + 4], 0x35d
mov dword [ecx], 0x35d
mov ecx, dword [sym.imp.USER32.dll_ToAsciiEx]
mov dword [esp + 0x40], eax
call ecx
sub esp, 0x18
mov ecx, esp
lea edx, [esp + 0xf0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xb2c
mov dword [ecx], 0xcbba0f
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0xec], 0
jmp 0x100013f5
jmp 0x10001265
cmp dword [esp + 0x11c], 0x68
jne 0x10001305
jmp 0x1000125e
cmp dword [esp + 0xec], 0x5f
jne 0x100012b2
jmp 0x10001421
jmp 0x1000140a
jmp 0x1000140c
mov eax, dword [esp + 0xec]
add eax, 1
mov dword [esp + 0xec], eax
jmp 0x100013f5
xor eax, eax
mov ecx, 0x13
lea edx, [esp + 0xa0]
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, esp
mov dword [eax], edx
call sub.POWRPROF.dll_GetPwrCapabilities
sub esp, 4
mov ecx, dword [esp + 0x11c]
mov edx, 0xcc29786d
mov byte [esp + 0x37], al
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0x12
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x10001257
jmp 0x10001473
mov eax, dword [esp + 0x30]
sub eax, 0x21
mov dword [esp + 0x28], eax
jne 0x100014eb
jmp 0x10001482
mov eax, esp
mov dword [eax], 0xf52
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x8ab
mov dword [ecx + 4], 0xe49a44
mov dword [ecx], 0x1800be
mov ecx, dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0xc
mov word [esp + 0x9e], 0x58
mov dx, word [esp + 0x9e]
movzx ecx, dx
mov esi, esp
mov dword [esi], ecx
mov ecx, dword [sym.imp.USER32.dll_VkKeyScanW]
mov dword [esp + 0x20], eax
call ecx
sub esp, 4
mov word [esp + 0x1e], ax
jmp 0x10001257
mov dword [esp + 0x98], 0
jmp 0x10001241
jmp 0x100014fd
mov eax, dword [esp + 0x98]
add eax, 1
mov dword [esp + 0x98], eax
jmp 0x10001241
mov eax, dword [esp + 0x11c]
add eax, 1
mov dword [esp + 0x11c], eax
jmp 0x100013df