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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebx + 0xd0]
sub esp, 0x48
test eax, eax
push esi
lea esi, [ebx + 0xcc]
push edi
mov edi, dword [ebx + 0x7c]
je 0x427b3a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427b3f
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x18], 2
jne 0x427d14
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
mov dword [esp + 8], eax
je 0x427dec
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x427b92
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427b97
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0xc]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x20], edx
je 0x427bd0
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427bd5
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0x10]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x24], edx
je 0x427c0e
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427c13
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], edx
je 0x427c4b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427c50
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [esp + 0xc]
add edx, dword [eax + 0xc]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x28], edx
je 0x427c90
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427c95
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [ebx + 0x7c]
lea eax, [edx + ecx*4]
mov dword [esp + 0xc], eax
mov eax, edx
test eax, eax
je 0x427ccd
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427cd2
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x10]
mov edx, dword [esp + 8]
mov ecx, dword [ebx + 0x9c]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x427dec
cmp dword [ebx + 0xa0], 0
je 0x427dec
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x427d47
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427d4c
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x18], 3
jne 0x427dec
mov edx, dword [ebx + 0xa0]
mov edi, dword [ebx + 0x7c]
push 0xcc0020
push 0
push 0
push edx
call fcn.00428c80
mov eax, dword [eax + 8]
mov edi, dword [ebx + 0x7c]
push eax
call fcn.00428c80
mov ecx, dword [eax + 4]
mov edi, dword [ebx + 0x7c]
push ecx
call fcn.00428c80
mov edx, dword [eax + 0x10]
mov edi, dword [ebx + 0x7c]
push edx
call fcn.00428c80
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x9c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xa0]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0xa0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebx + 0xa4]
xor edi, edi
push edx
mov dword [ebx + 0xa0], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xa4], edi
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x428763
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x427e20
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427e25
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
cmp dword [edx + ecx*4], 0
je 0x4286e2
mov edi, dword [ebx + 0x7c]
mov eax, edx
test eax, eax
je 0x427e60
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427e65
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x18], 3
jne 0x428071
mov edx, dword [ebx + 0x9c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebx + 0x7c]
mov dword [ebx + 0xa0], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x427eb5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427eba
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], edx
je 0x427ef2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427ef7
call fcn.0046ecbd
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xc]
lea eax, [edi*8]
sub eax, edi
lea eax, [ecx + eax*4]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x9c]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
mov dword [ebx + 0xa4], eax
je 0x428071
test eax, eax
je 0x428071
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebx + 0x7c]
mov dword [ebx + 0xa8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x427f6f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427f74
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [ebx + 0x7c]
lea eax, [edx + ecx*4]
mov dword [esp + 0xc], eax
mov eax, edx
test eax, eax
je 0x427fac
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427fb1
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [ebx + 0x7c]
lea eax, [edx + ecx*4]
mov dword [esp + 8], eax
mov eax, edx
test eax, eax
je 0x427fe9
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x427fee
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [ebx + 0x7c]
lea eax, [edx + ecx*4]
mov dword [esp + 0x10], eax
mov eax, edx
test eax, eax
je 0x428026
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42802b
call fcn.0046ecbd
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
mov edx, dword [ebx + 0x9c]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [esi + 4]
push edx
push ecx
lea edx, [edi*8]
sub edx, edi
mov ecx, dword [eax + edx*4 + 4]
mov edx, dword [ebx + 0xa0]
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x428097
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42809c
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x4280de
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4280e3
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x428125
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42812a
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 8], edx
je 0x428162
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428167
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0x10], edx
je 0x42819f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4281a4
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], edx
je 0x4281dc
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4281e1
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x428219
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42821e
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov edi, ecx
push 0
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
neg edi
push edi
mov edi, dword [esp + 0x20]
push edi
push ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
push 0
push ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
push ecx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x10]
push ecx
mov ecx, dword [ebx + 0x9c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [edx + 0x20]
push eax
call ecx
test eax, eax
jne 0x428283
mov edx, dword [ebx + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x428763
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x4282b7
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4282bc
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
cmp dword [edx + ecx*4 + 0x14], 5
jae 0x4282da
mov eax, dword [ebx + 0xb8]
push 0x64
push eax
jmp 0x428322
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x428300
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428305
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov eax, dword [edx + ecx*4 + 0x14]
mov ecx, dword [ebx + 0xb8]
lea eax, [eax + eax*4]
add eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebx + 0x94]
test edx, edx
jne 0x428763
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x42835c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428361
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x18], 2
jne 0x428536
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
mov dword [esp + 8], eax
je 0x4286e2
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x4283b4
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4283b9
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0xc]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x30], edx
je 0x4283f2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4283f7
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0x10]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x34], edx
je 0x428430
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428435
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebx + 0x7c]
lea edx, [ecx + eax*4]
mov eax, ecx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x42846d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428472
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [esp + 0x1c]
add edx, dword [eax + 0xc]
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
mov dword [esp + 0x38], edx
je 0x4284b2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4284b7
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [ebx + 0x7c]
lea eax, [edx + ecx*4]
mov dword [esp + 0x1c], eax
mov eax, edx
test eax, eax
je 0x4284ef
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4284f4
call fcn.0046ecbd
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx + 0x10]
mov edx, dword [esp + 8]
mov ecx, dword [ebx + 0x9c]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4286e2
cmp dword [ebx + 0xa0], 0
je 0x4286e2
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x428569
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42856e
call fcn.0046ecbd
mov ecx, dword [esi + 4]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x18], 3
jne 0x4286e2
mov edi, dword [ebx + 0x7c]
mov eax, ecx
test eax, eax
je 0x4285aa
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4285af
call fcn.0046ecbd
mov eax, dword [esi + 4]
lea edx, [edi*8]
sub edx, edi
test eax, eax
mov edi, dword [ebx + 0x7c]
lea ecx, [eax + edx*4]
mov dword [esp + 0x1c], ecx
je 0x4285e5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4285ea
call fcn.0046ecbd
mov eax, dword [esi + 4]
lea edx, [edi*8]
sub edx, edi
test eax, eax
mov edi, dword [ebx + 0x7c]
lea ecx, [eax + edx*4]
mov dword [esp + 0x10], ecx
je 0x428620
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428625
call fcn.0046ecbd
mov eax, dword [esi + 4]
lea edx, [edi*8]
sub edx, edi
test eax, eax
mov edi, dword [ebx + 0x7c]
lea ecx, [eax + edx*4]
mov dword [esp + 0xc], ecx
je 0x42865b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x428660
call fcn.0046ecbd
mov edx, dword [ebx + 0xa0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
push eax
push edx
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*4 + 0xc]
mov eax, dword [ebx + 0x9c]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 0xa8]
mov edx, dword [ebx + 0xa0]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0xa0]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebx + 0xa4]
xor edi, edi
push ecx
mov dword [ebx + 0xa0], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xa4], edi
add dword [ebx + 0x7c], 1
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [ebx + 0x7c]
je 0x428708
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jne 0x428755
mov edx, dword [ebx + 0x78]
push edx
mov dword [ebx + 0x7c], 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x428755
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x70]
push edi
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x9c]
push edx
push eax
mov dword [esp + 0x58], ecx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x94]
test ecx, ecx
je 0x427dfa
pop edi
pop esi
mov esp, ebp
pop ebp
ret