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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10131c40]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [ebx]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x70], ebx
cmp edx, 0x4b
je 0x10005d91
mov eax, dword [edi + 4]
mov dword [eax + 0x46c], 0xffffffff
lea eax, [edx - 1]
mov edx, 1
cmp eax, 0x75
ja case.0x10005da2.53
jmp dword [eax*4 + 0x10007f38]
push ecx
mov ecx, dword [edi + 4]
push esi
call fcn.1000ed70
mov eax, dword [edi + 4]
push 2
mov byte [eax + 0x470], 0
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
lea eax, [edi + 0x24]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
jmp case.0x10005da2.53
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
sar eax, 2
test eax, eax
je 0x10005e20
mov eax, dword [edi + 0x18]
xor ebx, ebx
sub eax, dword [edi + 0x14]
test eax, 0xfffffffc
jle 0x10005e1a
jmp 0x10005e00
mov eax, dword [edi + 0x14]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [edi + 0x18]
inc ebx
sub eax, dword [edi + 0x14]
sar eax, 2
cmp ebx, eax
jl 0x10005e00
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
push esi
call fcn.10010c20
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0xc]
push esi
push dword [ebx + 8]
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 0x9c]
push esi
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_GdiComment]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push dword [ebx + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetMapMode]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetBkMode]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetPolyFillMode]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push dword [ebx + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetROP2]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetStretchBltMode]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetTextAlign]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x4c]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [edi + 4]
mov byte [eax + 0x470], 1
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x470], 0
je case.0x10005da2.53
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x50]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x10005da2.53
push dword [ebx + 0x14]
mov ecx, dword [edi + 4]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push esi
call dword [eax + 0x40]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
test eax, eax
jns 0x10005fd9
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
and eax, 0x7fffffff
push eax
call esi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x58]
call edi
mov eax, dword [ebx + 8]
and eax, 0x7fffffff
push eax
call esi
mov ecx, dword [ebp - 0x68]
push eax
push dword [ecx + 0x20]
call edi
jmp case.0x10005da2.53
push dword [ecx + eax*4]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
push dword [edx + eax*4]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
push dword [ecx + eax*4]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + eax*4], 0
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
and esi, 0xf00
mov dword [ecx + 0x494], eax
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
mov edx, dword [ebx + 0x14]
xor edx, esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], edx
test esi, esi
jne 0x100060e1
push dword [ebx + 0x10]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x34]
push esi
lea edi, [ebx + 0x24]
push edi
mov eax, dword [ecx]
push edx
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebp - 0x58]
call dword [eax + 0x100]
push 0
push dword [ebx + 0x10]
push esi
push edi
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x68]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [ebp - 0x64]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
jmp case.0x10005da2.53
cmp esi, 0x100
jne 0x10006132
push dword [ebx + 0x10]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x24]
push esi
push 0
push edx
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push dword [ebp - 0x58]
call dword [eax + 0x100]
push 0
push dword [ebx + 0x10]
push esi
push 0
push dword [ebp - 0x54]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [ebp - 0x64]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
jmp case.0x10005da2.53
cmp esi, 0x200
jne 0x10006166
push dword [ebx + 0x10]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x34]
push esi
lea edi, [ebx + 0x24]
push edi
mov eax, dword [ecx]
push edx
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebp - 0x58]
call dword [eax + 0xfc]
push 0
push dword [ebx + 0x10]
push esi
push edi
mov edi, dword [ebp - 0x68]
jmp 0x10006194
cmp esi, 0x300
jne 0x100061a6
push dword [ebx + 0x10]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x24]
push esi
push 0
push edx
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push dword [ebp - 0x58]
call dword [eax + 0xfc]
push 0
push dword [ebx + 0x10]
push esi
push 0
push dword [ebp - 0x54]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push dword [ebp - 0x64]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x24]
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
jmp case.0x10005da2.53
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x1000623a
xor eax, eax
jmp 0x1000623d
lea eax, [ebx + 0x34]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_MoveToEx]
call esi
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x78]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_LineTo]
jmp case.0x10005da2.53
push dword [ebx + 0x14]
mov ecx, dword [edi + 4]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push esi
call dword [eax + 0x64]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Rectangle]
jmp case.0x10005da2.53
push dword [ebx + 0x14]
mov ecx, dword [edi + 4]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push esi
call dword [eax + 0x60]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Ellipse]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x18], ecx
jbe 0x1000638e
lea edx, [ebx + 0x1e]
mov esi, eax
jmp 0x10006370
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x10006370
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebx + 8]
mov edx, 1
test ecx, ecx
je 0x100063ac
mov eax, dword [eax]
cdq
idiv ecx
mov edx, eax
mov eax, 1
cmp edx, 1
cmovl edx, eax
mov ecx, dword [edi + 4]
mov dword [ecx + 0x51c], edx
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xd4]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Polygon]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x18], ecx
jbe 0x1000642c
lea edx, [ebx + 0x1e]
mov esi, eax
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x10006411
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xd8]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x100063d7
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x18], ecx
jbe 0x10006490
lea edx, [ebx + 0x1e]
mov esi, eax
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x10006475
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xe0]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolylineTo]
jmp 0x100063d7
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x18], ecx
jbe 0x100064fb
lea edx, [ebx + 0x1e]
mov esi, eax
lea esp, [esp]
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x100064e0
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xd0]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyBezier]
jmp 0x100063d7
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x18], ecx
jbe 0x1000656b
lea edx, [ebx + 0x1e]
mov esi, eax
jmp 0x10006550
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x10006550
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xdc]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyBezierTo]
jmp 0x100063d7
mov eax, dword [ebx + 0x18]
lea esi, [ebx + eax*4]
mov eax, dword [ebx + 0x1c]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov edx, eax
mov dword [ebp - 0x64], edx
cmp dword [ebx + 0x1c], ecx
jbe 0x100065d7
lea ebx, [ebx]
movsx eax, word [esi + ecx*4 + 0x20]
mov dword [edx + ecx*8], eax
movsx eax, word [esi + ecx*4 + 0x22]
mov dword [edx + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x100065c0
push dword [ebx + 0x18]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x20]
push esi
push edx
push dword [ebp - 0x58]
mov eax, dword [ecx]
call dword [eax + 0xe8]
push dword [ebx + 0x18]
push esi
mov esi, dword [ebp - 0x64]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyPolygon]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
lea esi, [ebx + eax*4]
mov eax, dword [ebx + 0x1c]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov edx, eax
mov dword [ebp - 0x64], edx
cmp dword [ebx + 0x1c], ecx
jbe 0x10006657
jmp 0x10006640
movsx eax, word [esi + ecx*4 + 0x20]
mov dword [edx + ecx*8], eax
movsx eax, word [esi + ecx*4 + 0x22]
mov dword [edx + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x10006640
push dword [ebx + 0x18]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x20]
push esi
push edx
push dword [ebp - 0x58]
mov eax, dword [ecx]
call dword [eax + 0xe4]
push dword [ebx + 0x18]
push esi
mov esi, dword [ebp - 0x64]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyPolyline]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp case.0x10005da2.53
push dword [ebx + 0x44]
mov eax, dword [ebx + 0x30]
push dword [ebx + 0x40]
add eax, ebx
push eax
mov eax, dword [ebx + 0x38]
add eax, ebx
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push dword [ebx + 0x44]
mov eax, dword [ebx + 0x30]
push dword [ebx + 0x40]
mov ecx, dword [edi + 4]
add eax, ebx
push eax
mov eax, dword [ebx + 0x38]
add eax, ebx
mov edx, dword [ecx]
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call dword [edx + 0xc4]
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x1000672c
add eax, ebx
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x494], eax
push dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [edi + 4]
add eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x34]
mov edx, dword [ecx]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push esi
call dword [edx + 0xc8]
push dword [ebx + 0x18]
push dword [edi + 0x20]
mov edi, dword [sym.imp.GDI32.dll_SetGraphicsMode]
call edi
push dword [ebp - 0x54]
mov ecx, dword [ebx + 0x30]
mov esi, eax
push dword [ebx + 0x2c]
add ecx, ebx
lea eax, [ebp - 0x18]
push ecx
push eax
push dword [ebx + 0x34]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
mov ebx, dword [ebp - 0x68]
push dword [ebx + 0x20]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push esi
push dword [ebx + 0x20]
call edi
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x100067c8
add eax, ebx
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x494], eax
push dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [edi + 4]
add eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x34]
mov edx, dword [ecx]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push esi
call dword [edx + 0xcc]
push dword [ebx + 0x18]
push dword [edi + 0x20]
mov edi, dword [sym.imp.GDI32.dll_SetGraphicsMode]
call edi
push dword [ebp - 0x54]
mov ecx, dword [ebx + 0x30]
mov esi, eax
push dword [ebx + 0x2c]
add ecx, ebx
lea eax, [ebp - 0x18]
push ecx
push eax
push dword [ebx + 0x34]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
mov ebx, dword [ebp - 0x68]
push dword [ebx + 0x20]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push esi
push dword [ebx + 0x20]
call edi
jmp case.0x10005da2.53
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
test eax, eax
jns 0x10006873
and eax, 0x7fffffff
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
jmp case.0x10005da2.53
push 1
push dword [ecx + eax*4]
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
jmp case.0x10005da2.53
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp case.0x10005da2.53
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x10006906
cmp dword [ebx + 0xc], 5
jne 0x10006906
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov eax, dword [edi + 4]
add eax, 0x468
mov dword [ebp - 0x64], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100068d3
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x64]
mov dword [eax], 0
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
push 5
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0xac]
push 5
push 0
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0x46c], eax
jmp case.0x10005da2.53
lea eax, [ebx + 0x10]
push eax
push ecx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov ecx, dword [edi + 4]
mov esi, eax
push dword [ebx + 0xc]
push esi
mov edx, dword [ecx]
push dword [ebp - 0x58]
call dword [edx + 0xac]
push dword [ebx + 0xc]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0x46c], eax
jmp case.0x10005da2.53
push esi
mov esi, dword [sym.imp.GDI32.dll_SetMetaRgn]
call esi
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 8]
push esi
push dword [ebp - 0x58]
mov eax, dword [ecx]
call dword [eax + 0x54]
lea eax, [edi + 0x24]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
push 2
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax]
push dword [ebx + 0x18]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyBezier]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 4]
push dword [ebx + 0x18]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Polygon]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 8]
push dword [ebx + 0x18]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Polyline]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 0xc]
push dword [ebx + 0x18]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyBezierTo]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 0x10]
push dword [ebx + 0x18]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolylineTo]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x20]
mov ecx, dword [edi + 4]
push eax
add eax, 8
push esi
mov edx, dword [ecx]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x58]
call dword [edx + 0x14]
mov eax, dword [ebx + 0x18]
push eax
add eax, 8
push esi
lea eax, [ebx + eax*4]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyPolyline]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x20]
mov ecx, dword [edi + 4]
push eax
add eax, 8
push esi
mov edx, dword [ecx]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x58]
call dword [edx + 0x18]
mov eax, dword [ebx + 0x18]
push eax
add eax, 8
push esi
lea eax, [ebx + eax*4]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyPolygon]
jmp case.0x10005da2.53
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetBrushOrgEx]
call esi
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push dword [ebx + 0x10]
mov ecx, dword [edi + 4]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x2c]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetPixelV]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetMapperFlags]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov edi, dword [sym.imp.GDI32.dll_SetColorAdjustment]
lea esi, [ebx + 8]
push esi
push dword [ebp - 0x58]
call edi
mov ecx, dword [ebp - 0x68]
push esi
push dword [ecx + 0x20]
call edi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x38]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_OffsetClipRgn]
jmp case.0x10005da2.53
push dword [ebx + 0x14]
mov ecx, dword [edi + 4]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
push esi
call dword [eax + 0x3c]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x44]
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ScaleViewportExtEx]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x48]
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ScaleWindowExtEx]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
lea esi, [ebx + 8]
push dword [ebx + 0x20]
push esi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 0x58]
push dword [ebx + 0x20]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
cmp dword [ebx + 0x20], 1
jne case.0x10005da2.53
lea eax, [edi + 0x24]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
jmp case.0x10005da2.53
movss xmm0, dword [ebx + 0x18]
sub esp, 8
mov ecx, dword [edi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x14]
mov eax, dword [ecx]
movss dword [esp], xmm0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x5c]
movss xmm0, dword [ebx + 0x18]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [esp], xmm0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_AngleArc]
jmp case.0x10005da2.53
push dword [ebx + 0x1c]
mov ecx, dword [edi + 4]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
mov eax, dword [ecx]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x68]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_RoundRect]
jmp case.0x10005da2.53
push dword [ebx + 0x24]
mov ecx, dword [edi + 4]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x6c]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Arc]
jmp case.0x10005da2.53
push dword [ebx + 0x24]
mov ecx, dword [edi + 4]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x70]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Chord]
jmp case.0x10005da2.53
push dword [ebx + 0x24]
mov ecx, dword [edi + 4]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x74]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_Pie]
jmp case.0x10005da2.53
push dword [ebx + 0x24]
mov ecx, dword [edi + 4]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push esi
call dword [eax + 0x7c]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ArcTo]
jmp case.0x10005da2.53
push dword [ebx + 0x18]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x24]
push esi
lea edi, [ebx + 0x1c]
push edi
mov eax, dword [ecx]
push dword [ebp - 0x58]
call dword [eax + 0x80]
push dword [ebx + 0x18]
mov ecx, dword [ebp - 0x68]
push esi
push edi
push dword [ecx + 0x20]
call dword [sym.imp.GDI32.dll_PolyDraw]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetArcDirection]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
movss xmm0, dword [ebx + 8]
push 0
push ecx
movss dword [esp], xmm0
push esi
mov esi, dword [sym.imp.GDI32.dll_SetMiterLimit]
call esi
movss xmm0, dword [ebx + 8]
push 0
push ecx
movss dword [esp], xmm0
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x84]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_BeginPath]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x88]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_EndPath]
jmp case.0x10005da2.53
push esi
mov esi, dword [sym.imp.GDI32.dll_CloseFigure]
call esi
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_FillPath]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x90]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_StrokeAndFillPath]
jmp case.0x10005da2.53
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x94]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_StrokePath]
jmp case.0x10005da2.53
push esi
mov esi, dword [sym.imp.GDI32.dll_FlattenPath]
call esi
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
push esi
mov esi, dword [sym.imp.GDI32.dll_WidenPath]
call esi
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
cmp dword [ebx + 8], 4
jne 0x10006f55
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push esi
mov dword [ebp - 0x64], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
test eax, eax
jne 0x10006f47
mov ecx, dword [edi + 4]
push 2
push dword [ecx + 0x468]
mov edx, dword [ecx]
push esi
call dword [edx + 0xac]
mov eax, dword [edi + 4]
push 2
push dword [eax + 0x468]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10006f55
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [edi + 4]
push dword [ebx + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x98]
push dword [ebx + 8]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SelectClipPath]
jmp case.0x10005da2.53
push esi
mov esi, dword [sym.imp.GDI32.dll_AbortPath]
call esi
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateColorSpaceA]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
test eax, eax
jns 0x10006fc0
and eax, 0x7fffffff
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetColorSpace]
jmp case.0x10005da2.53
push dword [ecx + eax*4]
push esi
call dword [sym.imp.GDI32.dll_SetColorSpace]
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
push dword [ecx + eax*4]
call dword [sym.imp.GDI32.dll_DeleteColorSpace]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetICMMode]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
add ebx, 8
push ebx
push esi
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
push ebx
mov edi, eax
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_SetPixelFormat]
call esi
mov ecx, dword [ebp - 0x68]
push ebx
push edi
push dword [ecx + 0x20]
call esi
jmp case.0x10005da2.53
lea eax, [ebx + 0x14]
push eax
push dword [ebx + 0x10]
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
jmp case.0x10005da2.53
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.GDI32.dll_ResizePalette]
jmp case.0x10005da2.53
mov esi, dword [ebx + 0x10]
push dword [ebx + 0xc]
add esi, ebx
push esi
call dword [sym.imp.GDI32.dll_CreateDIBPatternBrushPt]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
mov ecx, dword [edi + 4]
push dword [ebx + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 0xf0]
jmp case.0x10005da2.53
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + ebx + 0x20]
test eax, eax
jne 0x1000708e
mov cl, byte [ecx + ebx + 0xe]
mov eax, edx
shl eax, cl
lea ecx, [eax*4 + 0x28]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov dword [ebp - 0x64], ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x54], eax
lea ecx, [edi + 0x14]
lea eax, [ebp - 0x54]
push eax
call fcn.100081d0
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x54]
movdqu xmm0, xmmword [eax + ebx]
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [eax + ebx + 0x10]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [eax + ebx + 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x100070f6
push eax
mov eax, dword [ebx + 0x18]
add eax, ebx
push eax
mov eax, dword [ebp - 0x64]
add eax, esi
push eax
call fcn.100ba600
add esp, 0xc
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x10], 0
jmp 0x1000626f
cmp dword [ebx + 0x28], 0xa000c9
je case.0x10005da2.53
mov ecx, dword [ebx + 0x2c]
xor eax, eax
mov edx, dword [ebx + 0x30]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x60], edx
cmp dword [ebx + 0x54], eax
je 0x10007202
cmp dword [ebx + 0x28], 0xe20746
jne 0x1000714b
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [ebx + 0x5c]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x4c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x5c]
call ebx
push 0xf00021
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x5c]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
push 0xcc0020
push dword [ebx + 0x50]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
push edi
push edx
push ecx
push eax
push edi
push edx
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
cmp dword [ebx + 0x20], 0
jl case.0x10005da2.53
cmp dword [ebx + 0x24], 0
jl case.0x10005da2.53
test ecx, ecx
js case.0x10005da2.53
test edx, edx
js case.0x10005da2.53
cmp dword [ebp - 0x6c], 0
jl case.0x10005da2.53
cmp dword [ebp - 0x7c], 0
jl case.0x10005da2.53
push dword [ebx + 0x28]
push edx
push ecx
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebx + 0x28]
mov ecx, dword [edi + 4]
push dword [ebp - 0x7c]
mov edi, dword [ebp - 0x5c]
push dword [ebp - 0x6c]
mov eax, dword [ecx]
push dword [ebp - 0x60]
push dword [ebp - 0x54]
push edi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call dword [eax + 0xb0]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1000728e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je case.0x10005da2.53
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp case.0x10005da2.53
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], edx
cmp dword [ebx + 0x54], eax
je 0x10007377
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [ebx + 0x5c]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x4c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x5c]
call ebx
push 0xf00021
push dword [ebp - 0x54]
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x5c]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
push 0xcc0020
push dword [ebx + 0x50]
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x2c]
push dword [ebp - 0x78]
push edi
push edx
push eax
push ecx
push edi
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
push dword [ebx + 0x28]
push edx
push ecx
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebx + 0x28]
mov ecx, dword [edi + 4]
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov eax, dword [ecx]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push edi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call dword [eax + 0xb4]
jmp 0x10007280
cmp dword [ebx + 0x54], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
je 0x100074a0
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [ebx + 0x5c]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x54], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x4c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x54]
call ebx
push 0xf00021
push dword [ebp - 0x60]
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x54]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebx + 0x50]
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x2c]
push dword [ebp - 0x78]
push edx
push edi
push eax
push ecx
push edx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x100074d8
mov esi, dword [ebx + 0x78]
lea edi, [eax + ebx]
push 0
push 1
push 1
push dword [edi + 8]
add esi, ebx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push dword [ebx + 0x6c]
mov dword [ebp - 0x7c], eax
push edi
push esi
push dword [edi + 8]
push 0
push eax
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_SetDIBits]
push dword [ebx + 0x28]
mov edi, dword [ebp - 0x54]
push dword [ebx + 0x68]
mov esi, dword [ebp - 0x68]
push dword [ebx + 0x64]
push dword [ebp - 0x7c]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push edi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [esi + 0x20]
call dword [sym.imp.GDI32.dll_MaskBlt]
push dword [ebx + 0x28]
mov ecx, dword [esi + 4]
push dword [ebx + 0x68]
mov esi, dword [ebp - 0x7c]
push dword [ebx + 0x64]
mov eax, dword [ecx]
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x6c]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push edi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 0x58]
call dword [eax + 0xb8]
mov eax, dword [ebp - 0x64]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x1000754a
push eax
call ebx
test esi, esi
je 0x1000728e
push esi
call ebx
jmp 0x1000728e
cmp dword [ebx + 0x60], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
je 0x10007632
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x60]
mov edi, eax
mov eax, dword [ebx + 0x68]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x54], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x58]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x54]
call ebx
push 0xf00021
push dword [ebp - 0x60]
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [eax + 0x34]
push dword [eax + 0x30]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x54]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebx + 0x5c]
mov eax, dword [ebx + 0x34]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x30]
push dword [ebp - 0x78]
push edx
push edi
push eax
push ecx
push edx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x1000766d
mov esi, dword [ebx + 0x84]
lea edi, [eax + ebx]
push 0
push 1
push 1
push dword [edi + 8]
add esi, ebx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push dword [ebx + 0x78]
mov dword [ebp - 0x7c], eax
push edi
push esi
push dword [edi + 8]
push 0
push eax
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_SetDIBits]
push dword [ebx + 0x74]
mov eax, dword [ebx + 0x18]
lea edx, [ebp - 0x20]
push dword [ebx + 0x70]
mov esi, dword [ebp - 0x68]
push dword [ebp - 0x7c]
mov edi, dword [ebp - 0x54]
push dword [ebp - 0x60]
mov ecx, dword [esi + 4]
push dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
push dword [ebx + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x20]
push dword [ebx + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
push edi
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x58]
call dword [eax + 0xbc]
push dword [ebx + 0x74]
lea eax, [ebp - 0x20]
push dword [ebx + 0x70]
push dword [ebp - 0x7c]
push dword [ebp - 0x60]
push dword [ebp - 0x6c]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push edi
push eax
push dword [esi + 0x20]
call dword [sym.imp.GDI32.dll_PlgBlt]
mov eax, dword [ebp - 0x64]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x100076f2
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1000728e
push eax
call ebx
jmp 0x1000728e
push dword [ebx + 0x40]
mov eax, dword [ebx + 0x30]
add eax, ebx
push eax
mov eax, dword [ebx + 0x38]
add eax, ebx
push eax
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
push dword [ebx + 0x40]
mov eax, dword [ebx + 0x30]
mov ecx, dword [edi + 4]
add eax, ebx
push eax
mov eax, dword [ebx + 0x38]
add eax, ebx
mov edx, dword [ecx]
push eax
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call dword [edx + 0xc0]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x24]
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebx + 0x18]
mov dword [ebp - 0x54], eax
push esi
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push dword [ebx + 0x18]
mov dword [ebp - 0x74], eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x50]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_GetWorldTransform]
call esi
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x20]
call esi
movss xmm0, dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x58]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebx + 0x20]
push eax
push esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movss dword [ebp - 0x14], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.GDI32.dll_SetWorldTransform]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
cmp dword [ebx + 0x24], 0
jle 0x10007866
mov ecx, dword [ebp - 0x54]
lea edx, [ebx + 0x2c]
add ecx, 8
xor esi, esi
mov eax, dword [edx - 4]
lea edx, [edx + 0x28]
mov dword [ecx - 8], eax
lea ecx, [ecx + 0x28]
mov eax, dword [edx - 0x28]
inc esi
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x20]
add eax, ebx
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0xc]
mov dword [ecx - 0x10], eax
mov eax, dword [edx - 8]
add eax, ebx
mov dword [ecx - 0xc], eax
cmp esi, dword [ebx + 0x24]
jl 0x10007817
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x24]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xf4]
push dword [ebx + 0x24]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyTextOutA]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [sym.imp.GDI32.dll_SetWorldTransform]
lea eax, [ebp - 0x50]
push eax
push esi
call ebx
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x20]
call ebx
push dword [ebp - 0x74]
mov ebx, dword [sym.imp.GDI32.dll_SetGraphicsMode]
push esi
call ebx
push dword [ebp - 0x78]
push dword [edi + 0x20]
call ebx
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x24]
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebx + 0x18]
mov dword [ebp - 0x54], eax
push esi
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push dword [ebx + 0x18]
mov dword [ebp - 0x74], eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x38]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_GetWorldTransform]
call esi
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0x20]
call esi
movss xmm0, dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x58]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebx + 0x20]
push eax
push esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movss dword [ebp - 0x14], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.GDI32.dll_SetWorldTransform]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
cmp dword [ebx + 0x24], 0
jle 0x100079c0
mov ecx, dword [ebp - 0x54]
lea edx, [ebx + 0x2c]
add ecx, 8
xor esi, esi
mov eax, dword [edx - 4]
lea edx, [edx + 0x28]
mov dword [ecx - 8], eax
lea ecx, [ecx + 0x28]
mov eax, dword [edx - 0x28]
inc esi
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x20]
add eax, ebx
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0xc]
mov dword [ecx - 0x10], eax
mov eax, dword [edx - 8]
add eax, ebx
mov dword [ecx - 0xc], eax
cmp esi, dword [ebx + 0x24]
jl 0x10007971
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 4]
push dword [ebx + 0x24]
push dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 0xf8]
push dword [ebx + 0x24]
mov ebx, dword [ebp - 0x54]
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyTextOutW]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [sym.imp.GDI32.dll_SetWorldTransform]
lea eax, [ebp - 0x38]
push eax
push esi
call ebx
lea eax, [ebp - 0x50]
jmp 0x100078a8
lea eax, [ebx + 0x20]
push eax
push dword [ebx + 0x18]
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jns 0x10007a6f
mov edi, dword [ecx]
and eax, 0x7fffffff
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call esi
mov ecx, dword [ebp - 0x68]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, dword [ecx + 4]
call dword [edi + 0xa0]
mov eax, dword [ebx + 0x1c]
and eax, 0x7fffffff
push eax
call esi
push eax
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x54]
push dword [eax + 0x20]
call dword [sym.imp.GDI32.dll_FillRgn]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [edx + edi*4]
push dword [ebp - 0x54]
push esi
call dword [eax + 0xa0]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
push dword [ecx + eax*4]
push dword [ebp - 0x54]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_FillRgn]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
lea eax, [ebx + 0x28]
push eax
push dword [ebx + 0x18]
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
push dword [ebx + 0x24]
mov ecx, dword [edi + 4]
push dword [ebx + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jns 0x10007b1e
mov edi, dword [ecx]
and eax, 0x7fffffff
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call esi
push eax
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, dword [eax + 4]
call dword [edi + 0xa4]
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
push dword [ebx + 0x20]
and eax, 0x7fffffff
push eax
call esi
push eax
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x54]
push dword [eax + 0x20]
call dword [sym.imp.GDI32.dll_FrameRgn]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [edx + edi*4]
push dword [ebp - 0x54]
push esi
call dword [eax + 0xa4]
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
push dword [ebx + 0x20]
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
push dword [ecx + eax*4]
push dword [ebp - 0x54]
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_FrameRgn]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
lea eax, [ebx + 0x1c]
push eax
push dword [ebx + 0x18]
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov edi, eax
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_InvertRgn]
call esi
mov eax, dword [ebp - 0x68]
push edi
push dword [eax + 0x20]
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
lea eax, [ebx + 0x1c]
push eax
push dword [ebx + 0x18]
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push dword [ebp - 0x58]
mov edx, dword [ecx]
call dword [edx + 0xa8]
push esi
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PaintRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x10005da2.53
mov eax, dword [ebx + 0x18]
shl eax, 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov esi, eax
mov dword [ebp - 0x64], esi
cmp dword [ebx + 0x18], ecx
jbe 0x10007c08
lea edx, [ebx + 0x1e]
lea ebx, [ebx]
movsx eax, word [edx - 2]
lea edx, [edx + 4]
mov dword [esi + ecx*8], eax
movsx eax, word [edx - 4]
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x10007bf0
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
mov ecx, dword [edi + 4]
push eax
lea esi, [esi + eax*4]
mov edx, dword [ecx]
push esi
push dword [ebp - 0x64]
push dword [ebp - 0x58]
call dword [edx + 0xec]
push dword [ebx + 0x18]
mov ebx, dword [ebp - 0x64]
push esi
push ebx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_PolyDraw]
jmp 0x100063d7
cmp dword [ebx + 0x54], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0
je 0x10007d0e
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [ebx + 0x5c]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x4c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x5c]
call ebx
push 0xf00021
push dword [ebp - 0x54]
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x5c]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
push 0xcc0020
push dword [ebx + 0x50]
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x2c]
push dword [ebp - 0x78]
push edi
push edx
push eax
push ecx
push edi
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edi, dword [ebp - 0x68]
movzx eax, byte [ebx + 0x28]
mov byte [ebp - 0x6c], al
movzx eax, byte [ebx + 0x29]
mov byte [ebp - 0x6b], al
movzx eax, byte [ebx + 0x2a]
mov byte [ebp - 0x6a], al
movzx eax, byte [ebx + 0x2b]
mov byte [ebp - 0x69], al
mov esi, dword [ebp - 0x6c]
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x60]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [ebp - 0x5c]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov ecx, dword [edi + 4]
push esi
push dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov eax, dword [ecx]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push esi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 0x58]
call dword [eax + 0x104]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10007d8b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je case.0x10005da2.53
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp case.0x10005da2.53
push dword [ebx + 8]
push esi
mov esi, dword [sym.imp.GDI32.dll_SetLayout]
call esi
push dword [ebx + 8]
push dword [edi + 0x20]
call esi
jmp case.0x10005da2.53
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], edx
cmp dword [ebx + 0x54], eax
je 0x10007e8d
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [ebx + 0x5c]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ecx
push eax
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x64], eax
call ebx
mov ecx, dword [ebp - 0x70]
push dword [ecx + 0x4c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x5c]
call ebx
push 0xf00021
push dword [ebp - 0x54]
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x5c]
push esi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
push 0xcc0020
push dword [ebx + 0x50]
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x2c]
push dword [ebp - 0x78]
push edi
push edx
push eax
push ecx
push edi
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
push dword [ebx + 0x4c]
push edx
push ecx
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [edi + 0x20]
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
push dword [ebx + 0x4c]
mov ecx, dword [edi + 4]
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov eax, dword [ecx]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push edi
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call dword [eax + 0x108]
jmp 0x10007280
push dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
lea edi, [ebx + 0x24]
push dword [ebx + 0x1c]
mov eax, ecx
lea esi, [ebx + 0x24]
shl eax, 4
add edi, eax
mov eax, dword [ebp - 0x68]
push edi
push ecx
push esi
push dword [eax + 0x20]
call dword [sym.imp.MSIMG32.dll_GradientFill]
push dword [ebx + 0x20]
mov eax, dword [ebp - 0x68]
push dword [ebx + 0x1c]
push edi
mov ecx, dword [eax + 4]
push dword [ebx + 0x18]
push esi
mov edx, dword [ecx]
push dword [ebp - 0x58]
call dword [edx + 0x10c]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b54bf
mov esp, ebp
pop ebp
ret 0xc