Function at 0x10001287
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x210
mov eax, esp
mov dword [eax + 4], 0xbb6
mov dword [eax], 0x6ea7f0
mov eax, dword [sym.imp.GDI32.dll_SetDCBrushColor]
call eax
sub esp, 8
lea ecx, [esp + 0x108]
mov edx, esp
mov dword [edx + 0x14], 0x141
mov dword [edx + 0x10], 0x617
mov dword [edx + 0xc], 0xa17
mov dword [edx + 8], 0xa17
mov dword [edx + 4], 0x617
mov dword [edx], 0xa4339a
mov edx, dword [sym.imp.GDI32.dll_PatBlt]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], ecx
call edx
sub esp, 0x18
xor ecx, ecx
mov edx, 0x10
lea esi, [esp + 0x200]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xc4], edx
call fcn.101bf750
mov eax, esp
lea ecx, [esp + 0x200]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x7b4
mov dword [ecx], 0xf00756
mov ecx, dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x148]
lea esi, [esp + 0x110]
lea edi, [esp + 0xf0]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ecx
jmp 0x10001554
mov eax, dword [esp + 0xa8]
inc eax
mov ecx, esp
lea edx, [esp + 0x148]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 4
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov ecx, esp
mov edx, dword [esp + 0xd0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_FreeEncryptionCertificateHashList]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax + 4], 0xafa
mov dword [eax], 0xa3294
mov eax, dword [sym.imp.USER32.dll_UnregisterHotKey]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x1c
mov dword [ecx], 0x8dc5b0
mov ecx, dword [sym.imp.KERNEL32.dll_GetConsoleFontSize]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0xa4]
cmp ecx, 0xa
mov dword [esp + 0x98], eax
mov dword [esp + 0xa8], ecx
je 0x100017b2
jmp 0x100013a9
xor eax, eax
mov ecx, esp
mov dword [ecx + 4], 0x392940
mov dword [ecx], 0x6626ad
mov ecx, dword [sym.imp.ADVAPI32.dll_NotifyChangeEventLog]
mov dword [esp + 0x94], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, dword [esp + 0x90]
sub edx, 2
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
je 0x1000170c
jmp 0x100014ad
mov eax, dword [esp + 0x90]
sub eax, 0x30
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov dword [esp + 0xa8], ecx
jne 0x100013a9
jmp 0x100014d4
mov eax, esp
mov dword [eax + 0x10], 0x379
mov dword [eax + 0xc], 0xcfd0b5
mov dword [eax + 8], 0x3fa
mov dword [eax + 4], 0x2c7
mov dword [eax], 0xa1b88
mov eax, dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
call eax
sub esp, 0x14
mov ecx, esp
lea edx, [esp + 0x1f8]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xf7f
mov dword [ecx], 0xa8a4b
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x120]
mov dword [ecx + 4], edx
mov dword [ecx], 0xdd0961
mov ecx, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov dword [esp + 0x74], eax
jmp 0x1000170c
mov eax, dword [esp + 0xac]
mov ecx, dword [sym.imp.USER32.dll_GetInputState]
mov dword [esp + 0x90], eax
call ecx
mov word [esp + 0xec], 0x30
mov ecx, esp
lea edx, [esp + 0xec]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x1ed
mov dword [ecx + 4], str.bfn5_1vxCIVihw
mov dword [ecx], 0xa7e
mov ecx, dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 8], 0x7e4
mov dword [ecx + 4], 0x7e1
mov dword [ecx], 0xbe4498
mov ecx, dword [sym.imp.KERNEL32.dll_PrepareTape]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x266da5
mov ecx, dword [sym.imp.USER32.dll_IsZoomed]
mov dword [esp + 0x68], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0x5fa01e
mov dword [ecx + 0xc], 0x3d1de3
mov dword [ecx + 8], 0xdfd
mov dword [ecx + 4], 0xdfd
mov dword [ecx], 0xede207
mov dword [esp + 0x64], eax
call sub.USER32.dll_ReuseDDElParam
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x5c]
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, 0xa
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
je 0x100016ca
jmp 0x10001649
mov eax, dword [esp + 0x54]
sub eax, 4
mov dword [esp + 0x4c], eax
jne 0x100016ef
jmp 0x1000165c
mov eax, esp
lea ecx, [esp + 0x128]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x9cd
mov dword [eax], 0x2cd
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
xor ecx, ecx
mov edx, 0x14
mov esi, dword [esp + 0xb0]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
call fcn.101bf750
mov eax, esp
lea ecx, [esp + 0xf0]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetCursorInfo]
call eax
sub esp, 4
mov dword [esp + 0x3c], eax
mov eax, esp
lea ecx, [esp + 0xd8]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetClipCursor]
call eax
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetInputState]
mov dword [esp + 0x38], eax
call ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
add eax, 1
cmp eax, 0x99
mov dword [esp + 0x5c], eax
je 0x10001461
jmp 0x10001619
xor eax, eax
mov ecx, 0xc
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call fcn.101bf750
mov eax, esp
lea ecx, [esp + 0x110]
mov dword [eax + 4], ecx
mov dword [eax], ecx
call sub.urlmon.dll_CopyStgMedium
sub esp, 8
mov word [esp + 0xee], 2
mov ecx, esp
lea edx, [esp + 0xee]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], 0xcef
mov dword [ecx + 8], str.ZA2FjE7MnWcS_8
mov dword [ecx + 4], 0xab0
mov dword [ecx], 0x18d
mov ecx, dword [sym.imp.KERNEL32.dll_GetStringTypeA]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 4], 0x84f314
mov dword [ecx], 0x5b6f19
mov ecx, dword [sym.imp.GDI32.dll_SetColorSpace]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [eax], 0x6c0966
mov eax, dword [sym.imp.SHLWAPI.dll_SHCreateShellPalette]
call eax
sub esp, 4
mov ecx, dword [esp + 0x90]
add ecx, 1
cmp ecx, 0x52
mov dword [esp + 0x1c], eax
mov dword [esp + 0xac], ecx
jne 0x10001554
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret