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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
xor eax, eax
mov dword [esp + 0xd0], eax
jmp 0x100012e3
mov eax, esp
mov dword [eax + 0x2c], 0x3a8
mov dword [eax + 0x28], 0x78a
mov dword [eax + 0x24], 0xc2f
mov dword [eax + 0x20], 0x5da583
mov dword [eax + 0x1c], 0xc2f
mov dword [eax + 0x18], 0x50f
mov dword [eax + 0x14], 0x735ebe
mov dword [eax + 0x10], 0x50f
mov dword [eax + 0xc], 0x50f
mov dword [eax + 8], 0xe4
mov dword [eax + 4], 0x78a
mov dword [eax], 0x84966a
mov eax, dword [sym.imp.GDI32.dll_MaskBlt]
call eax
sub esp, 0x30
mov dword [esp + 0xcc], eax
jmp 0x100017c2
mov eax, esp
mov dword [eax], 0xbab
mov eax, dword [sym.imp.USER32.dll_GetSysColor]
call eax
sub esp, 4
mov dword [esp + 0xc8], eax
jmp 0x100013cb
mov eax, dword [esp + 0xd0]
mov ecx, esp
mov dword [ecx + 4], 0x5fa
mov dword [ecx], 0x5fa
mov ecx, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov dword [esp + 0xc4], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x150e46
mov dword [ecx], 0x781
mov ecx, dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x3e9
mov dword [ecx], 0x3e9
mov ecx, dword [sym.imp.KERNEL32.dll_Beep]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x9b489d
mov ecx, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xb0]
mov ecx, 0x38e38e39
mov dword [esp + 0xac], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0xac]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], eax
je 0x100012c5
jmp 0x100013b6
mov eax, dword [esp + 0xa8]
sub eax, 0xb
mov dword [esp + 0xa0], eax
jne 0x100013fc
jmp 0x100013cb
mov eax, esp
lea ecx, [esp + 0xd8]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x6e5
mov dword [eax + 4], 0x1f8
mov dword [eax], 0xb413f8
mov eax, dword [sym.imp.GDI32.dll_SetViewportExtEx]
call eax
sub esp, 0x10
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xac]
add eax, 1
cmp eax, 0x17
mov dword [esp + 0xb0], eax
jne 0x10001377
mov dword [esp + 0xd4], 0x24
mov eax, esp
lea ecx, [esp + 0xd4]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xe0]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0xe24
mov dword [eax], 0xbe0074
mov eax, dword [sym.imp.GDI32.dll_PolyPolyline]
call eax
sub esp, 0x10
mov ecx, dword [esp + 0xc4]
sub ecx, 0xe
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
je 0x1000125a
jmp 0x10001472
mov eax, dword [esp + 0xc4]
sub eax, 0x26
mov dword [esp + 0x90], eax
je 0x10001739
jmp 0x1000148b
mov eax, esp
mov dword [eax + 4], 0x58
mov dword [eax], 0x58
mov eax, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x88], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x80], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x70], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x60], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x58], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x50], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIA]
mov dword [esp + 0x48], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x24b
mov dword [ecx + 4], 0x26
mov dword [ecx], 0x28049a
mov ecx, dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [esp + 0x44], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x100017c2
mov eax, esp
mov dword [eax + 0x20], 0xcd1
mov dword [eax + 0x1c], 0xa66
mov dword [eax + 0x18], 0x93d
mov dword [eax + 0x14], 0x93d
mov dword [eax + 0x10], 0xa66
mov dword [eax + 0xc], 0xa66
mov dword [eax + 8], 0xa66
mov dword [eax + 4], 0xa66
mov dword [eax], 0x92e880
mov eax, dword [sym.imp.GDI32.dll_Chord]
call eax
sub esp, 0x24
mov ecx, esp
mov dword [ecx + 4], 0xf85
mov dword [ecx], 0x9c1ae3
mov ecx, dword [sym.imp.USER32.dll_GetClassWord]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x305cb3
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov word [esp + 0x3a], ax
call ecx
sub esp, 4
mov dword [esp + 0x34], eax
jmp 0x1000125a
mov eax, esp
lea ecx, [esp + 0xe8]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call eax
sub esp, 4
mov eax, dword [esp + 0xc4]
add eax, 1
cmp eax, 0x67
mov dword [esp + 0xd0], eax
jne 0x100012e3
mov esp, ebp
pop ebp
ret