Function at 0x472f50
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x517ba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x344], eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebx + 0x30]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp - 0x2c8]
push edi
push dword [ebx + 8]
mov dword [ebp - 0x304], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebx + 0x38], 0
je 0x472fce
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x304]
cmp ecx, eax
cmovl ecx, eax
jmp 0x472fd4
mov ecx, dword [ebp - 0x304]
mov eax, dword [ebx + 0x68]
add eax, ecx
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x290]
sub edi, dword [ebp - 0x298]
push 0
push 0
push 0x1200
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov dword [ebp - 0x2ec], eax
mov eax, dword [esi + 0xc]
sub eax, edi
cdq
idiv dword [ebp - 0x2fc]
mov ecx, eax
mov eax, dword [esi + 0x14]
sub eax, edi
mov edi, dword [ebp - 0x2ec]
cdq
idiv dword [ebp - 0x2fc]
mov edx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x340], edx
cmovns eax, ecx
mov dword [ebp - 0x30c], eax
test edi, edi
je 0x473c9f
cmp eax, edx
jg 0x473c9f
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4906
add esp, 4
mov dword [ebp - 0x2f4], eax
lea edx, [edi - 1]
lea ecx, [eax + 4]
mov dword [eax], 0
push ecx
push edx
push 0x1211
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 1
cmp edi, ecx
jle 0x473128
lea eax, [edi - 1]
cmp eax, 0x10
jb 0x473110
and eax, reloc.WS2_32.dll_ntohs
jns 0x4730b7
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f2680]
mov edx, edi
sub edx, eax
mov eax, dword [ebp - 0x2f4]
add eax, 0x24
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
paddd xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
paddd xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
paddd xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
paddd xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x4730d0
cmp ecx, edi
jge 0x473128
mov eax, dword [ebp - 0x2f4]
nop word [eax + eax]
inc dword [eax + ecx*4]
inc ecx
cmp ecx, edi
jl 0x473120
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4906
mov dword [ebp - 0x308], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4906
mov dword [ebp - 0x300], eax
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
add esp, 8
mov dword [ebp - 0x330], edi
xor edi, edi
mov dword [ebp - 0x31c], ecx
test eax, eax
jle 0x4732f3
nop word [eax + eax]
mov dword [ebp - 0x310], ecx
mov eax, edi
mov ecx, dword [ebp - 0x2f4]
shl eax, 4
add eax, dword [ebp - 0x308]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ecx + edi*4]
push eax
test ecx, ecx
jne 0x4731d4
push ecx
push 0x1207
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2f0]
push dword [ebx + 8]
push dword [ebx + 0xc]
jmp 0x4731f4
lea eax, [ecx - 1]
push eax
push 0x1207
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2f0]
push dword [ebx + 8]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_MapWindowPoints]
test edi, edi
jne 0x47325b
cmp byte [ebx + 0x9c], 0
je 0x47325b
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x1c
push eax
push 2
push dword [ebx + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x290], edi
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x2a4], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x294]
sub dword [ecx], eax
mov eax, dword [ebx + 0x98]
add eax, dword [ecx]
cmp dword [ecx + 8], eax
jge 0x47325b
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x300]
mov eax, dword [ebx + 0xa0]
mov dword [ecx + edi*4], eax
test edi, edi
je 0x4732ab
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 4
push eax
mov eax, dword [ebp - 0x2f4]
mov eax, dword [eax + edi*4]
dec eax
push eax
push 0x120b
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [ebp - 0x2a8], 1
je 0x4732ab
mov eax, dword [ebp - 0x300]
or dword [eax + edi*4], 2
mov edx, dword [ebp - 0x330]
cmp edx, edi
jle 0x4732ca
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 8]
cmp eax, dword [esi + 8]
cmovg edx, edi
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x2f0]
mov ecx, edi
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
mov eax, dword [ebp - 0x2ec]
cmovge ecx, dword [ebp - 0x310]
inc edi
cmp edi, eax
jl 0x473190
mov dword [ebp - 0x31c], ecx
mov ecx, dword [ebp - 0x308]
shl eax, 4
add ecx, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x34c], eax
mov eax, dword [eax]
cmp dword [esi + 0x10], eax
jle 0x473337
movups xmm0, xmmword [esi + 8]
push 5
movups xmmword [ebp - 0x29c], xmm0
mov dword [ebp - 0x29c], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push 0x15
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esi]
mov dword [ebp - 0x310], eax
call ebx
mov edi, dword [ebp - 0x2f8]
mov dword [ebp - 0x354], eax
push dword [edi + 0x30]
push dword [esi]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov dword [ebp - 0x350], eax
call ebx
push 0x32
mov dword [ebp - 0x32c], eax
call ebx
mov ecx, edi
mov dword [ebp - 0x33c], eax
call fcn.00477b20
push dword [ebp - 0x30c]
mov ecx, eax
call fcn.00475a00
mov ecx, dword [ebp - 0x30c]
mov ebx, eax
mov eax, ecx
mov dword [ebp - 0x2ec], ebx
imul eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x2fc]
test ebx, ebx
je 0x473bb9
test byte [ebx + 0x20], 1
je 0x473408
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 8]
jne 0x4733f3
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
jmp 0x47341b
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xa
jmp 0x47341b
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x330]
mov edx, eax
mov dword [ebp - 0x2f0], eax
cmp eax, dword [ebp - 0x31c]
jg 0x473b47
nop
shl edx, 4
add edx, dword [ebp - 0x308]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x304]
mov edx, dword [edx + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x2fc]
add eax, ecx
mov dword [ebp - 0x238], ecx
cmp dword [ebp - 0x2f0], 0
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], eax
jle 0x47349c
cmp edx, dword [edi + 0x90]
jle 0x473b28
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x344]
call dword [sym.imp.GDI32.dll_RectInRegion]
test eax, eax
je 0x473b28
movups xmm0, xmmword [ebp - 0x23c]
mov eax, dword [ebp - 0x2f0]
xor ebx, ebx
mov dword [ebp - 0x324], ebx
movups xmmword [ebp - 0x22c], xmm0
test eax, eax
jne 0x473504
mov eax, dword [edi + 0x90]
cmp dword [ebp - 0x234], eax
jl 0x47351c
dec eax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov ebx, eax
mov dword [ebp - 0x324], ebx
push ebx
jmp 0x47351e
jle 0x47351c
mov eax, dword [edi + 0x90]
cmp dword [ebp - 0x23c], eax
jge 0x47351c
mov dword [ebp - 0x22c], eax
jmp 0x4734ec
push 0
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [edi + 0x30]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x2ec]
lea edi, [ebp - 0x23c]
mov edx, dword [ebp - 0x2f0]
push edi
mov edi, dword [ebp - 0x2ec]
mov ecx, dword [eax + 4]
shl edx, 2
mov dword [ebp - 0x334], edx
push dword [edi + 0x20]
mov edi, dword [ebp - 0x2f4]
mov eax, dword [ecx]
push dword [edx + edi]
mov eax, dword [eax + 0x10]
push dword [esi]
push dword [ebp - 0x2ec]
call eax
mov edi, dword [ebp - 0x2f8]
test al, al
je 0x473588
test ebx, ebx
je 0x473b28
jmp 0x473b21
push dword [esi]
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [esi]
mov dword [ebp - 0x320], eax
call dword [sym.imp.GDI32.dll_GetBkMode]
mov eax, dword [edi + 0x74]
add eax, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x23c]
add ebx, dword [edi + 0x6c]
mov edx, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x234]
sub eax, dword [edi + 0x6c]
mov edi, dword [ebp - 0x2f4]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], ecx
cmp dword [edx + edi], 0
mov edi, dword [ebp - 0x2f8]
jne 0x473821
sub ecx, dword [ebp - 0x238]
sub eax, ebx
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [esi]
mov dword [ebp - 0x338], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x338]
mov ebx, eax
push ebx
mov dword [ebp - 0x328], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x2e8]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [ebp - 0x2ec]
mov ecx, ebx
call fcn.00472940
imul eax, dword [edi + 0x78]
mov ecx, dword [ebp - 0x2e8]
add ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x318], eax
test al, 0x40
je 0x473728
mov edx, dword [ebp - 0x2dc]
mov eax, edx
sub eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x314], edx
cmp eax, 0x24
jl 0x4736be
cdq
sub eax, edx
mov edx, dword [ebp - 0x314]
mov ebx, eax
sar ebx, 1
jmp 0x4736c3
mov ebx, 0x11
sub edx, ebx
mov dword [ebp - 0x2d8], ecx
sub edx, dword [ebp - 0x2e4]
add ecx, ebx
mov eax, edx
mov dword [ebp - 0x2d0], ecx
cdq
mov ecx, edi
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2d4], eax
add eax, ebx
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2d8]
push eax
mov eax, dword [ebp - 0x318]
shr eax, 4
not al
and al, 1
movzx eax, al
push eax
push dword [ebp - 0x328]
push dword [edi + 8]
call fcn.00473cd0
mov ecx, dword [ebp - 0x2e8]
mov ebx, dword [ebp - 0x2ec]
add ecx, dword [ebp - 0x32c]
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x2e8], ecx
je 0x4737d7
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x314]
mov dword [ebp - 0x314], 0
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x2dc]
sub eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x33c]
cdq
sub eax, edx
shl ebx, 8
mov edi, eax
sar edi, 1
add edi, dword [ebp - 0x2e4]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push ebx
mov ebx, dword [ebp - 0x2f8]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x33c]
push dword [ebp - 0x32c]
push edi
push dword [ebp - 0x2e8]
push dword [ebp - 0x328]
push dword [ebp - 0x318]
push dword [ebx + 0x38]
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebp - 0x2e8]
add eax, dword [ebp - 0x32c]
add ecx, eax
mov dword [ebp - 0x2e8], ecx
mov ebx, dword [ebp - 0x328]
push 0xcc0020
push 0
push 0
push ebx
push dword [ebp - 0x270]
push ecx
push dword [ebp - 0x238]
push dword [ebp - 0x27c]
push dword [esi]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x2e8]
push dword [ebp - 0x338]
add dword [ebp - 0x27c], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x2ec]
lea edi, [ebp - 0x348]
mov ebx, dword [ebp - 0x334]
push edi
lea edi, [ebp - 0x20c]
mov dword [ebp - 0x348], 0x104
mov ecx, dword [edx + 4]
push edi
mov edi, dword [ebp - 0x2f4]
mov eax, dword [ecx]
push dword [ebx + edi]
push edx
call dword [eax + 8]
mov edi, eax
mov eax, dword [ebp - 0x300]
push dword [ebx + eax]
lea eax, [ebp - 0x27c]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x300]
movups xmm0, xmmword [ebp - 0x27c]
mov eax, dword [ebx + eax]
or eax, 0x400
push eax
lea eax, [ebp - 0x25c]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
movups xmmword [ebp - 0x25c], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x300]
test byte [ebx + eax], 2
je 0x4738cb
mov eax, dword [ebp - 0x274]
sub eax, dword [ebp - 0x254]
push 0
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0x324]
test edi, edi
je 0x473918
push 0
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x254]
cmp ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x25c]
cmovg ecx, dword [ebp - 0x224]
mov edi, dword [ebp - 0x22c]
cmp edx, edi
mov dword [ebp - 0x254], ecx
cmovl edx, edi
mov dword [ebp - 0x25c], edx
jmp 0x47392a
mov edi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x25c]
cmp dword [ebp - 0x2f0], 0
mov eax, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x228]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x24c], edi
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x284], ecx
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x214], edi
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x280], ecx
jne 0x473a06
mov eax, dword [ebp - 0x2f8]
push 2
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x290], ecx
mov eax, dword [eax + 0x6c]
add eax, edi
mov edi, dword [ebp - 0x2f8]
mov dword [ebp - 0x244], eax
mov eax, dword [edi + 0x90]
dec eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x29c]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x473a0c
mov edi, dword [ebp - 0x2f8]
mov ebx, dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x26c]
push eax
push eax
call ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x28c]
push eax
push eax
call ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x24c]
push eax
push eax
call ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
push eax
call ebx
mov eax, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x264]
jge 0x473a88
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x260]
jge 0x473a88
push ebx
lea eax, [ebp - 0x26c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x28c]
cmp eax, dword [ebp - 0x284]
jge 0x473ab4
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x280]
jge 0x473ab4
push ebx
lea eax, [ebp - 0x28c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebp - 0x2f0], 0
je 0x473ac1
mov eax, ebx
jmp 0x473ac9
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp - 0x24c]
cmp ecx, dword [ebp - 0x244]
jge 0x473af5
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x240]
jge 0x473af5
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x214]
jge 0x473b21
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x210]
jge 0x473b21
push ebx
lea eax, [ebp - 0x21c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x2f0]
inc edx
mov dword [ebp - 0x2f0], edx
cmp edx, dword [ebp - 0x31c]
jle 0x473450
mov ebx, dword [ebp - 0x2ec]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x473b5c
mov eax, dword [ebx + 0x20]
shr eax, 4
test al, 1
je 0x473b5c
mov ebx, ecx
jmp 0x473b86
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x473b67
mov ebx, eax
jmp 0x473b86
mov eax, dword [ebx + 8]
test eax, eax
je 0x473b84
nop
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x2ec], ebx
test ebx, ebx
jne 0x473b8c
mov eax, dword [eax + 8]
test eax, eax
jne 0x473b70
xor ebx, ebx
mov dword [ebp - 0x2ec], ebx
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x2fc]
inc ecx
add dword [ebp - 0x304], eax
mov dword [ebp - 0x30c], ecx
cmp ecx, dword [ebp - 0x340]
jle 0x4733c5
mov ecx, dword [ebp - 0x340]
jmp 0x473bba
dec ecx
mov ebx, dword [ebp - 0x308]
inc ecx
imul ecx, eax
add ecx, dword [ebx + 0xc]
lea eax, [ecx - 1]
cmp dword [esi + 0x14], eax
jle 0x473c47
movups xmm0, xmmword [esi + 8]
mov eax, dword [ebp - 0x34c]
push 5
movups xmmword [ebp - 0x21c], xmm0
mov dword [ebp - 0x218], ecx
mov eax, dword [eax]
mov dword [ebp - 0x214], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x310]
mov eax, dword [edi + 0x90]
push dword [esi]
dec eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
lea eax, [ebp - 0x21c]
push 2
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_Polyline]
push edi
push dword [esi]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
jmp 0x473c4d
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x350]
push dword [esi]
call edi
push dword [ebp - 0x354]
push dword [esi]
call edi
push dword [ebp - 0x310]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call fcn.004a447f
push dword [ebp - 0x2f4]
call fcn.004a447f
push dword [ebp - 0x300]
call fcn.004a447f
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4433
mov esp, ebp
pop ebp
ret 8
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esi + 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4433
mov esp, ebp
pop ebp
ret 8