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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, esp
mov dword [eax + 4], 0x723780
mov dword [eax], 0x1a3c86
mov eax, dword [sym.imp.USER32.dll_ExcludeUpdateRgn]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xb492a4
mov ecx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [esp + 0x98], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xe2d
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov dword [esp + 0x94], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xb0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
jmp 0x10001fce
mov eax, dword [esp + 0x84]
mov ecx, 0xcccccccd
mov dword [esp + 0x80], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x80]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
je 0x10002058
jmp 0x10001fb8
mov eax, dword [esp + 0x7c]
sub eax, 9
mov dword [esp + 0x74], eax
je 0x10002058
jmp 0x1000206e
mov eax, dword [esp + 0x88]
mov ecx, esp
mov dword [ecx], 0x9e1b59
mov ecx, dword [sym.imp.GDI32.dll_GetGraphicsMode]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x3fccbd
mov ecx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xd089f9
mov dword [ecx], 0xd089f9
mov ecx, dword [sym.imp.USER32.dll_ChangeClipboardChain]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x28b
mov dword [ecx + 4], 0x95773f
mov dword [ecx], 0x56739e
mov ecx, dword [sym.imp.USER32.dll_InvalidateRgn]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], ecx
jmp 0x10001f7f
mov eax, esp
mov dword [eax], 0x88684
mov eax, dword [sym.imp.USER32.dll_CloseWindow]
call eax
sub esp, 4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
add eax, 1
cmp eax, 0x33d
mov dword [esp + 0x84], eax
jne 0x10001f7f
mov eax, dword [esp + 0x70]
sub eax, 0xb
mov dword [esp + 0x58], eax
je 0x100020f0
jmp 0x1000209b
mov eax, dword [esp + 0x70]
sub eax, 0x34
mov dword [esp + 0x54], eax
jne 0x100021da
jmp 0x100020ae
mov eax, esp
mov dword [eax + 4], 0xd13
mov dword [eax], 0x4be38d
mov eax, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x18c
mov dword [ecx + 4], 0xe1c
mov dword [ecx], 0xccbba6
mov ecx, dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x4c], eax
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], 0x9174f5
mov dword [eax + 0x10], 0x4e4
mov dword [eax + 0xc], 0x4e4
mov dword [eax + 8], 0x32f
mov dword [eax + 4], 0x103
mov dword [eax], 0x757e46
mov eax, dword [sym.imp.USER32.dll_TrackPopupMenu]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x2c], 0x6ac
mov dword [ecx + 0x28], 0x295
mov dword [ecx + 0x24], 0x670
mov dword [ecx + 0x20], 0x998835
mov dword [ecx + 0x1c], 0x12b
mov dword [ecx + 0x18], 0xa7d
mov dword [ecx + 0x14], 0x276039
mov dword [ecx + 0x10], 0xb9b
mov dword [ecx + 0xc], 0xb9b
mov dword [ecx + 8], 0xb9b
mov dword [ecx + 4], 0x12b
mov dword [ecx], 0x33b721
mov ecx, dword [sym.imp.GDI32.dll_MaskBlt]
mov dword [esp + 0x48], eax
call ecx
sub esp, 0x30
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
call fcn.10006990
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [esp + 0x70]
add eax, 1
mov dword [esp + 0xc8], 0xc00
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x9c9a7b
mov dword [ecx], 0x430f5a
mov ecx, dword [sym.imp.KERNEL32.dll_IsProcessInJob]
mov dword [esp + 0x38], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x38]
cmp ecx, 0x1b
mov dword [esp + 0x34], eax
mov dword [esp + 0x88], ecx
jne 0x10001fce
lea esp, [ebp - 4]
pop esi
pop ebp
ret