Function at 0x1000211a
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 + 0x98], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [esp + 0x94], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xe2d
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov dword [esp + 0x90], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xb0]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ecx
jmp 0x100021ed
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 + 0x80], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x100022fa
mov eax, dword [esp + 0x84]
mov ecx, esp
mov dword [ecx], 0x9e1b59
mov ecx, dword [sym.imp.GDI32.dll_GetGraphicsMode]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x3fccbd
mov ecx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x74], 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 + 0x70], 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 + 0x6c], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
mov ecx, 0xcccccccd
mov dword [esp + 0x60], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x60]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
je 0x100022aa
jmp 0x1000229b
mov eax, dword [esp + 0x5c]
sub eax, 9
mov dword [esp + 0x54], eax
jne 0x100022c0
jmp 0x100022aa
mov eax, esp
mov dword [eax], 0x88684
mov eax, dword [sym.imp.USER32.dll_CloseWindow]
call eax
sub esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
add eax, 1
cmp eax, 0x33d
mov dword [esp + 0x64], eax
jne 0x1000226f
mov eax, dword [esp + 0x78]
sub eax, 0x34
mov dword [esp + 0x4c], eax
je 0x100021a3
jmp 0x100022e7
mov eax, dword [esp + 0x78]
sub eax, 0xb
mov dword [esp + 0x48], eax
jne 0x100023e4
jmp 0x100022fa
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 + 0x44], eax
call ecx
sub esp, 0x30
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x88]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
call fcn.10006a10
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 + 0x78]
add eax, 1
mov dword [esp + 0x9c], 0xc00
mov ecx, esp
lea edx, [esp + 0x9c]
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 + 0x34], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x34]
cmp ecx, 0x1b
mov dword [esp + 0x30], eax
mov dword [esp + 0x84], ecx
jne 0x100021ed
lea esp, [ebp - 4]
pop esi
pop ebp
ret