Function at 0x10001220
Capabilities:
Connect pipe
Get geographical location
Register raw input devices
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d8
mov eax, esp
lea ecx, [esp + 0x98]
mov dword [eax + 4], ecx
mov dword [eax], 0xf46e3f
mov eax, dword [sym.imp.USER32.dll_BeginPaint]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0x46c
mov dword [ecx + 0xc], 0x913
mov dword [ecx + 8], 0x46c
mov dword [ecx + 4], 0xfe4
mov dword [ecx], 0x6afed9
mov ecx, dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov dword [esp + 0x94], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 4], 0x177
mov dword [ecx], 0x9d2bf8
mov ecx, dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov dword [esp + 0x90], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x100da9
mov ecx, dword [sym.imp.GDI32.dll_StrokeAndFillPath]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x27a
mov dword [ecx + 4], 0x27a
mov dword [ecx], 0x8984e4
mov ecx, dword [sym.imp.GDI32.dll_OffsetClipRgn]
mov dword [esp + 0x88], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xa5082e
mov ecx, dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [esp + 0x80], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0x6d
mov dword [ecx], 0xded08c
mov ecx, dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 8
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x78], eax
jmp 0x10001392
cmp dword [esp + 0x1b4], 0x249
jne 0x1000146c
jmp 0x100014cc
mov eax, esp
lea ecx, [esp + 0x1c0]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x501
mov dword [eax + 4], 0x17d
mov dword [eax], 0x24e064
mov eax, dword [sym.imp.GDI32.dll_OffsetViewportOrgEx]
call eax
sub esp, 0x10
mov dword [esp + 0x74], eax
jmp 0x100014b2
mov dword [esp + 0x1bc], 0
jmp 0x100015c5
cmp dword [esp + 0x1b8], 0xa7
je 0x10001647
mov eax, esp
mov dword [eax], 0xcf841e
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x71e
mov ecx, dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x1aa
mov dword [ecx], 0x16c343
mov ecx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x1c8]
mov dword [ecx], edx
mov dword [ecx + 8], 0x65b
mov dword [ecx + 4], 0x289
mov ecx, dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x1a0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xff1f93
mov ecx, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0xa05
mov dword [ecx + 4], 0x41
mov dword [ecx], 0x841bf3
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x60], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x5c], eax
jmp 0x10001339
mov eax, dword [esp + 0x1b4]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x58], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
je 0x1000134f
jmp 0x1000149f
mov eax, dword [esp + 0x54]
sub eax, 8
mov dword [esp + 0x4c], eax
je 0x1000137d
jmp 0x100014b2
jmp 0x100014b4
mov eax, dword [esp + 0x1b4]
add eax, 1
mov dword [esp + 0x1b4], eax
jmp 0x10001339
mov eax, esp
mov dword [eax], 0x332d05
mov eax, dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
call eax
sub esp, 4
mov ecx, dword [esp + 0x1b8]
mov edx, 0xcc29786d
mov dword [esp + 0x48], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0x13
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x10001596
jmp 0x10001512
mov eax, dword [esp + 0x44]
sub eax, 0x5b
mov dword [esp + 0x3c], eax
jne 0x10001382
jmp 0x10001525
xor eax, eax
mov ecx, 0xc0
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.1001ef70
mov eax, esp
lea ecx, [esp + 0xd8]
mov dword [eax], ecx
call sub.POWRPROF.dll_WriteGlobalPwrPolicy
sub esp, 4
mov dword [esp + 0x19c], 0xd7b
mov ecx, esp
lea edx, [esp + 0x19c]
mov dword [ecx + 4], edx
mov dword [ecx], 0x644303
mov ecx, dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
mov byte [esp + 0x33], al
call ecx
sub esp, 8
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [eax], 0xd2
mov eax, dword [sym.imp.USER32.dll_GetSysColorBrush]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x6dbad0
mov ecx, dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov dword [esp + 0x24], eax
jmp 0x10001624
cmp dword [esp + 0x1bc], 0xa
je 0x10001622
mov eax, esp
mov dword [eax], 0xca0c32
mov eax, dword [sym.imp.KERNEL32.dll_GlobalSize]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x21c
mov dword [ecx + 4], 0xc29
mov dword [ecx], 0x51442b
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1bc]
add eax, 1
mov dword [esp + 0x1bc], eax
jmp 0x100015c5
jmp 0x10001624
mov eax, dword [sym.imp.USER32.dll_GetMessagePos]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1b8]
add eax, 1
mov dword [esp + 0x1b8], eax
jmp 0x10001392
mov esp, ebp
pop ebp
ret