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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x208
lea eax, [esp + 0x1f8]
lea ecx, [esp + 0x190]
lea edx, [esp + 0x188]
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x1f8], 0
mov esi, esp
mov dword [esi + 8], eax
lea eax, [esp + 0x200]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0x241
mov dword [esi], 0x8485d9
mov eax, dword [sym.imp.GDI32.dll_PlayMetaFileRecord]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], ecx
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0x516
mov dword [ecx], 0x810eed
mov ecx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esp + 0xcc], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0x7cf74f
mov dword [ecx + 0xc], 0x7cf74f
mov dword [ecx + 8], 0x239
mov dword [ecx + 4], 0x768
mov dword [ecx], 0xc2243
mov dword [esp + 0xc8], eax
call sub.USER32.dll_ReuseDDElParam
sub esp, 0x14
mov ecx, esp
lea edx, [esp + 0x1f0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x4831b4
mov ecx, dword [sym.imp.GDI32.dll_GetBrushOrgEx]
mov dword [esp + 0xc4], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 5
mov ecx, dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xde9ae5
mov ecx, dword [sym.imp.GDI32.dll_FlattenPath]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x1e0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xe88
mov dword [ecx + 4], 0x940222
mov dword [ecx], 0x69cdbc
mov ecx, dword [sym.imp.USER32.dll_GetMenuItemRect]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x1d8]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xd74
mov dword [ecx], 0x7ab99f
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0xb2e40f
mov dword [ecx], 0xb3e142
mov ecx, dword [sym.imp.USER32.dll_SetMenu]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0xd8]
lea esi, [esp + 0x1a0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ecx
jmp 0x10001545
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, esp
mov dword [eax], 0xd2fc8e
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFree]
call eax
sub esp, 4
mov ecx, dword [esp + 0x9c]
add ecx, 1
cmp ecx, 0x60
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], ecx
je 0x1000150a
mov eax, dword [esp + 0xa0]
mov ecx, esp
mov dword [ecx], 0xa52bfa
mov ecx, dword [sym.imp.USER32.dll_CloseDesktop]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0xdbe
mov dword [ecx + 4], 0xb1
mov dword [ecx], 0x1d0840
mov ecx, dword [sym.imp.GDI32.dll_OffsetClipRgn]
mov dword [esp + 0x94], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, 0x34
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x34
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
call sub.msvcrt.dll_memset
mov dword [esp + 0x19c], 0x258
mov eax, esp
lea ecx, [esp + 0x19c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x1a0]
mov dword [eax + 4], ecx
mov dword [eax], 0xad464f
mov eax, dword [sym.imp.KERNEL32.dll_GetCommConfig]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x201
mov dword [ecx], 0x5ca8d0
mov ecx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x84], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x236f76
mov ecx, dword [sym.imp.GDI32.dll_GetStretchBltMode]
mov dword [esp + 0x80], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [esp + 0x7c], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
jmp 0x100016f5
mov eax, esp
mov dword [eax + 4], 0xe24
mov dword [eax], 0x748de
mov eax, dword [sym.imp.GDI32.dll_SetSystemPaletteUse]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xeee299
mov ecx, dword [sym.imp.USER32.dll_CloseDesktop]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov dword [esp + 0x6c], eax
jmp 0x1000176e
mov eax, esp
mov dword [eax + 4], 0xb29
mov dword [eax], 0xeb0
mov eax, dword [sym.imp.KERNEL32.dll_SleepEx]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 0xc], str.Tz_tyofH8
mov dword [ecx + 8], 0x8a9
mov dword [ecx + 4], 0x62b
mov dword [ecx], str.Tz_tyofH8
mov ecx, dword [sym.imp.SHLWAPI.dll_StrCatChainW]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0x8738f4
mov dword [ecx], 0x23bd7e
mov ecx, dword [sym.imp.USER32.dll_ValidateRgn]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov dword [esp + 0x60], eax
jmp 0x10001510
mov eax, dword [esp + 0x74]
mov ecx, 0x38e38e39
mov dword [esp + 0x5c], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
je 0x10001650
jmp 0x10001725
mov eax, dword [esp + 0x58]
sub eax, 6
mov dword [esp + 0x50], eax
jne 0x1000176e
jmp 0x10001734
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 0x4281db
mov ecx, dword [sym.imp.USER32.dll_RealChildWindowFromPoint]
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0x4c], eax
call ecx
mov dword [esp + 0x48], eax
jmp 0x10001650
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0x1c1
mov dword [esp + 0x74], eax
jne 0x100016f5
mov eax, esp
mov dword [eax + 4], 0xadf
mov dword [eax], 0x178eb7
mov eax, dword [sym.imp.USER32.dll_ShowWindowAsync]
call eax
sub esp, 8
mov dword [esp + 0x44], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x9c]
sub edx, 0x11
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x10001689
jmp 0x100017c5
mov eax, dword [esp + 0x9c]
sub eax, 0x28
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jne 0x10001865
jmp 0x100017e3
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 0
mov eax, esp
mov ecx, dword [esp + 0xd4]
mov dword [eax + 4], ecx
mov dword [eax], 0xbff2c3
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
call eax
sub esp, 8
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [eax + 0x10], 0xf4dc87
mov dword [eax + 0xc], 0x7ed
mov dword [eax + 8], 0xfdf
mov dword [eax + 4], 0x6ca
mov dword [eax], 0x7c2
mov eax, dword [sym.imp.USER32.dll_mouse_event]
call eax
sub esp, 0x14
mov eax, esp
lea ecx, [esp + 0xd8]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
jmp 0x10001689
mov eax, dword [esp + 0x30]
mov ecx, dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esp + 0x24], eax
call ecx
mov ecx, esp
mov dword [ecx + 8], 0xe44
mov dword [ecx + 4], 0xe44
mov dword [ecx], 0xfaa7b6
mov ecx, dword [sym.imp.GDI32.dll_OffsetRgn]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], 0x5d0
mov dword [ecx + 4], 0x58
mov dword [ecx], str.tgbG__17SQ
mov ecx, dword [sym.imp.SHLWAPI.dll_StrChrNW]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x24]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
je 0x10001510
jmp 0x10001865