Function at 0x4725b5
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
mov byte [ebp - 0x22], 0
xor ebx, ebx
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x21], 1
mov dword [ebp - 8], 0xd
xor eax, eax
mov dword [ebp - 0xc], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4726d1
cmp byte [eax], 0x2d
jne 0x4726d1
push 0x69
push eax
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x472624
mov dword [ebp - 8], 0xa
push 0x68
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x472639
mov byte [ebp - 0x22], 1
push 0x6e
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x47264e
mov byte [ebp - 0x21], 0
push 0x72
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x472661
mov bl, 1
push 0x66
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x472676
mov byte [ebp - 0x1d], 1
push 0x65
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x47268b
mov byte [ebp - 0x1e], 1
push 0x63
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4726a0
mov byte [ebp - 0x1f], 1
push 0x73
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4726b8
mov dword [ebp - 0xc], 1
push 0x64
push dword [edi + esi*4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x4726d0
mov dword [ebp - 0x14], 1
inc esi
cmp dword [edi + esi*4], 0
jne 0x4726e9
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
push 0
push dword [edi + esi*4]
call fcn.00412c63
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x47272c
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x810], 0
je 0x47272c
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x6f8], 0
je 0x47272c
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x8f4], 0
je 0x47272c
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x6bc], 9
je 0x47273e
push 7
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
cmp byte [ebp - 0x22], 0
je 0x47274e
mov edx, dword [ebp - 0x50]
push dword [edx]
call fcn.004925a0
inc esi
cmp dword [edi + esi*4], 0
jne 0x47277f
cmp byte [ebp - 0x21], 0
je 0x47276d
push dword [ebp - 0x50]
call fcn.00472184
mov eax, 1
jmp 0x47376a
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
test bl, bl
je 0x472791
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x40], eax
jmp 0x4727c7
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4727ad
mov edx, dword [ebp - 4]
mov ecx, edx
neg edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cdq
idiv dword [0x5618d4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57f828]
mov dword [ebp - 0x40], eax
inc esi
cmp dword [edi + esi*4], 0
jne 0x4727e0
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
mov edx, dword [ebp + 0x10]
cmp edx, 5
ja case.0x4727ec.0
jmp dword [edx*4 + 0x4727f3]
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x472824
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x1000
jle 0x472834
mov dword [ebp - 4], 1
inc esi
cmp dword [edi + esi*4], 0
je 0x472846
cmp dword [edi + esi*4 + 4], 0
jne case.0x4727ec.0
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x472871
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x1000
jle 0x472881
mov dword [ebp - 4], 1
inc esi
cmp dword [edi + esi*4], 0
je 0x472893
cmp dword [edi + esi*4 + 4], 0
jne case.0x4727ec.0
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x4728be
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x1000
jle 0x4728ce
mov dword [ebp - 4], 1
inc esi
cmp dword [edi + esi*4], 0
je 0x4728ee
cmp dword [edi + esi*4 + 4], 0
je 0x4728ee
cmp dword [edi + esi*4 + 8], 0
je 0x4728ee
cmp dword [edi + esi*4 + 0xc], 0
jne case.0x4727ec.0
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
test bl, bl
je 0x472912
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x472948
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x47292e
mov ecx, dword [ebp - 4]
mov eax, ecx
neg ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cdq
idiv dword [0x5618d4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57f828]
mov dword [ebp - 0x44], eax
inc esi
cmp dword [edi + esi*4], 0
je 0x472956
cmp dword [edi + esi*4 + 4], 0
jne case.0x4727ec.0
push 0
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47376a
test bl, bl
je 0x47297a
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x4729b0
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x472996
mov edx, dword [ebp - 4]
mov ecx, edx
neg edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cdq
idiv dword [0x5618d4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57f828]
mov dword [ebp - 0x44], eax
inc esi
mov edx, dword [ebp - 0x50]
push dword [edx + 0x810]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4729cf
xor eax, eax
jmp 0x47376a
push dword [ebp - 0x48]
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
jne 0x4729f5
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push dword [eax + 0x810]
call sub.USER32.dll_ReleaseDC
xor eax, eax
jmp 0x47376a
mov edx, dword [ebp - 0x50]
push dword [edx + 0x8f4]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x4c], eax
push dword [ebp - 8]
push ebx
call sub.GDI32.dll_SetROP2
push dword [ebp - 8]
push dword [ebp - 0x48]
call sub.GDI32.dll_SetROP2
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x10]
dec edx
je 0x472a42
dec edx
je 0x472a5e
dec edx
je 0x472a7b
dec edx
sub edx, 2
jb 0x472a42
jmp 0x472aa7
push dword [ebp - 0x40]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x34], eax
push dword [ebp - 0x40]
push 1
push 5
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
jmp 0x472aa7
push dword [ebp - 0x40]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x34], eax
push dword [ebp - 0x40]
push dword [ebp - 4]
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
jmp 0x472aa7
cmp byte [ebp - 0x1d], 0
je 0x472a8e
push dword [ebp - 0x40]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x34], eax
jmp 0x472a98
push 5
call sub.GDI32.dll_GetStockObject
mov dword [ebp - 0x34], eax
push dword [ebp - 0x40]
push 1
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
push dword [ebp - 0x34]
push dword [ebp - 0x48]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x28]
push dword [ebp - 0x48]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x28]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
cmp eax, 5
ja case.0x472ae7.0
jmp dword [eax*4 + 0x472aee]
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xac], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 4], 1
jne 0x472ba6
push dword [ebp - 0x40]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_SetPixelV
cmp byte [ebp - 0x21], 0
je 0x472b5d
push dword [ebp - 0x40]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_SetPixelV
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x904]
cmp ecx, dword [ebp - 0xac]
jge 0x472b7d
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xac]
mov dword [eax + 0x904], edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x908]
cmp eax, dword [ebp - 0xa8]
jge 0x472c80
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 0x908], ecx
jmp 0x472c80
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 4]
dec eax
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 4]
dec edx
mov dword [ebp - 0xa0], edx
mov ecx, dword [ebp - 4]
inc ecx
sub dword [ebp - 0xac], ecx
mov eax, dword [ebp - 4]
inc eax
sub dword [ebp - 0xa8], eax
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_Ellipse
cmp byte [ebp - 0x21], 0
je 0x472c40
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0xa8]
inc edx
push edx
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp - 0xac]
inc ecx
push ecx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x904]
cmp edx, dword [ebp - 0xa4]
jge 0x472c60
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0x904], eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x908]
cmp ecx, dword [ebp - 0xa0]
jge 0x472c80
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0x908], edx
add esi, 2
cmp dword [edi + esi*4], 0
je case.0x472ae7.0
cmp dword [edi + esi*4 + 4], 0
jne case.0x472ae7.1
jmp case.0x472ae7.0
mov byte [ebp - 0x20], 1
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xac], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0x20], 0
je 0x472cfc
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_MoveToEx
cmp byte [ebp - 0x21], 0
je 0x472cf6
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_MoveToEx
mov byte [ebp - 0x20], 0
jmp 0x472d68
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_LineTo
cmp byte [ebp - 0x21], 0
je 0x472d28
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_LineTo
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x904]
cmp eax, dword [ebp - 0xac]
jge 0x472d48
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xac]
mov dword [edx + 0x904], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x908]
cmp edx, dword [ebp - 0xa8]
jge 0x472d68
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 0x908], eax
add esi, 2
cmp dword [edi + esi*4], 0
je case.0x472ae7.0
cmp dword [edi + esi*4 + 4], 0
jne 0x472ca1
jmp case.0x472ae7.0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea eax, [edi + esi*4]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 4], 0
jle 0x4731f4
dec dword [ebp - 4]
mov edx, dword [ebp - 0x84]
push dword [edx]
call fcn.005570e0
pop ecx
add eax, dword [ebp - 4]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x84]
push dword [ecx + 4]
call fcn.005570e0
pop ecx
add eax, dword [ebp - 4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x84]
push dword [eax + 8]
call fcn.005570e0
pop ecx
add eax, dword [ebp - 0xac]
mov edx, dword [ebp - 4]
add edx, edx
sub eax, edx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x84]
push dword [ecx + 0xc]
call fcn.005570e0
pop ecx
add eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 4]
add edx, edx
sub eax, edx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xac]
jge 0x472e45
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0xa8]
jge 0x472e71
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xa0], ecx
cmp byte [ebp - 0x1f], 0
je 0x472fec
dec dword [ebp - 0xa4]
dec dword [ebp - 0xa0]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x54], eax
jmp 0x472ea8
push dword [ebp - 0x40]
push dword [ebp - 0xa8]
push dword [ebp - 0x54]
push ebx
call sub.GDI32.dll_SetPixelV
add dword [ebp - 0x54], 2
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0xa4]
jle 0x472e92
mov ecx, dword [ebp - 0xa4]
add ecx, 2
cmp ecx, dword [ebp - 0x54]
jne 0x472ecf
mov eax, dword [ebp - 0xa8]
add eax, 2
mov dword [ebp - 0x58], eax
jmp 0x472ef1
mov edx, dword [ebp - 0xa8]
inc edx
mov dword [ebp - 0x58], edx
jmp 0x472ef1
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push dword [ebp - 0xa4]
push ebx
call sub.GDI32.dll_SetPixelV
add dword [ebp - 0x58], 2
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0xa0]
jle 0x472edb
mov eax, dword [ebp - 0xa0]
add eax, 2
cmp eax, dword [ebp - 0x58]
jne 0x472f18
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffffe
mov dword [ebp - 0x54], edx
jmp 0x472f3a
mov ecx, dword [ebp - 0xa4]
dec ecx
mov dword [ebp - 0x54], ecx
jmp 0x472f3a
push dword [ebp - 0x40]
push dword [ebp - 0xa0]
push dword [ebp - 0x54]
push ebx
call sub.GDI32.dll_SetPixelV
sub dword [ebp - 0x54], 2
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xac]
jge 0x472f24
mov edx, dword [ebp - 0xac]
add edx, 0xfffffffe
cmp edx, dword [ebp - 0x54]
jne 0x472f61
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffffe
mov dword [ebp - 0x58], ecx
jmp 0x472f83
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0x58], eax
jmp 0x472f83
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_SetPixelV
sub dword [ebp - 0x58], 2
mov edx, dword [ebp - 0xa8]
add edx, 2
cmp edx, dword [ebp - 0x58]
jle 0x472f6d
cmp dword [ebp - 4], 0
jne 0x4731aa
cmp byte [ebp - 0x21], 0
je 0x4731aa
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
mov ecx, dword [ebp - 0xa0]
sub ecx, dword [ebp - 0xa8]
inc ecx
push ecx
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
inc eax
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
jmp 0x4731aa
cmp byte [ebp - 0x1e], 0
je 0x473069
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_Ellipse
cmp dword [ebp - 4], 0
jne 0x4731aa
cmp byte [ebp - 0x21], 0
je 0x4731aa
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp - 0xac]
push ecx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
jmp 0x4731aa
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0xa4]
jne 0x4730ca
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xa8]
jne 0x4730ca
push dword [ebp - 0x40]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_SetPixelV
cmp dword [ebp - 4], 0
jne 0x47315c
cmp byte [ebp - 0x21], 0
je 0x47315c
push dword [ebp - 0x40]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_SetPixelV
jmp 0x47315c
cmp dword [ebp - 0x14], 0
je 0x47313e
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x10], 0
je 0x473112
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x14], 0
je 0x473112
mov edx, dword [ebp - 0x84]
push dword [edx + 0x10]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x84]
push dword [ecx + 0x14]
call fcn.005570e0
pop ecx
mov dword [ebp - 0x1c], 1
jmp 0x47311a
mov eax, 0xf
mov dword [ebp - 0x18], eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_RoundRect
jmp 0x47315c
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
call sub.GDI32.dll_Rectangle
cmp dword [ebp - 4], 0
jne 0x4731aa
cmp byte [ebp - 0x21], 0
je 0x4731aa
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
inc eax
push eax
mov edx, dword [ebp - 0xa4]
sub edx, dword [ebp - 0xac]
inc edx
push edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x904]
cmp eax, dword [ebp - 0xa4]
jge 0x4731ca
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0x904], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x908]
cmp edx, dword [ebp - 0xa0]
jge 0x4731ea
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 0x908], eax
cmp dword [ebp - 4], 0
jg 0x472da3
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x1c], 0
je 0x473203
add esi, 2
add esi, 4
cmp dword [edi + esi*4], 0
je case.0x472ae7.0
cmp dword [edi + esi*4 + 4], 0
je case.0x472ae7.0
cmp dword [edi + esi*4 + 8], 0
je case.0x472ae7.0
cmp dword [edi + esi*4 + 0xc], 0
jne case.0x472ae7.3
jmp case.0x472ae7.0
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa8], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xac], eax
add esi, 2
xor ecx, ecx
mov dword [ebp - 0x64], ecx
cmp dword [edi + esi*4], 0
je 0x47332e
push dword [edi + esi*4]
call fcn.004e54ab
test eax, eax
jne 0x47332e
push 0
push 0x104
push dword [ebp + 0xc]
push esi
push edi
call fcn.004e648f
mov esi, eax
test esi, esi
jge 0x4732a0
push 3
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47337a
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call fcn.0042cf68
test eax, eax
jne 0x4732c1
push 3
push 0
push dword [edi]
push 0
call fcn.00479438
jmp 0x47337a
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x50]
push dword [ecx]
push dword [ebp + 0xc]
call fcn.0042f73c
cmp dword [ebp - 0x60], 0
jne 0x4732fd
push dword [ebp + 0xc]
push dword [edi]
push 0
push 0x835
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x47337a
push dword [ebp - 0x60]
call sub.GDI32.dll_CreatePatternBrush
mov dword [ebp - 0x64], eax
push dword [ebp - 0x60]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x5c]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x3c]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x64]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x3c], eax
inc esi
push dword [ebp - 0xc]
push dword [ebp - 0x44]
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push ebx
call sub.GDI32.dll_ExtFloodFill
cmp dword [ebp - 0x64], 0
je 0x473369
push dword [ebp - 0x3c]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x64]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x34]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x3c], eax
cmp dword [edi + esi*4], 0
je 0x47337a
cmp dword [edi + esi*4 + 4], 0
jne case.0x472ae7.4
lea eax, [ebp - 0x9c]
push eax
push 0x18
mov edx, dword [ebp - 0x50]
push dword [edx + 0x8f4]
call sub.GDI32.dll_GetObjectA
cmp byte [ebp - 0x21], 0
je 0x4733b9
push 0xcc0020
push 0
push 0
push ebx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push 0
push 0
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x98]
mov dword [ecx + 0x904], eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x94]
mov dword [edx + 0x908], ecx
jmp case.0x472ae7.0
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
xor edx, edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
lea eax, [ebp - 0x9c]
push eax
push 0x18
mov ecx, dword [ebp - 0x50]
push dword [ecx + 0x8f4]
call sub.GDI32.dll_GetObjectA
xor eax, eax
mov dword [ebp - 0xac], eax
xor edx, edx
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x4c]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0x48]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x473683
push dword [ebp - 0x70]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x48]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x473683
mov edx, dword [ebp - 0x50]
push dword [edx + 0x8f4]
push dword [ebp - 0x74]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x68], eax
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x74]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push 0
push 0
push ebx
call sub.GDI32.dll_BitBlt
push dword [ebp - 0x48]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x473683
push dword [ebp - 0x40]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0x78]
push ebx
call fcn.00476c15
mov dword [ebp - 0x6c], eax
cmp dword [edi + esi*4], 0
je 0x473541
cmp dword [edi + esi*4 + 4], 0
je 0x473541
cmp dword [edi + esi*4 + 8], 0
je 0x473541
cmp dword [edi + esi*4 + 0xc], 0
je 0x473541
push dword [edi + esi*4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xac], eax
push dword [edi + esi*4 + 4]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa8], eax
push dword [edi + esi*4 + 8]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa4], eax
push dword [edi + esi*4 + 0xc]
call fcn.005570e0
pop ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xac]
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], ecx
push 0
call sub.GDI32.dll_GetStockObject
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x74]
call sub.USER32.dll_FillRect
push 0
push dword [ebp - 0x74]
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x44]
push dword [ebp - 0x74]
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0x80], eax
push 0x8800c6
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x78]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x74]
call sub.GDI32.dll_BitBlt
push 0xee0086
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ebx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x74]
call sub.GDI32.dll_BitBlt
push dword [ebp - 0x7c]
push dword [ebp - 0x74]
call sub.GDI32.dll_SetTextColor
push dword [ebp - 0x80]
push dword [ebp - 0x74]
call sub.GDI32.dll_SetBkColor
cmp byte [ebp - 0x21], 0
je 0x473665
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x74]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0x48]
call sub.GDI32.dll_BitBlt
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0x904], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0x908], edx
cmp dword [ebp - 0x78], 0
je 0x4736ad
cmp dword [ebp - 0x6c], 0
je 0x4736a5
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x78]
call sub.GDI32.dll_DeleteDC
cmp dword [ebp - 0x74], 0
je 0x4736cc
cmp dword [ebp - 0x68], 0
je 0x4736c4
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x74]
call sub.GDI32.dll_DeleteDC
cmp dword [ebp - 0x70], 0
je 0x4736e3
push dword [ebp - 0x4c]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x70]
call sub.GDI32.dll_DeleteObject
mov ecx, dword [ebp - 0x50]
push dword [ecx + 0x8f4]
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x30]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x2c]
push dword [ebp - 0x48]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x28]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x3c]
push ebx
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x38]
push dword [ebp - 0x48]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x34]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x4c]
push ebx
call sub.GDI32.dll_SelectObject
push ebx
call sub.GDI32.dll_DeleteDC
push dword [ebp - 8]
push dword [ebp - 0x48]
call sub.GDI32.dll_SetROP2
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push dword [eax + 0x810]
call sub.USER32.dll_ReleaseDC
cmp byte [0x5803c4], 0
je 0x473765
xor eax, eax
jmp 0x47376a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc