Function at 0x475e10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
mov eax, dword [0x517b80]
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 - 0x308], ebx
mov dword [ebp - 0x348], 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 - 0x2d0]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp - 0x2d0]
push edi
push dword [ebx + 8]
mov dword [ebp - 0x30c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebx + 0x38], 0
je 0x475e8e
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x30c]
cmp ecx, eax
cmovl ecx, eax
jmp 0x475e94
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ebx + 0x68]
add eax, ecx
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x2a4]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x298]
sub edi, dword [ebp - 0x2a0]
push 0
push 0
push 0x1200
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x31c], eax
inc eax
mov dword [ebp - 0x300], eax
mov eax, dword [esi + 0xc]
sub eax, edi
cdq
idiv dword [ebp - 0x318]
mov ecx, eax
mov eax, dword [esi + 0x14]
sub eax, edi
cdq
idiv dword [ebp - 0x318]
xor edx, edx
test ecx, ecx
mov edi, eax
mov eax, dword [ebp - 0x300]
cmovns edx, ecx
mov dword [ebp - 0x344], edi
mov dword [ebp - 0x330], edx
test eax, eax
je 0x476bce
cmp edx, edi
jg 0x476bce
xor ecx, ecx
mov edx, 4
mul edx
lfence
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
mov edi, dword [ebp - 0x31c]
add esp, 4
mov dword [ebp - 0x304], eax
lea ecx, [eax + 4]
mov dword [eax], 0
push ecx
push edi
push 0x1211
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x300]
mov ecx, 1
cmp eax, ecx
jle 0x475ffa
cmp edi, 0x10
jb 0x475fe8
and edi, reloc.WS2_32.dll_ntohs
jns 0x475f85
dec edi
or edi, 0xfffffff0
inc edi
movaps xmm2, xmmword [0x4f55d0]
mov edx, eax
sub edx, edi
mov edi, dword [ebp - 0x304]
lea eax, [edi + 0x24]
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
paddd xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
paddd xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
paddd xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x475fa0
mov eax, dword [ebp - 0x300]
jmp 0x475fee
mov edi, dword [ebp - 0x304]
cmp ecx, eax
jge 0x475ffa
inc dword [edi + ecx*4]
inc ecx
cmp ecx, eax
jl 0x475ff2
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
mov dword [ebp - 0x314], eax
xor ecx, ecx
mov eax, dword [ebp - 0x300]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
mov dword [ebp - 0x310], eax
add esp, 8
mov eax, dword [ebp - 0x300]
xor edi, edi
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x324], 0
test eax, eax
jle 0x4761bd
lfence
nop
mov ecx, dword [ebp - 0x304]
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x314]
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ecx + edi*4]
push eax
test ecx, ecx
jne 0x47609e
push ecx
push 0x1207
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2f4]
push dword [ebx + 8]
push dword [ebx + 0xc]
jmp 0x4760be
lea eax, [ecx - 1]
push eax
push 0x1207
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2f4]
push dword [ebx + 8]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_MapWindowPoints]
test edi, edi
jne 0x476125
cmp byte [ebx + 0x9c], 0
je 0x476125
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0x1c
push eax
push 2
push dword [ebx + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x298], edi
movups xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x2ac], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [ebp - 0x314]
mov eax, dword [ebp - 0x29c]
sub dword [ecx], eax
mov eax, dword [ebx + 0x98]
add eax, dword [ecx]
cmp dword [ecx + 8], eax
jge 0x476125
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x310]
mov eax, dword [ebx + 0xa0]
mov dword [ecx + edi*4], eax
test edi, edi
je 0x476175
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 4
push eax
mov eax, dword [ebp - 0x304]
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 - 0x2b0], 1
je 0x476175
mov eax, dword [ebp - 0x310]
or dword [eax + edi*4], 2
mov ecx, dword [ebp - 0x33c]
cmp ecx, edi
jle 0x476194
mov eax, dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
cmp eax, dword [esi + 8]
cmovg ecx, edi
mov dword [ebp - 0x33c], ecx
mov eax, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x324]
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
mov eax, dword [ebp - 0x300]
cmovl edx, edi
inc edi
mov dword [ebp - 0x324], edx
cmp edi, eax
jl 0x476060
mov ecx, dword [ebp - 0x314]
add eax, eax
mov eax, dword [ecx + eax*8 - 8]
cmp dword [esi + 0x10], eax
jle 0x4761f9
movups xmm0, xmmword [esi + 8]
push 5
movups xmmword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x2a4], eax
call fcn.00413570
add esp, 4
push eax
lea eax, [ebp - 0x2a4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push 0x15
call fcn.00413540
add esp, 4
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push dword [esi]
mov dword [ebp - 0x31c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x30]
mov dword [ebp - 0x350], eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x31
mov dword [ebp - 0x34c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
mov dword [ebp - 0x338], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, ebx
mov dword [ebp - 0x340], eax
call fcn.0047ac10
mov edi, dword [ebp - 0x330]
mov ecx, eax
push edi
call fcn.004789e0
mov ecx, eax
mov eax, edi
imul eax, dword [ebp - 0x318]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x318]
test ecx, ecx
je 0x476ad9
test byte [ecx + 0x20], 1
je 0x4762c9
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx + 8]
jne 0x4762b2
push 0xe
call fcn.00413540
add esp, 4
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
jmp 0x4762de
push 8
call fcn.00413540
add esp, 4
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xa
jmp 0x4762de
push 8
call fcn.00413540
add esp, 4
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call fcn.00413540
add esp, 4
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 - 0x33c]
mov edi, eax
mov dword [ebp - 0x2fc], eax
cmp eax, dword [ebp - 0x324]
jg 0x47647e
lfence
nop word [eax + eax]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x314]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x30c]
mov edx, dword [edx + 8]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x318]
add eax, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], eax
test edi, edi
jle 0x476369
cmp edx, dword [ebx + 0x90]
jle 0x47646b
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x348]
call dword [sym.imp.GDI32.dll_RectInRegion]
test eax, eax
je 0x47646b
mov dword [ebp - 0x328], 0
movups xmm0, xmmword [ebp - 0x240]
movups xmmword [ebp - 0x220], xmm0
test edi, edi
jne 0x4763cb
mov eax, dword [ebx + 0x90]
cmp dword [ebp - 0x238], eax
jl 0x4763f7
dec eax
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [ebp - 0x328], eax
push eax
jmp 0x4763f9
jle 0x4763f7
mov eax, dword [ebx + 0x90]
cmp dword [ebp - 0x240], eax
jge 0x4763f7
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [ebp - 0x328], eax
push eax
jmp 0x4763f9
push 0
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebx + 0x30]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x304]
mov ebx, dword [ecx + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp - 0x2fc]
lea eax, [edx + eax*4]
lea edx, [ebp - 0x240]
mov dword [ebp - 0x320], eax
push edx
push dword [ecx + 0x20]
push dword [eax]
push dword [esi]
push ecx
mov ecx, edi
call dword [0x4dc8a4]
mov ecx, ebx
call edi
test al, al
je 0x4764a4
mov eax, dword [ebp - 0x328]
test eax, eax
je 0x47645f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x2fc]
mov ebx, dword [ebp - 0x308]
inc edi
mov dword [ebp - 0x2fc], edi
cmp edi, dword [ebp - 0x324]
jle 0x476320
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x476a79
mov eax, dword [ecx + 0x20]
shr eax, 4
test al, 1
je 0x476a79
mov ecx, edx
jmp 0x476aa6
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 - 0x2f4], eax
call dword [sym.imp.GDI32.dll_GetBkMode]
mov ebx, dword [ebp - 0x308]
mov edx, dword [ebp - 0x320]
mov edi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebx + 0x74]
add eax, dword [ebp - 0x23c]
add edi, dword [ebx + 0x6c]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x238]
sub eax, dword [ebx + 0x6c]
cmp dword [edx], 0
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
jne 0x47674d
sub ecx, dword [ebp - 0x23c]
sub eax, edi
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [esi]
mov dword [ebp - 0x320], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x320]
mov edi, eax
push edi
mov dword [ebp - 0x334], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
call fcn.00413570
add esp, 4
push eax
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebp - 0x2f8]
call fcn.004757c0
imul eax, dword [ebx + 0x78]
mov edx, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x2f0]
add ecx, eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x32c], eax
test al, 0x40
je 0x476643
mov edx, dword [ebp - 0x2e4]
mov eax, edx
sub eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x210], edx
cmp eax, 0x24
jl 0x4765d9
cdq
sub eax, edx
mov edx, dword [ebp - 0x210]
mov edi, eax
sar edi, 1
jmp 0x4765de
mov edi, 0x11
sub edx, edi
mov dword [ebp - 0x2e0], ecx
sub edx, dword [ebp - 0x2ec]
add ecx, edi
mov eax, edx
mov dword [ebp - 0x2d8], ecx
cdq
mov ecx, ebx
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2dc], eax
add eax, edi
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2e0]
push eax
mov eax, dword [ebp - 0x32c]
shr eax, 4
not al
and al, 1
movzx eax, al
push eax
push dword [ebp - 0x334]
push dword [ebx + 8]
call fcn.00476c00
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ebp - 0x2f8]
add ecx, dword [ebp - 0x338]
cmp dword [ebx + 0x38], 0
mov dword [ebp - 0x2f0], ecx
je 0x476703
mov ebx, dword [edx + 4]
mov dword [ebp - 0x210], 0
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x210]
push eax
push edx
mov ecx, edi
call dword [0x4dc8a4]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x210]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x2ec]
sub eax, dword [ebp - 0x340]
cdq
sub eax, edx
shl ebx, 8
mov edi, eax
sar edi, 1
add edi, dword [ebp - 0x2ec]
push 5
call fcn.00413540
add esp, 4
push ebx
mov ebx, dword [ebp - 0x334]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x340]
push dword [ebp - 0x338]
push edi
push dword [ebp - 0x2f0]
mov edi, dword [ebp - 0x308]
push ebx
push dword [ebp - 0x32c]
push dword [edi + 0x38]
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebp - 0x2f0]
add eax, dword [ebp - 0x338]
add ecx, eax
mov dword [ebp - 0x2f0], ecx
jmp 0x476709
mov ebx, dword [ebp - 0x334]
push 0xcc0020
push 0
push 0
push ebx
push dword [ebp - 0x284]
push ecx
push dword [ebp - 0x23c]
push dword [ebp - 0x290]
push dword [esi]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x2f0]
push dword [ebp - 0x320]
add dword [ebp - 0x290], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x294], 0x104
mov ebx, dword [ecx + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x2fc]
push dword [edx + eax*4]
push ecx
mov ecx, edi
call dword [0x4dc8a4]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x2fc]
mov edi, eax
mov eax, dword [ebp - 0x310]
push dword [eax + ebx*4]
lea eax, [ebp - 0x290]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x310]
movups xmm0, xmmword [ebp - 0x290]
mov eax, dword [eax + ebx*4]
or eax, 0x400
push eax
lea eax, [ebp - 0x260]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
movups xmmword [ebp - 0x260], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x310]
test byte [eax + ebx*4], 2
je 0x476809
mov eax, dword [ebp - 0x288]
sub eax, dword [ebp - 0x258]
push 0
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0x328]
test edi, edi
je 0x476854
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 - 0x258]
mov edi, dword [ebp - 0x218]
cmp ecx, edi
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x220]
cmovg ecx, edi
cmp edx, eax
mov dword [ebp - 0x258], ecx
cmovl edx, eax
mov dword [ebp - 0x260], edx
jmp 0x47686c
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x214]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x228], edi
mov edi, dword [ebp - 0x2fc]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x264], ebx
mov ebx, dword [ebp - 0x308]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], ecx
test edi, edi
jne 0x47693f
mov eax, dword [ebx + 0x6c]
add eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x248], eax
mov eax, dword [ebx + 0x90]
dec eax
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x2a4]
push 2
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_Polyline]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x280]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x270]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x250]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [ebp - 0x280]
cmp eax, dword [ebp - 0x278]
jge 0x4769c4
mov eax, dword [ebp - 0x27c]
cmp eax, dword [ebp - 0x274]
jge 0x4769c4
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x280]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x268]
jge 0x4769f5
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x264]
jge 0x4769f5
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x270]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
test edi, edi
je 0x476a01
mov eax, dword [ebp - 0x2f4]
jmp 0x476a0b
push 5
call fcn.00413570
add esp, 4
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [ebp - 0x248]
jge 0x476a37
mov ecx, dword [ebp - 0x24c]
cmp ecx, dword [ebp - 0x244]
jge 0x476a37
push eax
lea eax, [ebp - 0x250]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x228]
jge 0x476a68
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x224]
jge 0x476a68
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x2f4]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x47646b
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x476a84
mov ecx, eax
jmp 0x476aa6
mov eax, dword [ecx + 8]
test eax, eax
je 0x476aa4
nop dword [eax + eax]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2f8], ecx
test ecx, ecx
jne 0x476aac
mov eax, dword [eax + 8]
test eax, eax
jne 0x476a90
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov edi, dword [ebp - 0x330]
mov eax, dword [ebp - 0x318]
inc edi
add dword [ebp - 0x30c], eax
mov dword [ebp - 0x330], edi
cmp edi, dword [ebp - 0x344]
jle 0x476282
mov ecx, dword [ebp - 0x344]
jmp 0x476adc
lea ecx, [edi - 1]
mov edx, dword [ebp - 0x314]
inc ecx
imul ecx, eax
add ecx, dword [edx + 0xc]
lea eax, [ecx - 1]
cmp dword [esi + 0x14], eax
jle 0x476b6e
mov edi, dword [ebp - 0x300]
movups xmm0, xmmword [esi + 8]
add edi, edi
push 5
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x22c], ecx
mov eax, dword [edx + edi*8 - 8]
mov dword [ebp - 0x228], eax
call fcn.00413570
add esp, 4
push eax
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx + 0x90]
mov ebx, dword [ebp - 0x31c]
dec eax
push ebx
push dword [esi]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
lea eax, [ebp - 0x230]
push 2
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_Polyline]
push edi
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x476b74
mov ebx, dword [ebp - 0x31c]
push dword [ebp - 0x34c]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x350]
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x314]
call fcn.004a71f6
push dword [ebp - 0x304]
call fcn.004a71f6
push dword [ebp - 0x310]
call fcn.004a71f6
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 8
push 5
call fcn.00413570
add esp, 4
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.004a71aa
mov esp, ebp
pop ebp
ret 8