Function at 0x404c10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4bc1dc]
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 - 0x304], 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 - 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 - 0x2fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebx + 0x38], 0
je 0x404c8e
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2fc]
cmp ecx, eax
cmovl ecx, eax
jmp 0x404c94
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [ebx + 0x68]
add eax, ecx
mov dword [ebp - 0x310], 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]
lea ecx, [eax + 1]
mov eax, dword [esi + 0xc]
sub eax, edi
mov dword [ebp - 0x2ec], ecx
cdq
idiv dword [ebp - 0x310]
mov dword [ebp - 0x314], eax
mov eax, dword [esi + 0x14]
sub eax, edi
xor edi, edi
cdq
idiv dword [ebp - 0x310]
mov edx, eax
mov eax, dword [ebp - 0x314]
test eax, eax
mov dword [ebp - 0x330], edx
cmovs eax, edi
mov dword [ebp - 0x314], eax
test ecx, ecx
je 0x40595a
cmp eax, edx
jg 0x40595a
mov eax, dword [ebp - 0x2ec]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046efa9
mov ecx, dword [ebp - 0x2ec]
add esp, 4
dec ecx
mov dword [ebp - 0x2f8], eax
mov dword [eax], edi
lea edi, [eax + 4]
push edi
push ecx
push 0x1211
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2ec]
mov eax, 1
lea ecx, [edx - 1]
cmp edx, eax
jle 0x404dd8
cmp ecx, 8
jb 0x404dc5
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x404d84
dec ecx
or ecx, 0xfffffff8
inc ecx
movdqa xmm1, xmmword [0x490cc0]
mov dword [ebp - 0x31c], ecx
mov ecx, edx
sub ecx, dword [ebp - 0x31c]
lea ebx, [ebx]
movdqu xmm0, xmmword [edi]
add eax, 8
lea edi, [edi + 0x20]
paddd xmm0, xmm1
movdqu xmmword [edi - 0x20], xmm0
movdqu xmm0, xmmword [edi - 0x10]
paddd xmm0, xmm1
movdqu xmmword [edi - 0x10], xmm0
cmp eax, ecx
jl 0x404da0
cmp eax, edx
jge 0x404dd8
mov ecx, dword [ebp - 0x2f8]
nop
inc dword [ecx + eax*4]
inc eax
cmp eax, edx
jl 0x404dd0
xor ecx, ecx
mov eax, edx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046efa9
mov dword [ebp - 0x308], eax
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046efa9
mov dword [ebp - 0x300], eax
add esp, 8
mov eax, dword [ebp - 0x2ec]
xor edi, edi
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x318], 0
test eax, eax
jle 0x404f9e
jmp 0x404e40
mov ecx, dword [ebp - 0x2f8]
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x308]
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ecx + edi*4]
push eax
test ecx, ecx
jne 0x404e7e
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 0x404e9e
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 0x404f06
cmp byte [ebx + 0x9c], 0
je 0x404f06
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
movdqu 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 0x404f06
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 0x404f56
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 4
push eax
mov eax, dword [ebp - 0x2f8]
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 - 0x2a4], 1
je 0x404f56
mov eax, dword [ebp - 0x300]
or dword [eax + edi*4], 2
mov ecx, dword [ebp - 0x32c]
cmp ecx, edi
jle 0x404f75
mov eax, dword [ebp - 0x2f4]
mov eax, dword [eax + 8]
cmp eax, dword [esi + 8]
cmovg ecx, edi
mov dword [ebp - 0x32c], ecx
mov eax, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x318]
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
mov eax, dword [ebp - 0x2ec]
cmovl edx, edi
inc edi
mov dword [ebp - 0x318], edx
cmp edi, eax
jl 0x404e40
mov ecx, dword [ebp - 0x308]
shl eax, 4
add ecx, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x354], eax
mov eax, dword [eax]
cmp dword [esi + 0x10], eax
jle 0x404fe4
movdqu xmm0, xmmword [esi + 8]
push 5
movdqu 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 edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esi]
mov dword [ebp - 0x31c], eax
call edi
push dword [ebx + 0x30]
mov dword [ebp - 0x350], eax
push dword [esi]
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov dword [ebp - 0x340], eax
call edi
push 0x32
mov dword [ebp - 0x324], eax
call edi
mov ecx, ebx
mov dword [ebp - 0x33c], eax
call fcn.004096b0
mov edi, dword [ebp - 0x314]
mov ecx, eax
push edi
call fcn.00407810
mov ecx, edi
mov dword [ebp - 0x2f0], eax
imul ecx, dword [ebp - 0x310]
mov dword [ebp - 0x2fc], ecx
nop
test eax, eax
je 0x405868
test byte [eax + 0x20], 1
je 0x4050a1
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, dword [ebx + 8]
jne 0x405090
push 0xe
call edi
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
jmp 0x4050b6
push 8
call edi
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xa
jmp 0x4050b6
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
call edi
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call edi
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 - 0x32c]
mov edi, eax
mov dword [ebp - 0x2ec], eax
cmp eax, dword [ebp - 0x318]
jg 0x405237
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x308]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x2fc]
mov edx, dword [edx + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x310]
add eax, ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], eax
test edi, edi
jle 0x40512e
cmp edx, dword [ebx + 0x90]
jle 0x405224
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x348]
call dword [sym.imp.GDI32.dll_RectInRegion]
test eax, eax
je 0x405224
movdqu xmm0, xmmword [ebp - 0x23c]
mov eax, dword [ebp - 0x2ec]
xor edi, edi
mov dword [ebp - 0x328], edi
movdqu xmmword [ebp - 0x21c], xmm0
test eax, eax
jne 0x405198
mov eax, dword [ebx + 0x90]
cmp dword [ebp - 0x234], eax
jl 0x4051b0
dec eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov edi, eax
mov dword [ebp - 0x328], edi
push edi
jmp 0x4051b2
jle 0x4051b0
mov eax, dword [ebx + 0x90]
cmp dword [ebp - 0x23c], eax
jge 0x4051b0
mov dword [ebp - 0x21c], eax
jmp 0x405180
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 eax, dword [ebp - 0x2f0]
lea ebx, [ebp - 0x23c]
push ebx
mov ebx, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x2ec]
push dword [ebx + 0x20]
mov ebx, dword [ebp - 0x2f8]
lea edx, [eax*4]
mov eax, dword [ecx]
mov dword [ebp - 0x2f4], edx
push dword [edx + ebx]
push dword [esi]
mov eax, dword [eax + 0x10]
push dword [ebp - 0x2f0]
call eax
mov ebx, dword [ebp - 0x304]
test al, al
je 0x405263
test edi, edi
je 0x40521e
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x2ec]
inc edi
mov dword [ebp - 0x2ec], edi
cmp edi, dword [ebp - 0x318]
jle 0x4050e5
mov edx, dword [ebp - 0x2f0]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x405813
mov eax, dword [edx + 0x20]
shr eax, 4
test al, 1
je 0x405813
mov eax, ecx
mov dword [ebp - 0x2f0], ecx
jmp 0x405836
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 - 0x30c], eax
call dword [sym.imp.GDI32.dll_GetBkMode]
mov eax, dword [ebx + 0x74]
add eax, dword [ebp - 0x238]
mov edi, dword [ebp - 0x23c]
add edi, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x234]
sub eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x2f8]
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], ecx
cmp dword [edx + ebx], 0
mov ebx, dword [ebp - 0x304]
jne 0x4054f8
sub ecx, dword [ebp - 0x238]
sub eax, edi
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 - 0x334], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x334]
mov edi, eax
push edi
mov dword [ebp - 0x338], edi
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 edi
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebp - 0x2f0]
call fcn.00404630
imul eax, dword [ebx + 0x78]
mov edx, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2e8]
add ecx, eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x320], eax
test al, 0x40
je 0x4053fe
mov ecx, dword [ebp - 0x2dc]
mov edi, 0x11
mov ebx, dword [ebp - 0x2e4]
mov eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
cmovg edi, eax
sub ecx, edi
sub ecx, ebx
mov eax, ecx
mov ecx, dword [ebp - 0x2e8]
cdq
sub eax, edx
mov dword [ebp - 0x2d8], ecx
sar eax, 1
add ecx, edi
add eax, ebx
mov dword [ebp - 0x2d0], ecx
mov ebx, dword [ebp - 0x304]
mov ecx, ebx
mov dword [ebp - 0x2d4], eax
add eax, edi
mov edi, dword [ebp - 0x338]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2d8]
push eax
mov eax, dword [ebp - 0x320]
shr eax, 4
not al
and al, 1
movzx eax, al
push eax
push edi
push dword [ebx + 8]
call fcn.00405990
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ebp - 0x2f0]
add ecx, dword [ebp - 0x324]
cmp dword [ebx + 0x38], 0
mov dword [ebp - 0x2e8], ecx
je 0x4054ae
mov ecx, dword [edx + 4]
lea edi, [ebp - 0x320]
mov dword [ebp - 0x320], 0
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x320]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x2dc]
sub eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x33c]
cdq
shl ebx, 8
sub eax, edx
push ebx
mov edi, eax
push 0xffffffffffffffff
sar edi, 1
add edi, dword [ebp - 0x2e4]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp - 0x304]
push eax
push dword [ebp - 0x33c]
push dword [ebp - 0x324]
push edi
push dword [ebp - 0x2e8]
mov edi, dword [ebp - 0x338]
push edi
push dword [ebp - 0x344]
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 - 0x324]
add ecx, eax
mov dword [ebp - 0x2e8], ecx
push 0xcc0020
push 0
push 0
push edi
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 - 0x334]
add dword [ebp - 0x27c], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x2f4]
mov edi, dword [ebp - 0x2f0]
lea ebx, [ebp - 0x34c]
push ebx
lea ebx, [ebp - 0x20c]
mov dword [ebp - 0x34c], 0x104
push ebx
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x2f8]
mov eax, dword [ecx]
push dword [edx + ebx]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x300]
mov edi, eax
mov eax, dword [ebp - 0x2f4]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push dword [eax + ecx]
lea eax, [ebp - 0x27c]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
call ebx
mov ecx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x2f4]
movdqu xmm0, xmmword [ebp - 0x27c]
mov eax, dword [eax + ecx]
or eax, 0x400
push eax
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
movdqu xmmword [ebp - 0x24c], xmm0
call ebx
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x300]
test byte [eax + ecx], 2
je 0x4055ae
mov eax, dword [ebp - 0x274]
sub eax, dword [ebp - 0x244]
push 0
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0x328]
test edi, edi
je 0x4055fb
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 - 0x244]
cmp ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x24c]
cmovg ecx, dword [ebp - 0x214]
mov edi, dword [ebp - 0x21c]
cmp edx, edi
mov dword [ebp - 0x244], ecx
cmovl edx, edi
mov dword [ebp - 0x24c], edx
jmp 0x40560d
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ebp - 0x24c]
cmp dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x210]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x25c], edi
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x28c], edx
mov edx, ebx
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x224], edi
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ebx
mov ebx, dword [ebp - 0x304]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], edx
jne 0x4056e3
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebp - 0x218]
add eax, edi
mov dword [ebp - 0x254], eax
mov eax, dword [ebx + 0x90]
dec eax
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x29c]
push 2
push eax
push dword [esi]
mov dword [ebp - 0x290], edx
call dword [sym.imp.GDI32.dll_Polyline]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x26c]
push eax
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x28c]
push eax
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x25c]
push eax
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
push eax
call edi
mov eax, dword [ebp - 0x26c]
mov edi, dword [ebp - 0x30c]
cmp eax, dword [ebp - 0x264]
jge 0x40575f
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x260]
jge 0x40575f
push edi
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 0x40578b
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x280]
jge 0x40578b
push edi
lea eax, [ebp - 0x28c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [ebp - 0x2ec]
test edi, edi
je 0x40579d
mov eax, dword [ebp - 0x30c]
jmp 0x4057a5
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp - 0x25c]
cmp ecx, dword [ebp - 0x254]
jge 0x4057d1
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [ebp - 0x250]
jge 0x4057d1
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x224]
jge 0x405802
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x220]
jge 0x405802
push dword [ebp - 0x30c]
lea eax, [ebp - 0x22c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x30c]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x405224
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x405830
mov eax, dword [edx + 8]
test eax, eax
je 0x40582e
cmp dword [eax + 0x10], 0
jne 0x405863
mov eax, dword [eax + 8]
test eax, eax
jne 0x405821
xor eax, eax
mov dword [ebp - 0x2f0], eax
mov edi, dword [ebp - 0x314]
mov ecx, dword [ebp - 0x310]
inc edi
add dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x314], edi
cmp edi, dword [ebp - 0x330]
jle 0x405060
mov eax, dword [ebp - 0x330]
jmp 0x40586b
mov eax, dword [eax + 0x10]
jmp 0x405830
lea eax, [edi - 1]
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x308]
imul ecx, dword [ebp - 0x310]
mov eax, dword [eax + 0xc]
dec eax
add eax, ecx
cmp dword [esi + 0x14], eax
jle 0x4058fd
movdqu xmm0, xmmword [esi + 8]
inc eax
push 5
movdqu xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x354]
mov eax, dword [eax]
mov dword [ebp - 0x224], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x22c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx + 0x90]
push dword [ebp - 0x31c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
dec eax
push dword [esi]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], eax
call ebx
mov edi, eax
lea eax, [ebp - 0x22c]
push 2
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_Polyline]
push edi
push dword [esi]
call ebx
jmp 0x405903
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x340]
push dword [esi]
call ebx
push dword [ebp - 0x350]
push dword [esi]
call ebx
push dword [ebp - 0x31c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x308]
call fcn.0047017a
push dword [ebp - 0x2f8]
call fcn.0047017a
push dword [ebp - 0x300]
call fcn.0047017a
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8ce
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.0046f8ce
mov esp, ebp
pop ebp
ret 8